
/* Brand Variables Integrated */
:root {
  --gold: #D4AF37;
  --earth: #2C3327;
  --ivory: #FAF9F6;
  --transition: all 0.3s ease-in-out;
}

.site-header {
  background: var(--ivory);
  border-bottom: 1px solid rgba(44, 51, 39, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

/* Brand/Logo Styling */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--earth);
}

.logo {
  background: var(--earth);
  color: var(--gold);
  font-weight: bold;
  padding: 10px;
  border-radius: 4px;
  margin-right: 12px;
  font-family: serif;
}

.brand-text b { 
  display: block; 
  font-size: 1.2rem; 
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand-text .small { 
  font-size: 0.7rem; 
  color: var(--earth);
  opacity: 0.8;
}

/* Navigation Links */
#primary-nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
  margin: 0;
  padding: 0;
}

#primary-nav a {
  text-decoration: none;
  color: var(--earth);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

#primary-nav a:hover { 
  color: var(--gold); 
}

/* CTA & Hamburger Toggle */
.nav-cta { 
  display: flex; 
  align-items: center; 
  gap: 20px; 
}

.btn.primary {
  background: var(--gold);
  color: var(--earth); /* Dark text on gold for readability */
  padding: 12px 24px;
  border-radius: 2px; /* Sharper edges for a premium look */
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn.primary:hover {
  background: var(--earth);
  color: var(--gold);
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--earth);
  transition: var(--transition);
}

@media (max-width: 992px) {
  /* 1. Ensure the header itself doesn't cut off the menu */
  .site-header {
    overflow: visible !important; 
  }

  #primary-nav {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--ivory);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    border-bottom: 2px solid var(--gold);
    
    /* 2. Higher Z-INDEX is the secret sauce here */
    z-index: 9999; 
    
    /* 3. Add a physical shadow to the menu itself so it pops off the background */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
  }

  #primary-nav.active { 
    max-height: 500px; 
    /* 4. Ensure overflow is visible when active if you have dropdowns */
    overflow-y: auto; 
  }

  /* 5. Improve link visibility on mobile */
  #primary-nav ul {
    flex-direction: column;
    padding: 40px 20px;
    gap: 25px;
    text-align: center;
  }

  #primary-nav a {
    font-size: 1.2rem; /* Make it easier to tap */
    display: block;
    width: 100%;
  }

  .menu-toggle { display: flex; }

  .brand-text .small { display: none; }
}

/* ============ Background Stlying ======== */
/* 1. The Light Section (Your Current Default) */
.tour-section--light {
    background-color: var(--ivory);
    color: var(--earth);
}

/* 2. The Dark Section (High Contrast/Premium) */
.tour-section--dark {
    background-color: var(--earth); /* #2C3327 */
    color: var(--ivory);
}
.tour-section--dark .tour-section-title,
.tour-section--dark .tour-section-eyebrow {
    color: var(--gold);
}

/* 3. The Subtle "Sand" Section (For breaking up light sections) */
.tour-section--accent {
    background-color: #F2F0E9; /* Slightly deeper than ivory */
    border-top: 1px solid rgba(44, 51, 39, 0.05);
    border-bottom: 1px solid rgba(44, 51, 39, 0.05);
}


/* ========= HERO SECTION ========== */
.hero-safari {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Increase side padding to ensure a 'safe zone' on all devices */
  padding: 80px 24px; 
  box-sizing: border-box;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  /* Changed from 100% to help with browser calculation bugs on narrow screens */
  width: 100%; 
}

/* 1. Lighten the image itself using filters */
.tour-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Adds actual "pop" to the photo */
  filter: brightness(1.1) contrast(1.05); 
}

/* 2. Soften the overlay into a radial 'vignette' */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* This creates a soft dark 'cloud' behind the text only, 
     leaving the corners and center much brighter */
  background: radial-gradient(
    circle at 20% 50%, 
    rgba(23, 23, 23, 0.7) 0%, 
    rgba(23, 23, 23, 0.2) 60%, 
    rgba(23, 23, 23, 0) 100%
  );
  z-index: 1;
}

/* 3. Mobile Specific: Maximum Brightness */
@media (max-width: 768px) {
  .hero-overlay {
    /* On mobile, we only darken the bottom 40% where the text sits */
    background: linear-gradient(
      to bottom,
      rgba(23, 23, 23, 0) 0%,
      rgba(23, 23, 23, 0.1) 40%,
      rgba(23, 23, 23, 0.8) 100%
    );
  }
  
  .tour-hero__bg img {
    /* Extra boost for smaller screens */
    filter: brightness(1.2); 
  }

  /* Protect text readability since background is now brighter */
  .hero-content h1, 
  .hero-content p {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
  }
}

@media (max-width: 768px) {
    .hero-safari {
        padding: 40px 15px;
        min-height: auto; /* Prevents "empty space" on short mobile screens */
    }

    .hero-container {
        grid-template-columns: 1fr; /* Stack content above form */
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Better fit for mobile portraits */
        text-align: center;
    }

    .hero-features {
        flex-wrap: wrap; /* Prevents feature text from clipping */
        justify-content: center;
        gap: 20px;
    }

    /* FORM CARD STICKINESS */
    .form-card {
        padding: 20px;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }

    /* THE BUTTONS - Ensuring the 50/50 split is clean */
    .form-actions {
        display: flex;
        flex-direction: row; /* Keep side-by-side even on small phones */
        gap: 10px;
    }

    .submit-btn, .wa-link {
        font-size: 0.75rem;
        height: 48px; /* Slightly shorter for mobile vertical space */
        padding: 0 5px;
        letter-spacing: 0;
    }
}

@media (max-width: 480px) {
    /* Special fix for the Date/Phone row which often breaks */
    #booking-dates.form-row {
        grid-template-columns: 1fr 1fr !important; 
        gap: 10px !important;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }
}

/* --- Content Styling --- */
.hero-content .badge {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 20px;
  display: inline-block;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--gold);
}

.hero-content h1 span {
  color: var(--accent);
  font-style: italic;
}

.hero-content p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  /* color: var(--text-muted); */
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-features {
  display: flex;
  gap: 40px;
  /* border-top: 1px solid var(--border-soft); */
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Make the picture tag act as a background */
.tour-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2; /* Sits at the very bottom */
}

.feature strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: #ffffff;
}

.feature span {
  font-size: 0.8rem;
  text-transform: uppercase;
  /* color: var(--text-muted); */
  color: rgba(255, 255, 255, 0.6);
}

/* ============ HERO TRIPADVISOR LINK ============ */
.tour-link {
    position: relative;
    z-index: 5; /* Ensures it sits above the overlay and image */
    display: inline-block;
    margin-top: 20px;
    color: var(--gold);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 2px;
}

.tour-link:hover {
    color: var(--ivory);
    border-bottom-color: var(--ivory);
    transform: translateX(5px); /* Subtle nudge effect */
}

/* Ensure visibility on Mobile */
@media (max-width: 768px) {
    .tour-link {
        display: block;
        text-align: center;
        margin: 20px auto 0;
        font-size: 0.8rem;
    }
}

/* --- Form Card Styling --- */
.form-card {
  background: rgba(255, 255, 255, 0.95); /* Slightly transparent */
  backdrop-filter: blur(10px); /* Frosty effect */
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 25px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.form-header { margin-bottom: 30px; }
.form-header h3 { font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 5px; }
.form-header p { font-size: 0.9rem; color: var(--text-muted); }

.safari-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-row .qty { grid-column: span 1; max-width: 100px; }

/* Base style for all devices (standard 50/50) */
.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 15px; 
}

@media (min-width: 992px) {
  #booking-dates {
    display: grid !important;
    /* 60% for Departure, 40% for Phone (minus gap) */
    grid-template-columns: 50% calc(50% - 15px) !important; 
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
    /* 1. Force the row to behave as a grid and ignore ALL previous settings */
    section #booking-dates.form-row {
        display: grid !important;
        /* This gives Date 40% and Phone 60% - the Phone field WILL be wider now */
        grid-template-columns: 50% 50% !important; 
        column-gap: 8px !important; 
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 2. Reset the children so they don't fight the grid */
    #booking-dates .form-group {
        width: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* 3. Make the inputs fit perfectly */
    #booking-dates input, 
    #booking-dates .date-selector {
        width: 100% !important;
        display: block !important;
        padding: 10px 4px !important; /* Minimal internal padding */
        font-size: 0.8rem !important;
        box-sizing: border-box !important;
    }

    /* 4. Hide the select arrow entirely if it's still crowding the date field */
    #booking-dates .date-selector {
        background-image: none !important;
        text-align: left;
    }
}

/* Specific styling for screens 480px and down */
@media screen and (max-width: 480px) {
    /* 1. Refined Grid Split */
    section #booking-dates.form-row {
        display: grid !important;
        /* At 480px, we can go 45/55 for a very balanced look */
        grid-template-columns: 45% 55% !important; 
        column-gap: 12px !important; /* Wider gap for a cleaner look */
        width: 100% !important;
    }

    /* 2. Enhanced Input Touch Area */
    #booking-dates input, 
    #booking-dates .date-selector {
        padding: 12px 10px !important; /* Taller inputs are easier to tap */
        font-size: 0.9rem !important;  /* Slightly larger text for readability */
        border-radius: 8px !important;
        background-color: #eceae0 !important; /* Your Ivory/Sand accent */
    }

    /* 3. Label Polish */
    #booking-dates label {
        font-size: 0.7rem !important;
        letter-spacing: 1px;
        color: #2C3327; /* Using your --earth color */
        margin-bottom: 6px !important;
        text-transform: uppercase;
    }

    /* 4. Select Arrow Adjustment */
    #booking-dates .date-selector {
        background-position: right 10px center !important;
        background-size: 0.8em !important;
    }
}

/* 5. Extra Safety for the "Absolute Smallest" (Legacy phones) */
@media screen and (max-width: 340px) {
    section #booking-dates.form-row {
        grid-template-columns: 50% 50% !important; /* Almost 50/50 when space is critical */
        column-gap: 6px !important;
    }
    
    #booking-dates input, 
    #booking-dates .date-selector {
        font-size: 0.75rem !important; /* Shrink text so it doesn't clip */
        padding: 10px 4px !important;
    }

    /* 6. Absolute Smallest Devices (320px - 340px) */
@media screen and (max-width: 340px) {
    section #booking-dates.form-row {
        /* Shifted to 42/58 to prioritize the Phone/Pax input field */
        grid-template-columns: 50% 50% !important; 
        column-gap: 5px !important; /* Minimum possible gap */
    }

    #booking-dates label {
        /* Tiny but bold labels to save vertical and horizontal space */
        font-size: 0.6rem !important;
        letter-spacing: 0; 
    }

    #booking-dates input, 
    #booking-dates .date-selector {
        /* Very tight padding to maximize visible text area */
        padding: 10px 4px !important;
        font-size: 0.78rem !important; 
        height: 40px !important; /* Fixed height for consistency */
    }

    /* Remove the arrow icon on ultra-small screens to free up space */
    #booking-dates .date-selector {
        background-image: none !important;
        padding-left: 2px !important;
    }
  }
}

  #booking-dates .form-group:first-child {
    width: 100%;
  }

  #booking-dates .form-group:last-child {
    width: 100%;
  }

/* Ensure the quantity field still behaves */
.form-row .qty { 
  grid-column: span 1; 
  max-width: 100px; 
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; color: var(--text-muted); }

.form-group input {
  padding: 12px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #faf9f6;
}

.form-footer {
  margin-top: 25px;
  text-align: center;
  font-size: 0.85rem;
}

/* --- Textarea Styling --- */
textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border-soft);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: none; /* Keeps the card height stable */
  background: #ffffff;
  transition: border-color 0.3s ease;
}

textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* --- One-Line Button Action Logic --- */
.form-actions {
  display: flex;
  gap: 12px; /* Space between buttons */
  margin-top: 15px;
  align-items: center;
}

.submit-btn, .wa-link {
  flex: 1; /* This forces both to take exactly 50% space */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px; /* Uniform height */
  padding: 0 10px; 
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  transition: transform 0.2s ease, background 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap; /* Keeps text on one line */
}

.submit-btn {
  background: var(--gold); /* Using your token */
  color: white;
}

.wa-link {
  background-color: #25D366;
  color: #ffffff;
  text-decoration: none;
}

.submit-btn:hover, .wa-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* --- Mobile Fix --- */
@media (max-width: 480px) {
  .form-actions {
    gap: 8px; /* Slightly tighter on small phones */
  }
  .submit-btn, .wa-link {
    font-size: 0.75rem; /* Prevents text overflow */
  }
}

/* --- Responsive Optimization --- */
@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content p { margin: 0 auto 40px; }
  .hero-features { justify-content: center; }
  .hero-overlay {
    background: linear-gradient(
      to bottom, 
      rgba(23, 23, 23, 0.9) 0%, 
      rgba(23, 23, 23, 0.6) 100%
    );
  }
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .form-row .qty { max-width: none; }
  .form-card { padding: 25px; }
  .hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 992px) {
  /* Keep the container centered, but the form content left-aligned */
  .hero-container { 
    grid-template-columns: 1fr; 
    text-align: center; 
  }

  .form-card {
    text-align: left; /* Forces labels and text to the left */
    margin: 0 auto;
    max-width: 100%; /* Allows form to use available width */
  }

  /* Force the 2-column layout to stay active */
  .form-row { 
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; 
    gap: 12px; 
  }

  /* Force the Date & Phone row to maintain its desktop ratio */
  #booking-dates {
    display: grid !important;
    grid-template-columns: 1.5fr 0.5fr !important; 
    gap: 12px;
  }
}

@media (max-width: 480px) {
  /* Ensure the row doesn't collapse to 1 column on tiny phones */
  .form-row { 
    grid-template-columns: 1fr 1fr !important; 
  }

  /* Keep labels small and left-aligned */
  .form-group label {
    font-size: 0.65rem;
    text-align: left;
  }

  /* Adjust inputs slightly for tight horizontal space */
  .form-group input, .date-selector {
    padding: 10px 8px;
    font-size: 0.85rem;
  }

  /* Ensure the quantity box doesn't hog space */
  .form-row .qty { 
    max-width: 70px; 
  }
}

@media (max-width: 480px) {
  .hero-safari {
    /* Ensure there is always a 16px gap between the card edge and the phone edge */
    padding: 40px 16px; 
  }
  .form-card { 
    /* Keep internal padding comfortable but slightly smaller for tiny screens */
    padding: 30px 20px; 
    width: 100%;
    box-sizing: border-box;
  }
  .hero-content h1 { font-size: 2.2rem; }
}

/* --- Permit Alert Styling --- */
.permit-alert {
  background: rgba(185, 152, 90, 0.1);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.permit-alert p {
  font-size: 0.8rem;
  color: var(--text-main);
  margin: 0;
  line-height: 1.4;
}

.pulse {
  width: 10px;
  height: 10px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(37, 211, 102, 0.4);
  animation: pulse-ring 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Select Styling --- */
.date-selector {
  appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding: 12px 16px;
  border: 1.5px solid var(--border-soft);
  border-radius: 10px;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  cursor: pointer;
}

.submit-btn:hover, .wa-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.departure-badge-link {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.departure-badge-link:hover {
  transform: translateY(-3px);
}

.departure-badge-link .badge {
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  /* Add a small arrow icon via CSS */
  display: flex;
  align-items: center;
  gap: 8px;
}

.departure-badge-link .badge::after {
  content: '↓';
  font-weight: bold;
}

html {
  scroll-behavior: smooth;
}

.permit-alert-link {
  text-decoration: none;
  display: block; /* Makes the entire area clickable */
  transition: transform 0.2s ease;
}

.permit-alert-link:hover {
  transform: translateY(-2px); /* Subtle lift on hover */
}

.permit-alert-link .permit-alert {
  cursor: pointer;
}

.click-hint {
  display: inline-block;
  margin-left: 5px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: underline;
}

#booking-dates {
  scroll-margin-top: 120px;
}

@media (min-width: 992px) {
  #booking-dates {
    /* This gives roughly 75% width to the date and 25% to the phone */
    grid-template-columns: 1.5fr 0.5fr; 
    gap: 15px;
  }
}

.form-group input, 
.date-selector, 
textarea {
  background-color: #eceae0 !important; 
  border: 1.5px solid #d1cfc1 !important; /* Defined border */
  color: #333; /* Ensuring text is dark and sharp */
  transition: all 0.3s ease;
}

.form-group input:focus, 
.date-selector:focus, 
textarea:focus {
  background-color: #ffffff !important; 
  border-color: #af770f !important; /* Using your gold/accent color */
  box-shadow: 0 0 8px rgba(175, 119, 15, 0.2); 
  outline: none;
}


/* ============ TOUR SNAPSHOT ============ */
.snapshot-section {
    padding: 60px 0;
    background-color: var(--ivory); /* Light break after dark Hero */
    color: var(--earth);
    border-bottom: 1px solid rgba(44, 51, 39, 0.05);
}

.section-head {
    text-align: center; /* Centering the header for a balanced horizontal look */
    margin-bottom: 40px;
}

.section-head .kicker {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-head h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--earth);
}

.snapshot-grid {
    display: grid;
    /* This forces exactly 4 columns in one line on desktop */
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px;
}

.snap-card {
    background: #ffffff;
    padding: 20px;
    border: 1px solid rgba(44, 51, 39, 0.1);
    display: flex;
    align-items: center; /* Centered icons look better in horizontal rows */
    gap: 15px;
    transition: var(--transition);
}

.snap-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(44, 51, 39, 0.05);
}

.snap-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.snap-info b {
    display: block;
    color: var(--earth);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.snap-info span {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.85rem;
    line-height: 1.3;
    color: rgba(44, 51, 39, 0.8);
}

/* Specific highlight for the Permit card */
.highlight-card {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--gold);
}

/* RESPONSIVE: On tablets/phones, 4 wide is too squashed */
@media (max-width: 500px) {
    .snapshot-grid {
        grid-template-columns: 1fr; /* 1 column on small phones */
    }
}

@media (max-width: 992px) {
    .snapshot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .snapshot-section { padding: 40px 0; }
    .snapshot-grid { grid-template-columns: 1fr; gap: 10px; }
    .snap-card { padding: 15px; }
    .section-head h2 { font-size: 1.8rem; } /* Scale down titles */
}


/* ============ ITINERARY (PREMIUM DARK THEME) ============ */
#itinerary {
    padding: 100px 0;
    background-color: var(--earth); /* Dark contrast after the Ivory snapshot */
    color: var(--ivory);
}

/* Header adjustments for dark background */
#itinerary .section-head h2 {
    color: var(--gold);
}
#itinerary .section-head p {
    color: rgba(250, 249, 246, 0.7);
}

.itinerary-grid {
    max-width: 900px;
    margin: 50px auto;
    position: relative;
}

.day-block {
    position: relative;
    padding-left: 60px;
    margin-bottom: 60px;
    /* Light line for the timeline on dark background */
    border-left: 2px solid rgba(250, 249, 246, 0.1);
}

/* The Gold "Bullet" Point */
.day-block::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.day-num {
    position: absolute;
    left: -45px;
    top: -2px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold);
}

.day-title b {
    display: block;
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--ivory);
}

.day-title span {
    font-size: 0.95rem;
    color: var(--gold);
    font-style: italic;
    opacity: 0.9;
}

.day-body {
    margin-top: 20px;
    font-family: 'Work Sans', sans-serif;
    line-height: 1.8;
    color: rgba(250, 249, 246, 0.85); /* Softened white for readability */
}

/* Tags/Chips - subtle glass effect */
.chips {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    background: rgba(250, 249, 246, 0.05);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(250, 249, 246, 0.2);
    color: var(--gold);
}

/* Accommodation Box - adjusted for dark background */
.stay {
    background: rgba(250, 249, 246, 0.03); 
    padding: 25px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-top: 25px;
    border-radius: 4px;
}

.stay b {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}

.stay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.stay li {
    margin-bottom: 8px;
    color: var(--ivory);
}

.stay li strong {
    color: var(--gold);
    font-weight: 600;
}

/* Secondary Button for dark background */
.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn:hover {
    background: var(--gold);
    color: var(--earth);
}

.itinerary-actions {
    display: flex;
    justify-content: center; /* Centers the button horizontally */
    margin-top: 30px;
    /* We subtract some of the padding-left to make it look visually centered 
       relative to the text, not the timeline line */
    padding-right: 60px; 
}

/* Ensure the button stays its natural size on desktop */
#itinerary .itinerary-actions .btn {
    display: inline-block;
    width: auto;
}

@media (max-width: 768px) {
    #itinerary {
        padding: 60px 0; /* Reduce vertical breathing room */
    }

    .itinerary-grid {
        margin: 30px 15px; /* Add margin so it doesn't touch screen edges */
    }

    .day-block {
        padding-left: 30px; /* Tightened from 40px to give text more room */
    }

    /* CTA BUTTON FIX: 
       Make buttons full-width and centered for easy thumb-tapping */
    #itinerary .btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 16px 0; /* Taller hit-area */
        margin-top: 20px;
        box-sizing: border-box;
    }

    /* Remove the line from the very last day block so it doesn't "hang" */
    .day-block:last-child {
        border-left: 2px solid transparent;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    /* ... your existing code ... */

    .itinerary-grid {
        margin: 20px 10px; /* Use more of the screen width */
    }

    .day-block {
        padding-left: 25px; /* Maximum room for itinerary text */
    }

    /* Ensure the bullet stays aligned on the ultra-thin padding */
    .day-block::before {
        left: -7px;
    }
}

/* ============ PERMIT & COST (LIGHT THEME) ============ */
#permit {
    padding: 100px 0;
    background-color: var(--ivory);
    color: var(--earth);
}

#permit .section-head {
    margin-bottom: 40px;
}

/* Designing the information card */
#permit .card {
    background: #ffffff;
    border: 1px solid rgba(44, 51, 39, 0.1);
    box-shadow: 0 10px 30px rgba(44, 51, 39, 0.05);
    border-radius: 2px; /* Sharp edges for a more formal/luxury look */
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Subtle gold accent line at the top of the card */
#permit .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold);
}

#permit .pad {
    padding: 50px;
}

#permit h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--earth);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#permit p {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.7;
    color: rgba(44, 51, 39, 0.8);
    margin-bottom: 20px;
}

#permit strong {
    color: var(--earth);
    font-weight: 700;
}

/* Highlighting the price points */
#permit p strong:contains("$") {
    color: var(--gold);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #permit {
        padding: 60px 0; /* Tighten vertical padding */
    }

    #permit .card {
        margin: 0 15px; /* Ensure the card doesn't touch the screen edges */
        border-radius: 4px; /* Slightly softer for mobile touch feel */
    }

    #permit .pad {
        padding: 35px 20px; /* Balanced padding for narrow screens */
        text-align: left;
    }

    #permit h3 {
        font-size: 1.4rem;
        flex-direction: column; /* Stacks icon and text if the title is long */
        align-items: flex-start;
        gap: 5px;
    }

    #permit p {
        font-size: 0.95rem; /* Better legibility */
        margin-bottom: 15px;
    }

    /* FIX: Aligning CTA buttons for mobile thumbs */
    #permit .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 25px;
        padding: 18px 0; /* Larger tap target */
    }
}

@media (max-width: 480px) {
    #permit .pad {
        padding: 30px 15px;
    }
    
    #permit h3 {
        font-size: 1.2rem;
    }
}


/* ============ TOUR PRICING (SUBTLE ACCENT) ============ */
#tour-pricing {
    padding: 100px 0;
    background-color: #F2F0E9; /* Subtle Sand color to separate from Permit Ivory */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.plan {
    background: #ffffff;
    padding: 40px 30px;
    border: 1px solid rgba(44, 51, 39, 0.1);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

/* Elevate the Classic (Middle) plan as the 'Popular' choice */
.plan:nth-child(2) {
    border: 2px solid var(--gold);
    transform: scale(1.03);
    z-index: 2;
    box-shadow: 0 15px 35px rgba(44, 51, 39, 0.1);
}

.plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(44, 51, 39, 0.08);
}

.plan .tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}

.plan .price {
    margin-bottom: 20px;
}

.plan .price b {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--earth);
    display: block;
}

.plan .price .small {
    font-size: 0.8rem;
    color: rgba(44, 51, 39, 0.6);
    text-transform: uppercase;
}

.plan p.small {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--earth);
    margin-bottom: 25px;
    min-height: 60px; /* Keeps card heights consistent */
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(44, 51, 39, 0.05);
    padding-top: 20px;
}

.plan li {
    font-size: 0.85rem;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: rgba(44, 51, 39, 0.8);
}

/* Luxury Bullet Points */
.plan li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid for tablets */
        gap: 20px;
    }

    /* Reset the 'Featured' scale so cards don't overlap when stacked */
    .plan:nth-child(2) {
        transform: none; 
        box-shadow: 0 10px 25px rgba(44, 51, 39, 0.08);
    }
}

@media (max-width: 768px) {
    #tour-pricing {
        padding: 60px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr; /* Full stack on mobile */
        max-width: 450px; /* Prevents cards from becoming ultra-wide */
        margin: 0 auto 40px;
    }

    .plan {
        padding: 35px 25px;
        text-align: center; /* Center text for mobile focus */
    }

    .plan li {
        text-align: left; /* Keep list items left-aligned for readability */
        font-size: 0.9rem;
    }

    .plan .price b {
        font-size: 2.2rem;
    }

    .plan p.small {
        min-height: auto; /* Remove fixed height on mobile */
        margin-bottom: 20px;
    }

    /* FIX: Alignment of the button at the bottom of the pricing card */
    .plan .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 25px;
        padding: 18px 0;
    }
}

@media (max-width: 480px) {
    #tour-pricing {
        padding: 50px 15px;
    }
    
    .plan {
        padding: 30px 20px;
    }
}


/* ============ PRICING BOTTOM CTA CARD ============ */
#tour-pricing .card {
    background-color: var(--earth); /* The deep brand green */
    color: var(--ivory);
    margin-top: 40px; /* Increased breathing room */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: none;
    box-shadow: 0 20px 40px rgba(44, 51, 39, 0.15);
}

/* Subtle gold accent on the left edge */
#tour-pricing .card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--gold);
}

#tour-pricing .pad {
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#tour-pricing .card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--gold); /* Gold title on dark green */
    margin-bottom: 10px;
}

#tour-pricing .card p {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(250, 249, 246, 0.8); /* Soft ivory text for readability */
    max-width: 600px;
    margin-bottom: 25px;
}

/* Specific button adjustment for this dark card */
#tour-pricing .card .btn.primary {
    background-color: var(--gold);
    color: var(--earth);
    border: none;
    padding: 16px 32px;
    font-weight: 800;
}

#tour-pricing .card .btn.primary:hover {
    background-color: var(--ivory);
    color: var(--earth);
    transform: translateY(-2px);
}

/* Responsive Mobile view */
@media (max-width: 768px) {
    #tour-pricing .pad {
        padding: 30px 25px;
        text-align: center;
        align-items: center;
    }
    
    #tour-pricing .card h3 {
        font-size: 1.6rem;
    }
}


/* ============ INCLUSIONS & EXCLUSIONS ============ */
#inclusions {
    padding: 100px 0;
    background-color: var(--ivory);
    color: var(--earth);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.listbox {
    padding: 40px;
    background: #ffffff;
    border: 1px solid rgba(44, 51, 39, 0.08);
    transition: var(--transition);
}

.listbox h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--earth);
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 5px;
}

/* Base list styling */
.listbox ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.listbox li {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: rgba(44, 51, 39, 0.9);
}

/* Styling the "Included" checkmarks */
.listbox:first-child li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Styling the "Not Included" indicators */
.listbox:last-child li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: rgba(44, 51, 39, 0.3);
    font-weight: normal;
}

/* Subtle hover effect */
.listbox:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(44, 51, 39, 0.04);
}

/* RESPONSIVE: Stack columns on mobile */
/* @media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .listbox {
        padding: 30px 20px;
    }
} */

@media (max-width: 768px) {
    #inclusions {
        padding: 60px 0; /* Tighten the section vertical space */
    }

    .two-col {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 15px; /* Tighter gap between the two boxes */
        margin-top: 30px;
    }

    .listbox {
        padding: 30px 20px; /* Reduce horizontal padding to maximize text space */
        border-radius: 4px; /* Softer look for mobile */
    }

    .listbox h3 {
        font-size: 1.5rem; /* Scale down heading */
        margin-bottom: 20px;
    }

    .listbox li {
        font-size: 0.9rem; /* Slightly smaller for better fit */
        padding-left: 25px; /* Tighter bullet space */
        line-height: 1.5;
        margin-bottom: 12px;
    }

    /* Ensure bullets stay properly aligned with smaller padding */
    .listbox li::before {
        font-size: 1rem;
        top: -1px; /* Micro-adjustment for vertical centering with text */
    }
}

@media (max-width: 480px) {
    #inclusions {
        padding: 50px 15px; /* Ensure boxes don't touch screen edges */
    }
    
    .listbox {
        padding: 25px 15px;
    }
}


/* ============ FAQ SECTION (SAND THEME) ============ */
.faq-section {
    padding: 100px 0;
    background-color: #F2F0E9; /* Your Sand accent */
    color: var(--earth);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* The Accordion Card */
details {
    background: #ffffff;
    border: 1px solid rgba(44, 51, 39, 0.1);
    border-radius: 4px;
    transition: var(--transition);
    overflow: hidden;
}

summary {
    padding: 24px 30px;
    list-style: none; /* Hide default arrow */
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

summary::-webkit-details-marker {
    display: none; /* Hide for Safari */
}

summary:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

/* The Chevron Icon */
.chev {
    width: 20px;
    height: 20px;
    position: relative;
}

.chev::before, .chev::after {
    content: "";
    position: absolute;
    background-color: var(--gold);
    transition: transform 0.3s ease;
}

/* Horizontal line */
.chev::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

/* Vertical line (turns into minus when open) */
.chev::after {
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

/* Rotate Vertical Line when Open */
details[open] .chev::after {
    transform: translateX(-50%) rotate(90deg);
}

details[open] {
    border-color: var(--gold);
    box-shadow: 0 10px 25px rgba(44, 51, 39, 0.05);
}

/* Content inside the drawer */
.faq-container .content {
    padding: 0 30px 30px;
    font-family: 'Work Sans', sans-serif;
    line-height: 1.7;
    color: rgba(44, 51, 39, 0.85);
}

.faq-container .content p {
    margin-bottom: 15px;
}

.faq-container .content ul {
    padding-left: 20px;
    margin-top: 10px;
}

.faq-container .content li {
    margin-bottom: 8px;
    color: var(--earth);
}

/* Bottom CTA link */
.faq-cta {
    text-align: center;
    margin-top: 50px;
}

.faq-cta .btn.primary {
    background-color: #25D366; /* WhatsApp Green for this specific action */
    border: none;
    color: #fff;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-container {
        margin: 30px 15px; /* Prevent card edges from touching the screen */
        gap: 10px;
    }

    summary {
        padding: 18px 20px; /* Tighter padding to give text more room */
        font-size: 1.15rem; /* Scaled down for mobile viewport */
        line-height: 1.4;
    }

    /* Ensure the chevron doesn't shrink or move weirdly with long questions */
    .chev {
        width: 16px; 
        height: 16px;
        flex-shrink: 0; /* Prevents the icon from squashing if text is long */
        margin-left: 15px;
    }

    .faq-container .content {
        padding: 0 20px 25px; /* Align horizontal padding with the summary */
        font-size: 0.95rem;
    }

    .faq-cta {
        margin-top: 40px;
        padding: 0 15px;
    }

    /* Make the WhatsApp/CTA button full width on small screens */
    .faq-cta .btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    summary {
        font-size: 1.05rem;
        padding: 15px;
    }
    
    .faq-container .content {
        padding: 0 15px 20px;
    }
}


/* ============ WHY BOOK WITH US (DARK PREMIUM) ============ */
.why-section {
    padding: 100px 0;
    background-color: var(--earth); /* Re-establishing the dark brand anchor */
    color: var(--ivory);
}

#why .section-head h2 {
    color: var(--ivory);
}

.why-flex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.why-box {
    background: rgba(250, 249, 246, 0.03); /* Extremely subtle ivory tint */
    border: 1px solid rgba(212, 175, 55, 0.2); /* Soft gold border */
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-box:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.why-box-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    /* Soft glow behind the emoji icon */
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.why-box b {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.why-box p {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(250, 249, 246, 0.7);
}

/* TripAdvisor Link Styling */
.why-box a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.why-box a:hover {
    color: var(--ivory);
}

.why-buttons {
    text-align: center;
    margin-top: 40px;
}

/* RESPONSIVE */
/* @media (max-width: 480px) {
    .why-flex-grid {
        grid-template-columns: 1fr; 
    }
    
    .why-box {
        padding: 25px;
    }
} */

@media (max-width: 992px) {
    .why-section {
        padding: 80px 0;
    }
    
    .why-flex-grid {
        /* Force a clean 2x2 grid on tablets to avoid 'lonely' cards */
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .why-section {
        padding: 60px 0;
    }

    .why-flex-grid {
        margin: 30px 15px;
    }

    .why-box {
        padding: 30px 20px;
    }

    .why-box b {
        font-size: 1.25rem; /* Slightly smaller title for better line-wrapping */
    }

    .why-box p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .why-flex-grid {
        grid-template-columns: 1fr; /* Full stack on phones */
    }

    .why-buttons {
        padding: 0 15px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Make CTA buttons full width at the bottom of the section */
    .why-buttons .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}


/* ============ RELATED TOURS (CLEANED & FIXED) ============ */
.related-section {
    padding: 100px 0;
    background-color: var(--ivory);
    color: var(--earth);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px;
    margin-top: 40px;
}

.related-tour-card {
    background: #ffffff;
    border: 1px solid rgba(44, 51, 39, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
    overflow: hidden;
}

/* FIX: Ensure the link allows internal content to grow */
.related-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(44, 51, 39, 0.1);
}

/* Media/Image Area */
.related-tour-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.related-tour-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.related-tour-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}

.related-tour-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 5px;
    line-height: 1.2;
}

.related-tour-price {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Body Content Styling */
.related-tour-body {
    padding: 25px;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

.related-tour-info {
    margin-bottom: 20px;
}

.info-group {
    margin-bottom: 15px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(44, 51, 39, 0.8);
}

/* Labels styled in Gold */
.info-group strong {
    display: block;
    color: var(--gold); 
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 700;
}

/* Tags/Pills */
.related-tour-tags {
    display: flex;
    gap: 8px;
    margin-top: auto; /* Pushes tags to the bottom of the body area */
    padding-top: 15px;
}

.related-tour-pill {
    background-color: var(--earth);
    color: var(--ivory);
    font-family: 'Work Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
}

/* Footer & Button */
.related-tour-footer {
    border-top: 1px solid rgba(44, 51, 39, 0.05);
    background: #F9F9F7;
    transition: var(--transition);
}

.related-tour-btn {
    display: block;
    padding: 20px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--earth);
    transition: var(--transition);
}

/* Unified Hover Effect */
.related-tour-card:hover .related-tour-footer {
    background-color: var(--gold);
}

.related-tour-card:hover .related-tour-btn {
    color: #ffffff;
}

/* Responsive adjustment */
/* @media (max-width: 992px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
} */

@media (max-width: 992px) {
    .related-section {
        padding: 60px 0;
    }

    .related-grid {
        /* Instead of just 1fr, let's keep 2 columns for tablets 
           and only drop to 1 column for phones */
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
        /* Prevent cards from stretching too wide on large phones */
        max-width: 480px; 
        margin: 30px auto 0;
    }

    .related-tour-media {
        height: 200px; /* Slightly shorter images for mobile vertical space */
    }

    .related-tour-title {
        font-size: 1.1rem;
    }

    .related-tour-body {
        padding: 20px; /* Tighter padding for mobile */
    }

    /* FIX: Button Alignment for Mobile */
    .related-tour-btn {
        text-align: center; /* Center the text for mobile focus */
        padding: 22px 15px; /* Taller tap target for thumbs */
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .related-tour-tags {
        /* Allow tags to wrap if the phone is very narrow (like iPhone SE) */
        flex-wrap: wrap; 
    }
    
    .related-tour-pill {
        font-size: 0.6rem;
        padding: 4px 8px;
    }
}


/* ============ SITE FOOTER (THE FINAL ANCHOR) ============ */
.site-footer {
    background-color: var(--earth);
    color: var(--ivory);
    padding: 100px 0 40px;
    position: relative;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Weighted toward the brand side */
    gap: 60px;
    align-items: center;
}

/* Brand Section */
.logo-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gold);
}

.brand-name {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    display: block;
    margin-top: 5px;
}

.foot-description {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 450px;
    color: rgba(250, 249, 246, 0.7);
    margin-bottom: 30px;
}

/* TripAdvisor Badge */
.ta-badge {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 4px;
    border-left: 3px solid #00af87; /* TripAdvisor Green */
}

.ta-stars { font-size: 0.9rem; margin-bottom: 5px; }
.ta-label { color: var(--ivory); font-size: 0.8rem; font-weight: 600; }

/* Contact Card Styling */
.foot-contact-card {
    background-color: rgba(250, 249, 246, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.contact-inner h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-list a {
    color: var(--ivory);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover { color: var(--gold); }

/* Footer Buttons */
.foot-actions {
    display: flex;
    gap: 15px;
}

.white-btn {
    background: var(--ivory);
    color: var(--earth);
    border: none;
}

.outline-btn {
    background: transparent;
    color: var(--ivory);
    border: 1px solid var(--ivory);
}

.white-btn:hover, .outline-btn:hover {
    background: var(--gold);
    color: var(--ivory);
    border-color: var(--gold);
}

/* Copyright Area */
.copyright {
    grid-column: 1 / -1; /* Spans full width */
    text-align: center;
    padding-top: 60px;
    margin-top: 60px;
    border-top: 1px solid rgba(250, 249, 246, 0.05);
    font-size: 0.8rem;
    color: rgba(250, 249, 246, 0.4);
}

/* RESPONSIVE */
/* @media (max-width: 850px) {
    .foot-grid { grid-template-columns: 1fr; gap: 40px; }
    .foot-actions { flex-direction: column; }
    .logo-group { justify-content: center; text-align: center; flex-direction: column; }
    .foot-description { text-align: center; margin-left: auto; margin-right: auto; }
} */

@media (max-width: 850px) {
    .site-footer {
        padding: 60px 0 30px; /* Reduce top padding */
    }

    .foot-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center; /* Centers text for brand desc and headlines */
    }

    .logo-group {
        flex-direction: column; /* Stack logo circle above brand name */
        gap: 15px;
    }

    .foot-description {
        margin: 0 auto 30px; /* Center the description block */
        font-size: 0.95rem;
    }

    /* Trust Badge Alignment */
    .ta-badge {
        margin: 0 auto;
        border-left: none;
        border-top: 3px solid #00af87; /* Switch border to top for mobile look */
    }

    /* Contact Card Fixes */
    .foot-contact-card {
        padding: 30px 20px;
        margin: 0 10px; /* Don't touch screen edges */
    }

    .contact-list li {
        justify-content: center; /* Crucial: Centers the email/phone icons and text */
        text-align: left; /* Keeps text left-aligned to the icon for neatness */
    }

    .foot-actions {
        flex-direction: column; /* Stack 'Request' and 'View' buttons */
        width: 100%;
        gap: 12px;
    }

    .foot-actions .btn {
        width: 100%; /* Full-width mobile buttons */
        text-align: center;
        padding: 18px 0; /* Taller tap target */
    }

    .copyright {
        margin-top: 40px;
        padding-top: 40px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.5rem;
    }
    
    .contact-inner h3 {
        font-size: 1.5rem;
    }
}


/* =========== WhatsApp FAB ========= */
.wa-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.wa-fab:hover { transform: scale(1.05); }

.wa-pulse {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (max-width: 800px) {
    .foot-grid { grid-template-columns: 1fr; gap: 40px; }
}





    
    