/* NAVIGATION BAR */ 
/* Style the navbar container */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--Cream);
    border-bottom: 1px solid var(--DeepNavy);
    padding: 10px 20px; /* Spacing inside the navbar - top, right, bottom, left */
    display: flex;
    align-items: justify;                 /* arranges items vertically */
    justify-content: space-between;      /* Pushes logo to left and links to right */
    height: 64px;
  }
 
/* Style the logo text */
.navbar .logo a {
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--DeepNavy);
    letter-spacing: -0.01em;
    text-decoration: none;      /* Removes default underline */
  }
 
/* Style the horizontal list container */
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;  /* Removes list item bullet points */
  }
 
/* Style the text inside the navigation links */
.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--DeepNavy);
    text-decoration: none;       /* Removes default underline */
    transition: color 0.2s ease; /* Smooth hover animation */
  }
 
/* Add a hover effect to change text colour when moused over */
  .nav-links a:hover { color: var(--Rose); }
 
/* Add spacing between links */
.nav-links li {
    position:relative;
    /*margin-left: 20px;*/
}

/* Style the navigation bar text containers */
  .nav-cta {
    background: var(--LightBlue);
    color: var(--Cream) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    font-size: 0.8125rem !important;
    letter-spacing: 0.06em !important;
    transition: background 0.2s !important;
  }
 
  .nav-cta:hover { background: var(--DeepNavy) !important; color: var(--Cream) !important; }

/* --- Dropdown Specific Styling --- */

/* Hide the dropdown menu by default */
.dropdown-menu {
    display: none;
    position: absolute;  /* Floats the menu underneath the trigger */
    top: 100%;           /* Places it directly below the navbar */
    left: 0;
    background-color: var(--LightBlue);
    list-style: none;
    padding: 5px;
    margin: 0;
    min-width: 160px;    /* Sets a minimum width for the menu */
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  }
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  /* Style the links inside the dropdown */
  .dropdown-menu a {
    text-align: left;
    padding: 0;
  }
  
  .dropdown-menu a:hover {
    background-color: var(--LightBlue);
  }

  /* FOOTER */
footer {
  background: var(--DeepNavy);
  color: var(--Cream);
  padding: 3rem clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--Cream);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 0.875rem;
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: flex-end;     /* Center vertically */
  justify-content: flex-end;
  
}

.footer-links li {

  align-self: self-end;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--Cream);
  text-decoration: none;
  letter-spacing: 0.06em;
  font-weight: 300;
  transition: color 0.2s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--coral-light);
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-wash {
    min-height: 300px;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-wash {
    min-height: 220px;
  }

  .nav-links {
    display: none;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
}