   /**************************************************************
	**															**
	**			Author: Ethan Luu 										**
	**			Date: 5/21/26 											**
	**			Project Name: HTS Website 									**
	**															**
	**															**
	**************************************************************/
	
:root {  
  --deep_navy: #1b2d3d;
  --steel_blue: #264359;
  --bright_blue: #0066cc;
  --soft_blue: #75abdb;
  --charcoal: #343a40;
  --industrial_gray: #6c757d;
  --cool_gray: #e9ecef;
  --white: #ffffff;
  --rail_green: #2e7d32;
  --orange: #e67e22;
  --sand: #e1d8c8;
  --gold: #ffd900;
  --nav-height: 80px;
}

html { 
  height: 100%;
  margin: auto;
  width: 100%;
  scroll-behavior: smooth; 
}

body {
    background-color: var(--deep_navy);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-family: 'Lato', sans-serif;
    padding: 2rem;
    overflow-x: hidden;
    }

    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 100;
      opacity: 0.4;
    }

    header {
      text-align: center;
      margin: 10px auto;
      width: 100%;
    }

    header .eyebrow {
      font-family: 'Lato', sans-serif;
      font-weight: 300;
      font-size: 0.7rem;
      letter-spacing: 0.45em;
      text-transform: uppercase;
      color: var(--orange);
      margin-bottom: 0.4rem;
    }

    header h1 {
      font-family: 'Playfair Display', serif;
      font-weight: 400;
      font-size: clamp(2rem, 5vw, 3.5rem);
      color: var(--white);
      line-height: 1.1;
      padding: 30px;
    }

    header h1 em {
      font-style: italic;
      color: var(--bright_blue);
    }




/* --- Hero Container --- */
.hero-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  
  height: 100vh;
  min-height: 450px;
  max-height: 650px;
  margin-top: calc(var(--nav-height) - 2rem);
  
  /* Centers the text layout container */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  overflow: hidden; /* Keeps the absolute image inside the boundaries */
}

/* --- HTML Image Styling --- */
.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* This is the magic property that acts like 'background-size: cover' */
  object-fit: cover; 
  object-position: center;
  z-index: 1;
}

/* --- Dark Overlay Styling --- */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(108, 117, 125, 0.65); /* Matches your deep navy brand color */
  z-index: 2;
}

/* --- Text Content Styling --- */
.hero-content {
  position: relative;
  max-width: 800px;
  z-index: 3; /* Places text completely on top of image and overlay */
}

.hero-content .eyebrow {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 5.5vw, 3.8rem);
  color: var(--white);
  line-height: 1.2;
  margin: 0 auto;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-underline {
  border: none;
  height: 4px;
  width: 250px;
  margin: 20px auto 0 auto;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* --- Centered Button Wrapper Container --- */
.cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 0; /* Gives the button nice breathing room between sections */
}

.inquiry-service-link-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  /* Sizing & Spacing */
  padding: 14px 32px;
  margin-top: 28px;
  min-width: 200px;
  width: max-content;
  
  /* Branding & Typography */
  background-color: var(--gold); 
  color: var(--deep_navy);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  
  /* Smooth Aesthetics & Interaction */
  border: 2px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

/* Hover & Interaction States */
.inquiry-service-link-btn:hover {
  background-color: var(--deep_navy);
  color: var(--gold);
  box-shadow: 0 6px 20px rgba(255, 217, 0, 0.2);
  transform: translateY(-2px);
}

.inquiry-service-link-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}


@media (max-width: 900px) {
  .hero-section {
    height: 50vh;             /* Reduces the height profile so users see content sooner */
    min-height: 320px;        /* Prevents squishing text components */
    padding: 0 16px;
  }
  
  .hero-underline {
    width: 80px;              /* Shortens the line to match closer to smaller text widths */
    margin-top: 12px;
  }
}

/** Navigation **/

nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: var(--nav-height);
      background: #FEFEFE;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 4px solid var(--deep_navy);
      z-index: 1000;
      display: flex;
      padding: 0 40px;
      justify-content: space-between;
      align-items: center;
      padding: 0 5%;
    }

  .nav-links {
      display: flex;
      align-items: center;
      gap: 30px;
      list-style: none;
      margin-left: auto;
    }

    .nav-links a {
      color: var(--deep_navy);
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 8px 16px;
      border-radius: 4px;
      position: relative;
      transition: color 0.25s ease;
      white-space: nowrap;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 4px; left: 50%; right: 50%;
      height: 2px;
      background: var(--gold);
      transition: left 0.5s ease, right 0.5s ease;
    }
    .nav-links a:hover {
      color: var(--white);
      background-color: var(--deep_navy);
    }
    .nav-links a:hover::after {
      left: 16px; right: 16px;
    }

    .nav-cta {
      margin-left: 10px;
      background: var(--gold);
      color: #0e0e0e !important;
      font-weight: 500 !important;
      padding: 8px 20px !important;
      border-radius: 4px !important;
      transition: opacity 0.2s ease !important;
    }
    .nav-cta::after { display: none !important; }
    .nav-cta:hover { opacity: 0.85; color: #0e0e0e !important; }

  /* 1. Position the parent item relatively */
.nav-links .dropdown {
  position: relative;
}

/* 2. Hide the submenu by default and style its container */
.nav-links .submenu {
  position: absolute;
  top: 150%; /* Spawns directly underneath the parent item */
  left: -100%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--white); /* Slightly darker tone for contrast */
  min-width: 220px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Soft shadow for depth */
  
  /* Smooth Fade Effect */
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

/* 3. Style the links inside the submenu */
.nav-links .submenu a {
  display: block;
  padding: 10px 20px;
  color: var(--deep_navy);
  text-decoration: none;
  text-transform: none; /* Submenus look cleaner in standard sentence case */
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: background 0.5s ease, color 0.5s ease;
}

/* Hover state for submenu items */
.nav-links .submenu a:hover {
  background-color: var(--deep_navy);
  color: var(--white);
}

/* 4. Trigger state: Show menu and animate arrow on hover */
.nav-links .dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0); /* Slides up slightly into place */
}


    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px;
      height: 40px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 6px;
      border-radius: 4px;
      z-index: 1001;
    }
    .hamburger span {
      display: block;
      height: 2px;
      background: var(--deep_navy );
      border-radius: 2px;
      transform-origin: center;
      transition: transform 0.35s cubic-bezier(.4,0,.2,1),
                  opacity   0.25s ease,
                  width     0.35s ease;
    }
    .hamburger span:nth-child(1) { width: 26px; }
    .hamburger span:nth-child(2) { width: 20px; }
    .hamburger span:nth-child(3) { width: 26px; }

    #menu-toggle { display: none; }

    #menu-toggle:checked ~ .hamburger span:nth-child(1) {
      width: 24px;
      transform: translateY(7px) rotate(45deg);
    }
    #menu-toggle:checked ~ .hamburger span:nth-child(2) {
      opacity: 0;
      width: 0;
    }
    #menu-toggle:checked ~ .hamburger span:nth-child(3) {
      width: 24px;
      transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu {
      display: block;
      position: fixed;
      top: var(--nav-height);
      left: 0; right: 0;
      background: var(--white);
      border-bottom: 1px solid var(--deep_navy);
      padding: 0 24px;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.45s cubic-bezier(.4,0,.2,1), padding   0.35s ease;
      z-index:999;
    }

    #menu-toggle:checked ~ .mobile-menu {
      max-height: 500px;
      padding: 16px 24px 24px;
    }

    .mobile-menu ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .mobile-menu a {
      display: block;
      color: var(--deep_navy);
      text-decoration: none;
      font-size: 1rem;
      font-weight: 400;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 14px 12px;
      border-radius: 6px;
      transition: background 0.2s, color 0.2s;
    }
    .mobile-menu a:hover {
      background: var(--deep_navy);
      color: var(--white);
    }

    .mobile-menu .mobile-cta {
      display: block;
      margin-top: 12px;
      text-align: center;
      background: var(--gold);
      color: #0e0e0e;
      font-weight: 500;
      padding: 14px;
      border-radius: 6px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      text-decoration: none;
      font-size: 0.9rem;
      transition: opacity 0.2s;
    }
    .mobile-menu .mobile-cta:hover { opacity: 0.85; background: var(--gold); color: #0e0e0e; }

.logo img {
  height: var(--nav-height);
  width: auto;
  display: block;
  background-color: transparent;
  margin: 0 auto;
}

.phone{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.phone a{
  color: var(--deep_navy);
  text-decoration: none;
}

.phone a:hover{
  color: var(--soft_blue);
}

@media (max-width: 1000px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }
}

/* --- Inline Contact Page Call-to-Action Link --- */
.about-paragraph .contact-page {
  color: var(--white);
  font-weight: 700;
  background-color: var(--deep_navy);
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.25s ease-in-out;
}

/* Hover Interaction State */
.about-paragraph .contact-page:hover {
  color: var(--deep_navy);
  background-color: var(--gold); /* Turns into a solid badge on hover */
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
  transform: translateY(-5px);
}

.about-paragraph .contact-page:hover::after {
  left: 0;
  right: 0;
}

/* Active pressed state */
.about-paragraph .contact-page:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 102, 204, 0.2);
}



/** Homepage **/

.about-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center; /* Vertically centers text against the image */
}

.section-header {
  text-align: center;
  font-size: 32px;
  margin-bottom: 4px;
  color: var(--deep_navy);
}

.title-underline{
  border: none;
  height: 4px;
  max-width: 1200px;
  margin-top: 50px;
  /* Premium gradient line that fades out on both left and right edges */
  background: linear-gradient(to right, var(--soft_blue), transparent); 
}

.main-title-underline{
  border: none;
  height: 4px;
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
  /* Premium gradient line that fades out on both left and right edges */
  background: linear-gradient(to right, transparent, var(--soft_blue), transparent); 
}

/* Left Column Styling */
.about-text {
  grid-column: span 1;
  text-align: left; 
}

.about-text, .section-title{
  text-align: left;
}

.about-text, .title-underline{
  margin: 0;
}

/* Right Column Styling */
.about-image {
  grid-column: span 1; /* Takes up the other half of the space */
}

.about-image img{
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Premium, subtle elevation drop shadow */
  border-radius: 6px; /* Slight corporate rounded edge */
}

.about-paragraph {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

.section-divider {
  border: none;
  height: 4px;
  max-width: 1200px;
  margin: 60px auto;
  /* Premium gradient line that fades out on both left and right edges */
  background: linear-gradient(to right, transparent, var(--gold), transparent); 
}

/* Responsive Overrides for Mobile and Tablets */
@media (max-width: 900px) {
  .about-grid-container {
    grid-template-columns: 1fr; /* Stacks layout vertically */
    gap: 40px;
  }
  
  .about-text, .about-image {
    grid-column: span 1;
  }

  
}

/* --- Image Stack Container (Widened for side-by-side layout) --- */
.image-stack {
  position: relative;
  width: 60%;
  max-width: 650px; /* Increased from 550px to give the side-by-side layout more room */
  height: 380px;    /* Height to contain the absolutely positioned images */
  margin: 0 auto;
}

/* --- Base styling for both stacked images --- */
.stack-img {
  position: absolute;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;             /* Matches your corporate rounded edges */
  border: 4px solid var(--white); /* White border photo frame */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); /* Soft drop shadow */
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), z-index 0.3s ease;
}

/* --- Left Image (Sits on the bottom layer) --- */
.stack-img-top {
  width: 60%; /* Takes up slightly over half the width */
  top: 30%;
  left: 45%;
  z-index: 2;
  transform: rotate(-1.5deg); /* Subtle natural tilt left */
}

/* --- Right Image (Sits on the top layer, barely overlapping the left in the center) --- */
.stack-img-bottom {
  width: 60%; /* Takes up slightly over half the width */
  top: 0%;
  right: 35%;
  z-index: 1;
  transform: rotate(1.5deg); /* Subtle natural tilt right */
}

/* --- Interactive Hover Effect --- */
.stack-img:hover {
  z-index: 10; /* Dynamic focus swap to bring the hovered photo to the front */
  transform: scale(1.05) rotate(0deg); /* Straightens and gently lifts */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.28);
}

/* --- Mobile Viewport Adjustments --- */
@media (max-width: 900px) {
  .image-stack {
    height: 280px; /* Scales down container height dynamically on tablets/phones */
    margin-top: 24px;
  }
  .stack-img-top {
    left: 35%;
  }
}


/** Services **/

.services-container {
  max-width: 960px;
  width: 100%;
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

  /* Top Description Area */
.description-header {
  text-align: center;
  margin-bottom: 60px;
  border-bottom: 2px solid #eef2f5;
  padding-bottom: 30px;
}

.description-header h1 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 15px;
  font-weight: 700;
}

.description-section p {
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.6;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 10px
}

/* Two-Column Responsive Button Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
  gap: 20px; /* Space between buttons */
}

/* --- Services Grid Section Header --- */
.services-grid .service-header {
  grid-column: 1 / -1;          /* Spans across both grid columns */
  text-align: center;            /* Centered like the "What We Do" title block */
  font-size: 32px;               /* Matches the exact font size of .section-header */
  color: var(--white);           /* Overrides to clean white */
  margin-top: 10px;
  margin-bottom: 4px;            /* Matches the tight spacing of .section-header */
  position: relative;
  padding-bottom: 24px;          /* Leaves perfect breathing room for the line below */
}

/* Service Button Links */
.service-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background-color: var(--cool_gray); /* Deep blue accent matching transport theme */
  color: var(--deep_navy);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(43, 108, 176, 0.2);
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

/* Hover & Interaction States */
.service-link-btn:hover {
  background-color: var(--soft_blue);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(255, 254, 254, 0.497);
  transform: translateY(-5px);
  cursor: pointer;
}

.service-link-btn:active {
  transform: scale(0.99);
}

/* Responsive Breakpoint for Mobile/Tablet Screen Sizes */
@media (max-width: 700px) {
.services-grid {
  grid-template-columns: 1fr; /* Automatically stacks into 1 single column */
}
            
.services-container {
  padding: 25px 20px;
}

.description-header h1 {
  font-size: 1.8rem;
}
}


.section-subheader {
  text-align: left;
  font-size: 32px;
  margin-bottom: 4px;
  color: var(--deep_navy);
}




/**----------------------------------------------------------------------**/

/** Contact Us **/

.team-section {
  padding: 30px 20px;
  background-color: var(--cool_gray);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  border-radius: 10px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.team-title-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically centers the text with the neighboring images */
  text-align: left;
  padding-right: 20px;     /* Leaves breathing room before the President's card */
}

.team-title-card .section-header,
.team-title-card .title-underline {
  text-align: center;
  margin-left: 0;
}

.section-title {
  text-align: left;
  font-size: 32px;
  margin-bottom: 4px;
  color: var(--deep_navy);
}

.sub-header-text{
  text-align: center;
}

/* The Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;                             
}

/* Positioning row 1 (Takes 3 columns each out of 6) */
.card-1 {
  grid-column: span 2;
}
.card-2 {
  grid-column: span 2;
}

/* Positioning row 2 (Takes 2 columns each out of 6) */
.card-3, .card-4, .card-5 {
  grid-column: span 2;
}

/* Individual Cards */
.team-card {
  text-align: center;
  background: var(--white);
  padding-bottom: 20px;
  transition: transform 0.3s ease;
  border-radius: 6px;
}

.team-card:hover {
  transform: translateY(-10px); /* Slight lift on hover */
}

.text-only-card {
  padding-top: 35px; /* Adds extra padding since there's no image on top */
  background: #ffffff; 
  border-top: 4px solid #333; /* Gives a premium structural accent header line */
}

.image-wrapper {
  overflow: hidden;
  margin-bottom: 15px;

  /* Enforce the maximum dimensions */
  max-width: 1448px;
  max-height: 1086px;
  
  /* Lock the aspect ratio so it scales perfectly */
  aspect-ratio: 1448 / 1086; 
  
  /* Centers the image wrapper if the grid cell gets wider than 1448px */
  margin-left: auto;
  margin-right: auto; 
  width: 100%;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.team-card:hover img {
  filter: grayscale(0%);
}

.info h3 {
  margin: 10px 0 5px;
  font-size: 18px;
  color: var(--white);
}

.info .title {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- CONTACT INFO STYLING --- */
.contact-info {
  margin-bottom: 20px; /* Space between contact info and the Read More button */
  font-size: 13px;
  color: #666;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Allows stacking seamlessly on very small mobile screens */
  gap: 8px;
}

.contact-link {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;

  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Subtle hover state to indicate they are clickable links */
.contact-link:hover {
  color: var(--soft_blue); /* GATX Red accent color match */
  text-decoration: underline;
}

.contact-divider {
  color: var(--charcoal);
  user-select: none; /* Prevents users from accidentally highlighting the divider text */
}

/* Adjust title margin to look tighter with contact info underneath */
.info .title {
  margin-bottom: 8px;
}

/* Bio Content (Hidden by default) */
.bio-content {
  display: block;
  padding: 15px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  text-align: left;
}

@media (max-width: 1024px){
  .contact-info {
    flex-direction: column; /* Stacks phone and email vertically */
    gap: 4px;              /* Tighter spacing for stacked text */
  }

  .contact-divider {
    display: none;        /* Hides the '|' symbol since it's no longer needed */
  }
}

@media (max-width: 750px) {
  .team-grid {
    display: grid;
    /* Automatically creates columns based on the size of the cards */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    justify-content: center;
    gap: 30px;
  }

  /* Reset the desktop column spans so cards don't break the responsive grid */
  .title-block, .card-1, .card-2, .card-3, .card-4, .card-5 {
    grid-column: auto; 
  }

  .team-card {
    max-width: 340px; /* Limits the max size so they stay consistent */
    margin: 0 auto;   /* Centers the cards when they stack */
    width: 100%;
  }
}


/** Footer **/

footer {
  background-color: var(--deep_navy); /* Anchors the page with your darkest tone */
  color: var(--white);
  padding: 60px 5% 20px 5%;
  margin-top: auto; /* Pushes the footer to the bottom if page content is short */
  width: 100%;
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap; /* Allows columns to stack gracefully on smaller screens */
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 200px; /* Keeps columns from getting too narrow before wrapping */
}

.footer-col.brand-col {
  flex: 1.5; /* Gives the brand description a little extra room */
}

.footer-col h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 15px;
}

.footer-col h4 {
  color: var(--gold); /* Highlights headers using your brand accent color */
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0;
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--cool_gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--cool_gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--gold); /* Links light up gold on hover to match the nav rules */
}

.footer-phone a,
.footer-facebook a, 
.footer-location a {
  color: var(--white);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-phone a:hover, 
.footer-facebook a:hover, 
.footer-location a:hover {
  color: var(--gold);
}

/* Bottom Bar Styling */
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separating line */
  text-align: center;
}

.footer-bottom p {
  color: var(--industrial_gray);
  font-size: 0.8rem;
  margin: 0;
}

/* --- Tablet & Mobile Optimization --- */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column; /* Stacks the columns on small screens */
    gap: 30px;
  }
  
  footer {
    padding: 40px 24px 20px 24px;
  }
}