* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    color: white;
    background-color: #000;
    overflow-x: hidden;
  }
  
  .navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(4, 0, 0, 0.437);
    backdrop-filter: blur(6px);
    z-index: 100;
  }
  
  .logo img {
    height: 60px;
    width: auto;
    cursor: pointer;
  }
  
  .navbar ul {
    list-style: none;
    display: flex;
    gap: 40px;
  }
  
  .navbar a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: 0.3s;
  }
  
  .navbar a:hover {
    color: #ffd166;
  }
  
  .hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
  }
  
  .overlay {
    display: none;
  }
  
  .hero-content {
    position: relative;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }
  
  .hero-content .welcome {
    letter-spacing: 6px;
    font-size: 16px;
  }
  
  .hero-content h1 {
    font-size: 120px;
    font-weight: 700;
    margin-top: 20px;
  }
  
  .hero-content h2 {
    font-size: 40px;
    margin-bottom: 30px;
  }
  
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

@font-face {
  font-family: 'Catchy Mager';
  src: url('Assets/fonts/CatchyMager.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.fancy-title {
    font-family: "Times New Roman", Times, serif;
    font-size: 200px !important;
    color: #ffffff;
    letter-spacing: 4px;
    text-shadow: 0 5px 25px rgba(255, 255, 255, 0.8); /* soft white glow */
    margin: 0;
    animation: fadeInDown 2s ease-in-out;
  }
  
  

/* H2: "Travel and Tours" */
.fancy-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 8px;
  margin-top: 15px;
  margin-bottom: 6px;
  text-shadow: none; /* clean, elegant, no shadow */
}


@import url("https://your-font-source.com/coco-gothic.css");

.book-btn {
    background-color: #ffffff;
    color: #3b2d2d;
    font-family: "Coco Gothic", sans-serif;
    font-size: 0.80rem;
    font-weight: 600;
    letter-spacing: 4px;           
    padding: 14px 45px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;          /* use flex for centering */
    align-items: center;           /* vertically center text */
    justify-content: center;       /* horizontally center text */
    text-align: center;            /* ensure text is centered in block */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    line-height: 1;                /* helps align text visually */
  }
  
  .book-btn:hover {
    background-color: #f5f5f5;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  }

  /* --- NEW Styles for learnmore.html --- */

body.learnmore-page {
    background: 
      linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),  /* 45% black overlay */
      url("Assets/Tour.jpg") center/cover no-repeat;
    
    color: #fff;               /* make text white for readability */
    background-attachment: fixed; /* optional: creates a parallax-like effect */
  }
  
  
  .packages-section {
    width: 100%;
    min-height: 100vh;
    padding: 140px 50px 50px; /* Padding top to be below fixed navbar */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .packages-grid {
    display: grid;
    /* Make it responsive: 1 column on mobile, 3 on desktop */
    grid-template-columns: 1f;
    gap: 24px;
    max-width: 1200px;
    width: 100%;
  }
  
  /* On tablets and larger, switch to 3 columns */
  @media (min-width: 768px) {
    .packages-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  /* Card 1: Info Card */
  .info-card {
    background-color: #9ca3af; /* Light blue-grey from image */
    color: #1f2937; /* Dark text for contrast */
    height: 120%;
    width: 120%;
    transform: translate(-15%, -13%);
    padding: 32px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
    .info-card h3 {
        font-size: 50px;
        font-weight: 700;
        color: #111827; /* Darkest text for title */
        margin-bottom: 16px;
    }
  
  .info-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #374151; /* Slightly lighter text */
    position: relative;
    top: -150px;
  }

  .info-card, .package-card {
    background-color: rgba(255, 255, 255, 0.9); /* semi-transparent white background */
    color: #1f2937;
  }
  
  
  .view-btn {
    background-color: #1f2937; /* Dark blue-grey button */
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    width: 100%; /* Make button full width of card */
  }
  
  /* On desktop, make button width auto */
  @media (min-width: 768px) {
    .view-btn {
      width: auto;
    }
  }
  
  .view-btn:hover {
    background-color: #374151;
    transform: translateY(-2px);
  }
  
  /* Cards 2 & 3: Package Cards */
  .package-card {
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden; /* Clips the image to the rounded corners */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #333; /* Dark text for white background */
    transform: translate(0%, -10%);
  }
  
  .package-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
  }
  
  .package-content {
    padding: 24px;
  }
  
  .package-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563; /* Medium grey text */
  }

  /*hover effects*/
  .package-card {
    transform: translate(0%, -10%);
    transition: transform 0.5s ease;
  }
  
  .package-card:hover {
    transform: translate(0%, -10%) scale(1.05);
  }
  
/* ===== PACKAGES PAGE ===== */

.packages-shell {
    min-height: 100vh;
    padding: 140px 24px 64px;
  
    /* Background image with transparency overlay */
    background: 
      linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), /* 45% dark overlay */
      url("Assets/Travel.jpg") center/cover no-repeat;
  
    color: #fff;  /* make text white for contrast */
  }
  
  .packages-panel {
    max-width: 1240px;
    margin: 0 auto;
    background: rgba(207, 212, 216, 0.9); /* 90% opacity */
    color: #0e1a1f;
    border-radius: 28px;
    padding: 28px 28px 20px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  }
  
  .packages-title {
    font-size: 28px;
    margin: 4px 0 18px;
    font-weight: 700;
  }
  
  /* Carousel container */
  .packages-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: transparent;
  }
  
  /* Track for sliding */
  .cards-track {
    display: flex;
    gap: 36px;
    transition: transform 0.5s ease;
  }
  
  /* Each poster */
  .pkg-card {
    flex: 0 0 280px;
    max-width: 300px;
    background: #e9edf1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
  }
  .pkg-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    cursor: zoom-in;
  }
  
  /* Controls row (Contact + arrows) */
  .controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 10px 8px;
  }
  
  .contact-pill {
    background: #ffffff;
    color: #111;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
  }
  
  /* Arrows */
  .arrow-cluster {
    display: flex;
    gap: 16px;
  }
  
  .arrow-btn {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: #eef2f5;
    color: #0b1a22;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
    transition: transform .15s ease, background .15s ease, opacity .15s ease;
    z-index: 5;
  }
  .arrow-btn:hover {
    transform: translateY(-2px);
    background: #ffffff;
  }
  .arrow-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  
  /* Lightbox */
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  .lightbox.show { display: flex; }
  
  .lightbox img {
    max-width: min(92vw, 1100px);
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
  }
  
  .lightbox-close {
    position: absolute;
    top: 22px;
    right: 28px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #111;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
  }
  
  /* Responsive */
  @media (max-width: 780px) {
    .packages-panel { padding: 24px 18px 16px; }
    .cards-track { gap: 22px; }
    .pkg-card { flex-basis: 78vw; max-width: 78vw; }
    .pkg-card img { height: 62vw; }
  }

/* ===== GALLERY PAGE ===== */

body.gallery-page {
    background:
      linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), /* 45% overlay */
      url("Assets/Gallerya.jpg") center/cover no-repeat;
    background-attachment: fixed; /* keeps the image in place */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    overflow-x: hidden;
  }
  
  
  /* Gallery Section */
  .gallery-section {
    padding: 140px 60px 80px;
    text-align: center;
    min-height: 100vh;
  }
  
  /* Title */
  .gallery-title {
    font-size: 40px;
    font-family: "Coco Gothic", sans-serif;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 40px;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  }
  
  /* Grid Layout */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
  }
  
  /* Image Box */
  .gallery-item {
    width: 100%;
    max-width: 500px;
    height: 300px;
    overflow: hidden;
    border-radius: 18px;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  /* Images */
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    cursor: pointer;
  }
  
  /* Hover effect */
  .gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.15);
  }
  
  .gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
  }
  
  /* Responsive (1 column on mobile) */
  @media (max-width: 768px) {
    .gallery-grid {
      grid-template-columns: 1fr;
    }
  
    .gallery-item {
      max-width: 100%;
      height: 250px;
    }
  }

/* ===== ABOUT PAGE ===== */

body.about-page {
    background: 
      linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), /* 45% dark overlay */
      url("Assets/Airport.jpg") center/cover no-repeat;
    background-attachment: fixed;
    color: #fff;
  }
  
  .about-shell {
    padding: 140px 24px 80px; /* clear fixed navbar */
    display: flex;
    justify-content: center;
  }
  
  .about-panel {
    width: 100%;
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    overflow: hidden;
  }
  
  /* Left column */
  .about-left {
    background: rgba(240, 243, 247, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 24px 48px;
  }
  
  .about-logo {
    width: 160px;
    height: auto;
    margin-bottom: 18px;
  }
  
  .about-brand {
    font-size: 24px;
    font-weight: 800;
    margin: 4px 0 4px;
    color: #111827;
  }
  
  .about-tagline {
    font-size: 14px;
    color: #4b5563;
  }
  
  /* Right column */
  .about-right {
    background: rgba(255, 255, 255, 0.97);
    padding: 36px 32px 48px;
    color: #111;
  }
  
  .about-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
  }
  
  .about-text {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 18px;
    max-width: 56ch;
  }
  
  /* Services block */
  .services-chip {
    display: inline-block;
    background: #1f2937;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  .services-list {
    margin-top: 8px;
    padding-left: 24px;
    color: #1f2937;
    line-height: 1.7;
  }
  
  /* Responsive */
  @media (max-width: 900px) {
    .about-panel {
      grid-template-columns: 1fr;
    }
    .about-left {
      padding: 28px 20px 24px;
    }
    .about-right {
      padding: 28px 22px 36px;
    }
    .about-title { font-size: 30px; }
  }  

/* ===== CONTACT PAGE ===== */

body.contact-page{
  /* 45% overlay on top of cont.jpg */
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url("Assets/Contact.jpg") center/cover no-repeat;
  background-attachment: fixed;
  color:#111;

  /* Make footer stick to bottom nicely */
  display:flex;
  flex-direction:column;
  min-height:100vh;
  margin:0;
}

/* Slightly darker navbar on this page for contrast */
body.contact-page .navbar{
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(6px);
}

/* Main container */
.contact-shell{
  flex:1;
  padding: clamp(96px, 12vh, 140px) 24px 80px; /* clears fixed navbar responsively */
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

/* Title */
.contact-title{
  color:#fff;
  font-size:44px;
  font-weight:800;
  letter-spacing:1px;
  margin:10px 0 22px;
  text-shadow:0 2px 10px rgba(0,0,0,.5);
  text-align:center;
}

/* Card */
.contact-card{
  width:min(92vw, 720px);
  max-width:100%;
  background: rgba(230,235,240,.9);
  border-radius:28px;
  padding:28px 28px 24px;
  box-shadow:0 16px 40px rgba(0,0,0,.30);
}

/* Rows */
.line{
  display:grid;
  grid-template-columns:76px 1fr;
  gap:18px;
  align-items:center;
  padding:18px 6px;
}

/* Icons */
.icon{
  width:76px;
  height:76px;
  border-radius:50%;
  border:3px solid #111;
  display:grid;
  place-items:center;
  background:#fff;
}
.icon svg{
  width:34px;
  height:34px;
  fill:#111;
}

/* Text */
.text{
  font-size:24px;
  line-height:1.35;
  color:#111;
}
.text .link{
  color:#111;
  text-decoration:none;
  border-bottom:2px solid transparent;
  transition:border-color .2s ease;
}
.text .link:hover{ border-color:#111; }

/* Copy toast (kept in case you add JS later) */
.toast{
  position:fixed;
  left:50%;
  bottom:26px;
  transform:translateX(-50%) translateY(20px);
  background:#111;
  color:#fff;
  padding:10px 16px;
  border-radius:999px;
  font-size:14px;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
}
.toast.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

/* Footer */
footer{
  background:rgba(0,0,0,.85);
  color:#fff;
  text-align:center;
  padding:15px 0;
  font-size:14px;
}
.footer-text{ color:#ddd; }

/* ===== Responsive ===== */

@media (max-width: 900px){
  .contact-title{ font-size:38px; }
}

@media (max-width: 640px){
  .contact-title{ font-size:32px; }
  .contact-card{ border-radius:20px; padding:22px; }
  .line{ grid-template-columns:56px 1fr; gap:14px; padding:14px 0; }
  .icon{ width:56px; height:56px; }
  .icon svg{ width:26px; height:26px; }
  .text{ font-size:18px; }
}

@media (max-width: 380px){
  .contact-title{ font-size:28px; }
  .text{ font-size:17px; }
}

  /* ===== GLOBAL RESPONSIVE TUNING ===== */
@media (max-width: 1200px) {
    .hero-content h1 { font-size: 84px; }
    .hero-content h2 { font-size: 32px; }
    .packages-panel { padding: 24px; }
    .about-panel   { max-width: 1000px; }
  }
  
  @media (max-width: 992px) {
    .navbar { padding: 12px 24px; }
    .navbar ul { gap: 24px; }
    .navbar a  { font-size: 16px; }
    .logo img  { height: 50px; }
  
    .hero-content h1 { font-size: 64px; }
    .hero-content h2 { font-size: 28px; }
  
    .packages-shell { padding: 120px 18px 56px; }
  
    /* About: make card breathe a bit on tablet */
    .about-shell { padding: 120px 18px 64px; }
    .about-right { padding: 28px 24px 36px; }
    .about-title { font-size: 32px; }
  }
  
  /* ===== LEARN MORE / PACKAGES GRID CARDS ===== */
  @media (max-width: 900px) {
    /* About swaps to 1 column (you already do this at 900px; keep sizes comfy) */
    .about-title { font-size: 30px; }
    .about-text  { font-size: 15.5px; }
  }
  
  /* ===== MAIN MOBILE BREAKPOINT ===== */
  @media (max-width: 768px) {
    .navbar { padding: 10px 16px; }
    .navbar ul { gap: 16px; }
    .navbar a  { font-size: 14px; }
    .logo img  { height: 44px; }
  
    .hero-content h1 { font-size: 46px; }
    .hero-content h2 { font-size: 22px; }
    .hero-content .welcome { font-size: 13px; letter-spacing: 4px; }
  
    .packages-shell { padding: 110px 14px 48px; }
    .packages-panel { border-radius: 18px; }
  
    /* Fix the big desktop-only transform on the info card */
    .info-card {
      width: 100%;
      height: auto;
      transform: none;
      padding: 20px;
      border-radius: 16px;
    }
    .info-card h3 { font-size: 28px; margin-bottom: 10px; }
    .info-card p  { top: 0; font-size: 14.5px; margin-bottom: 16px; }
  
    .package-card { transform: none; border-radius: 16px; }
    .package-image { height: 52vw; max-height: 320px; }
  
    /* Packages carousel cards (narrower on phones) */
    .cards-track { gap: 22px; }
    .pkg-card { flex-basis: 78vw; max-width: 78vw; }
    .pkg-card img { height: 62vw; }
  
    /* Gallery 1-column on mobile (you already switch at 768; keep sizes uniform) */
    .gallery-section { padding: 120px 18px 56px; }
    .gallery-title   { font-size: 28px; }
    .gallery-item { max-width: 100%; height: 250px; border-radius: 14px; }
  
    /* About panel paddings */
    .about-panel { grid-template-columns: 1fr; border-radius: 14px; }
    .about-left  { padding: 24px 18px; }
    .about-logo  { width: 120px; }
    .about-brand { font-size: 20px; }
    .about-right { padding: 24px 18px 28px; }
    .about-title { font-size: 28px; }
    .services-chip { font-size: 13px; padding: 6px 10px; }
    .services-list { font-size: 15px; line-height: 1.6; }
  
    /* Contact */
    .contact-shell  { padding: 110px 16px 60px; }
    .contact-title  { font-size: 32px; }
    .contact-card   { width: 100%; padding: 22px; border-radius: 20px; }
    .line           { grid-template-columns: 56px 1fr; gap: 14px; padding: 14px 0; }
    .icon           { width: 56px; height: 56px; }
    .icon svg       { width: 26px; height: 26px; }
    .text           { font-size: 18px; }
  }
  
  /* ===== TIGHT PHONES (<=560) ===== */
  @media (max-width: 560px) {
    .navbar ul { gap: 12px; }
    .navbar a  { font-size: 13px; }
  
    .contact-title { font-size: 28px; }
    .text          { font-size: 17px; }
  }
  
  /* ===== VERY SMALL DEVICES (<=380) ===== */
  @media (max-width: 380px) {
    .navbar a { font-size: 12px; }
    .hero-content h1 { font-size: 36px; }
    .hero-content h2 { font-size: 18px; }
  
    .about-title { font-size: 24px; }
    .services-list { font-size: 14px; }
  }
  
  /* ===== INDEX: fluid hero type so it never overflows ===== */
.hero-content h1 {
    /* from 40px on phones to 120px on large screens */
    font-size: clamp(40px, 10vw, 120px) !important;
  }
  .hero-content h2 {
    font-size: clamp(18px, 4vw, 40px) !important;
  }
  .hero-content .welcome {
    font-size: clamp(12px, 2.2vw, 16px) !important;
    letter-spacing: clamp(2px, 0.8vw, 6px) !important;
  }
  
  /* Give the hero some side breathing room on tiny screens */
  @media (max-width: 640px) {
    .hero-content { padding: 0 16px; }
  }
  
  /* ===== NAVBAR: responsive hamburger ===== */
  
  /* Base toggle (hidden on desktop) */
  .nav-toggle {
    display: none;
    position: relative;
    width: 42px;
    height: 38px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 101; /* above the dropdown */
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    margin: 7px 0;
    transition: transform .25s ease, opacity .25s ease, width .25s ease;
  }
  
  /* Mobile layout */
  @media (max-width: 900px) {
    .navbar { padding: 12px 18px; }
    .logo img { height: 50px; }
  
    .nav-toggle { display: block; }
  
    /* Hide the desktop row of links and turn it into a dropdown */
    .navbar nav {
      position: fixed;
      top: 70px;               /* just under navbar */
      left: 0;
      right: 0;
      display: none;
      background: rgba(0,0,0,0.8);
      backdrop-filter: blur(6px);
      padding: 12px 18px;
      z-index: 100;
    }
  
    .navbar nav ul {
      flex-direction: column;
      gap: 12px;
    }
  
    .navbar nav a {
      font-size: 16px;
      padding: 10px 2px;
    }
  
    /* When open */
    .navbar.open nav { display: block; }
  
    /* Toggle animation (X) */
    .navbar.open .nav-toggle span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }
    .navbar.open .nav-toggle span:nth-child(2) {
      opacity: 0;
    }
    .navbar.open .nav-toggle span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }
  }
  
  /* Extra-small phones */
  @media (max-width: 420px) {
    .navbar a { font-size: 14px; }
  }  

  /* --- Keep nav visible on desktop and above hero --- */
.navbar { z-index: 2000; }                  /* ensure it stays on top */
.navbar nav { display: block; }             /* visible by default on desktop */
.navbar nav ul { display: flex; gap: 40px; align-items: center; }

/* Subtle dark overlay on hero so text is readable across images */
.hero { position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);              /* gentle overlay */
  pointer-events: none;
}
.hero-content { position: relative; }       /* keep content above overlay */

/* --- Mobile hamburger behavior --- */
.nav-toggle {
  display: none;
  position: relative;
  width: 42px; height: 38px;
  border: none; background: transparent; cursor: pointer; z-index: 2100;
}
.nav-toggle span {
  display: block; height: 2px; background: #fff; margin: 7px 0;
  transition: transform .25s ease, opacity .25s ease;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  /* Turn the nav row into a dropdown on mobile */
  .navbar nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    display: none;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    padding: 12px 18px;
  }
  .navbar nav ul { flex-direction: column; gap: 12px; }
  .navbar nav a  { font-size: 16px; padding: 10px 2px; }

  /* When navbar has .open (set by JS), show menu */
  .navbar.open nav { display: block; }

  /* Animate hamburger to an X */
  .navbar.open .nav-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .navbar.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .navbar.open .nav-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Force desktop layout to ignore mobile dropdown styling */
@media (min-width: 901px) {
  .navbar nav {
    position: static;
    display: block !important;
    background: transparent; padding: 0;
  }
  .nav-toggle { display: none; }
}
