@ -1,345 +1,361 @@
/*
  Global styles and layout definitions for the Patios Miami website.
  This stylesheet defines a clean, modern look and ensures the site
  remains responsive on a wide range of devices. Colour variables
  centralise the palette for easier adjustments later.
*/

/* Colour palette */
:root {
  --primary-color: #003f5c;
  --secondary-color: #2f4b7c;
  --accent-color: #ffa600;
  --background-color: #f7f7f7;
  --text-color: #333;
  --light-text-color: #fff;
  --link-hover-color: #ffa600;
}

/* Reset default margins and paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', 'Lato', Arial, Helvetica, sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Navbar styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--light-text-color);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--link-hover-color);
}

/* Navigation toggle for mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  height: 3px;
  width: 100%;
  background-color: var(--light-text-color);
  border-radius: 2px;
}

/* Hero section */
.hero {
  background-image: url("images/IMG-20250810-WA0011.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Remove static background image, use video instead */
  padding: 6rem 2rem;
  color: var(--light-text-color);
  text-align: center;
  position: relative;
}

  .hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
  }

  .hero-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
  }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Montserrat', 'Lato', Arial, Helvetica, sans-serif;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.2rem;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
  /* Provide a slightly darker accent colour on hover. */
  background-color: #e59400;
}

/* Features section */
.features {
  padding: 4rem 2rem;
  background-color: var(--background-color);
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover,
.feature-item:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text-color);
}

/* Gallery section */
.gallery {
  padding: 4rem 2rem;
  background-color: var(--background-color);
  text-align: center;
}

.gallery h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-grid figure {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s, transform 0.3s;
}

.gallery-grid figure:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: scale(1.03);
}

.gallery-grid figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-color);
  font-family: 'Lato', Arial, Helvetica, sans-serif;
}

/* Contact section */
.contact {
  padding: 4rem 2rem;
  background-color: var(--background-color);
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

#contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contact-form label {
  font-weight: bold;
  text-align: left;
}

#contact-form input,
#contact-form textarea {
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 63, 92, 0.1);
}

.submit-button {
  align-self: start;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover,
.submit-button:focus {
  background-color: var(--secondary-color);
}

#form-response {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.hidden {
  display: none;
}

/* Footer */
footer {
  padding: 1.5rem 2rem;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  text-align: center;
}

/* Responsive navigation: collapse into burger menu on small screens */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    width: 200px;
    border-bottom-left-radius: 8px;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  

/* ---- Custom Enhancements (August 2025) ---- */

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Accent line under section headings */
section > h2 {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

section > h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Enhanced hero overlay for better contrast */
.hero::before {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

/* CTA button styling (hero link) */
.btn {
  background-color: var(--accent-color);
  color: var(--light-text-color);
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover,
.btn:focus {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-decoration: none;
}

/* Gallery image hover effect */
.gallery-grid figure {
  overflow: hidden;
}

.gallery-grid figure img {
  transition: transform 0.5s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

/* Contact form focus states */
#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 166, 0, 0.3);
}

/* Testimonials section */
.testimonials {
  background-color: var(--background-color);
  padding: 4rem 0;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-item {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-color);
}
}
}
