/* =============================
   BASE: HIDE MOBILE ELEMENTS ON DESKTOP
   ============================= */

   .mobile-header,
   .mobile-hero,
   .mobile-parks-hero,
   .mobile-search-box,
   .mobile-parks-search-box,
   .mobile-why,
   .mobile-popular-parks,
   .mobile-footer,
   #mobile-rides-modal {
     display: none !important;
   }

   /* Ensure mobile rides modal hidden on desktop but active on mobile */
#mobile-rides-modal {
    display: none; /* always hidden on desktop */
  }
  
  @media (max-width: 768px) {
    #mobile-rides-modal {
      display: none; /* hidden by default on mobile */
    }
    #mobile-rides-modal.active {
      display: flex !important; /* only visible when triggered */
    }
  }

/* =============================
   MOBILE VIEW
   ============================= */
@media (max-width: 768px) {

  /* ----------------------------
     GLOBAL CONTROLS (easy tuning)
  ---------------------------- */
  :root {
    --mobile-logo-width: 160px;
    --mobile-burger-size: 21px;
    --mobile-menu-width: 49%;
    --mobile-menu-overlay-opacity: 0.65;
    --mobile-menu-font-size: 1.4rem;
    --mobile-menu-font-weight: 600;
    --mobile-menu-gap: 1.6rem;

    --mobile-hero-height: 60vh;
    --mobile-hero-fit: cover;
    --mobile-hero-zoom: 1.05;
    --mobile-hero-brightness: 0.9;
    --mobile-hero-overlay-opacity: 0.35;
    --mobile-hero-h1: 1.9rem;
    --mobile-hero-p: 1rem;
  }

  /* ----------------------------
     HIDE DESKTOP ELEMENTS
  ---------------------------- */
  .site-header,
  .hero,
  .carousel-controls,
  .why,
  .site-footer {
    display: none !important;
  }

/* ----------------------------
   SHOW MOBILE ELEMENTS
---------------------------- */
.mobile-header,
.mobile-hero,
.mobile-parks-hero,
.mobile-search-box,
.mobile-parks-search-box,
.mobile-why,
.mobile-popular-parks,
.mobile-footer {
  display: block !important;
}

  /* ----------------------------
     MOBILE HEADER
  ---------------------------- */
  .mobile-header {
    position: relative;
    z-index: 1000;
    background: #fff;
  }

  .mobile-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .mobile-logo {
    width: var(--mobile-logo-width);
    height: auto;
  }

    /* ----------------------------
     MOBILE HEADER LOGO (Consistent sizing + alignment)
  ---------------------------- */
  .mobile-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: var(--mobile-logo-width);
    height: auto;
  }

  .mobile-logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 42px; /* adjust to match the parks page header height */
  }

  /* ----------------------------
     BURGER MENU
  ---------------------------- */
  .mobile-burger {
    width: var(--mobile-burger-size);
    height: var(--mobile-burger-size);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: 0;
    cursor: pointer;
    z-index: 1002;
  }

  .mobile-burger span {
    height: 3px;
    width: 100%;
    background: #000;
    border-radius: 2px;
    transition: 0.3s ease;
  }

  /* Burger active (X animation) */
  .mobile-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-burger.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* ----------------------------
     MENU OVERLAY
  ---------------------------- */
  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, var(--mobile-menu-overlay-opacity));
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* ----------------------------
     SLIDE-OUT MENU
  ---------------------------- */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: var(--mobile-menu-width);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem 2rem 2rem;
    transition: right 0.35s ease;
    z-index: 9999;
  }

  .mobile-menu.active {
    right: 0;
  }

  /* ----------------------------
     NAV LINKS
  ---------------------------- */
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--mobile-menu-gap);
  }

  .mobile-nav-links a {
    font-size: var(--mobile-menu-font-size);
    font-weight: var(--mobile-menu-font-weight);
    color: #000;
    text-decoration: none;
    transition: color 0.25s, transform 0.25s;
  }

  .mobile-nav-links a:hover {
    color: var(--brand, #40768e);
    transform: translateX(6px);
  }

  .mobile-nav-links a.active {
    color: var(--brand, #40768e);
    font-weight: 700;
    position: relative;
  }

  .mobile-nav-links a.active::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--brand, #40768e);
    border-radius: 50%;
  }

     /* ----------------------------
     SOCIAL ICONS (directly below nav links)
  ---------------------------- */
  .mobile-social {
    display: flex;
    gap: 1rem;               /* space between icons */
    margin-bottom: 0.5rem;   /* slight breathing space before next section */
  }

  .mobile-social img {
    width: 26px;
    height: 26px;
    filter: invert(0) brightness(0);
    transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
  }

  .mobile-social a:hover img {
    transform: scale(1.1);
    opacity: 1;
    filter: invert(0.5) sepia(1) hue-rotate(160deg) saturate(3);
  }

  @media (prefers-color-scheme: dark) {
    .mobile-social img {
      filter: invert(1) brightness(1);
    }
  }

  /* ----------------------------
     TIGHTER SPACING FOR MOBILE MENU
  ---------------------------- */
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* stack top-down naturally */
    align-items: flex-start;
    gap: 0; /* remove large internal gaps */
    padding: 4rem 2rem 2rem;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem; /* spacing between menu items */
  }

  .mobile-social {
    margin-top: 2.5rem !important; /* tighter gap under nav links */
    align-self: left; /* centre icons horizontally */
  }

  /* ----------------------------
     MOBILE HERO CONTAINER
  ---------------------------- */
  .mobile-hero {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .mobile-hero-inner {
    position: relative;
    width: 100%;
    height: var(--mobile-hero-height);
    min-height: 280px;
    overflow: hidden;
  }

  .mobile-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .mobile-hero-text {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 271px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 12px 14px;
    border-radius: 12px;
    line-height: 1.3;
    text-align: left;
  }

  .mobile-hero-text h1 {
    font-size: var(--mobile-hero-h1);
    margin: 0 0 6px;
  }

  .mobile-hero-text p {
    font-size: var(--mobile-hero-p);
    margin: 0;
  }

  /* ----------------------------
     MOBILE SEARCH BOX (GLASSY)
  ---------------------------- */
  .mobile-search-box {
    width: 88%;
    margin: -240px auto 24px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(14px);
    border: 2px solid var(--brand, #40768e);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  }

  .mobile-search-box .fields-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-search-box input,
  .mobile-search-box select {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.75);
    color: #000;
  }

  /* greyed-out placeholder text */
  .mobile-search-box input::placeholder {
    color: #888;
    opacity: 1;
  }

  .mobile-search-box select:invalid {
    color: #888;
  }

  .mobile-search-box .btn-primary {
    width: 75%;
    border-radius: 10px;
    font-weight: 600;
    padding: 12px;
    font-size: 15px;
    background: linear-gradient(135deg, var(--brand, #40768e), var(--brand-dark, #305a72));
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
  }

  .mobile-search-box .btn-primary:hover {
    transform: translateY(-1px);
  }

  .search-overlap {
    display: none !important;
  }

  /* ----------------------------
     MOBILE WHY SECTION (group control)
  ---------------------------- */
  .mobile-why {
    display: block;
    width: 100%;
    background: #f8f8f8;
    padding: 2rem 1rem;
    text-align: center;
  }

  .mobile-why h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    color: #222;
  }

  .mobile-why-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--mobile-why-gap, -0.5rem);
    flex-wrap: nowrap;
    transform: scale(var(--mobile-why-scale, 1));
    margin: var(--mobile-why-margin, 0 auto);
  }

  .mobile-why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mobile-why-icon {
    width: var(--mobile-why-icon-size, 60px);
    height: var(--mobile-why-icon-size, 60px);
    margin-bottom: 0.5rem;
  }

  .mobile-why-item p {
    font-size: var(--mobile-why-font-size, 0.95rem);
    font-weight: 500;
    color: #333;
    margin: 0;
  }

/* =============================
   MOBILE POPULAR PARKS SECTION
   ============================= */
  
/* Hide desktop popular parks */
.popular-parks {
    display: none !important;
  }
  
  /* --- Container --- */
  .mobile-popular-parks {
    display: block;
    background: #f9fafb;
    text-align: center;
    padding: 2rem 0 1rem;
    position: relative;
  }
  
  .mobile-popular-container {
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
  }
  
  /* --- Heading --- */
  .mobile-popular-parks h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #222;
    text-align: center;
    padding-left: 1.2rem;
  }
  
  /* --- Carousel --- */
  .mobile-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    position: relative;
  
    /* padding removed, now uses spacer pseudo */
    padding: 0 0 1.2rem 0;
  }
  .mobile-carousel::-webkit-scrollbar {
    display: none;
  }
  
  /* Invisible spacer before first card — creates a natural starting gap */
  .mobile-carousel::before {
    content: "";
    flex: 0 0 1rem; /* defines visible gap on load */
    scroll-snap-align: start;
  }
  
  /* --- Card styling --- */
  .mobile-carousel .park-card {
    flex: 0 0 70%;
    max-width: 70%;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid var(--brand, #40768e);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease;
  }
  .mobile-carousel .park-card:hover {
    transform: translateY(-3px);
  }
  
  /* --- Image --- */
  .mobile-carousel .image-wrapper {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
  }
  .mobile-carousel .image-wrapper img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  .mobile-carousel .flag-badge {
    position: absolute;
    top: 6px;
    left: 8px;
    font-size: 40px;
  }
  
  /* --- Content --- */
  .mobile-carousel .park-card-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
  }
  .mobile-carousel .park-card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
  }
  .mobile-carousel .park-card-content .location {
    font-size: 0.9rem;
    color: var(--muted, #666);
    margin-bottom: 10px;
  }
  .mobile-carousel .rides a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand, #40768e);
    text-decoration: none;
  }
  
  /* --- Centred button --- */
  .mobile-carousel .buy-btn {
    display: block;
    width: 70%;
    margin: 0.8rem auto 0;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    background: linear-gradient(
      135deg,
      var(--brand, #40768e),
      var(--brand-dark, #305a72)
    );
  }

  /* =============================
   MOBILE FOOTER
   ============================= */
.mobile-footer {
    display: block;
    background: #40768e;
    color: #fff;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    line-height: 1.4;
  }
  
  .mobile-footer-inner {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .mobile-footer .tagline {
    font-size: 0.7rem;
    margin-top: 0.4rem;
  }

} /* closes the @media (max-width: 768px) block */

/* =============================
   MOBILE RIDES MODAL (CLEANER DESIGN)
   ============================= */
   @media (max-width: 768px) {
    .mobile-modal {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: rgba(0, 0, 0, 0.7);
      justify-content: center;
      align-items: center;
      padding: 1rem;
    }
  
    .mobile-modal.active {
      display: flex;
    }
  
    .mobile-modal-content {
      position: relative;
      width: 94%;
      max-width: 460px;
      max-height: 80vh;
      overflow-y: auto;
      background: #fff;
      border-radius: 12px;
      padding: 1rem 1rem 1.2rem;
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    }
  
    /* ---- Close Button ---- */
    .mobile-modal .close {
      position: absolute;
      top: 8px;
      right: 10px;
      font-size: 1.4rem;
      border: none;
      background: none;
      color: var(--brand, #40768e);
      cursor: pointer;
      z-index: 2;
    }
  
    /* ---- Title ---- */
    .mobile-modal h3 {
      margin: 0.5rem 0 0.8rem;
      font-size: 1.1rem;
      text-align: center;
      color: #222;
      font-weight: 700;
    }
  
    /* ---- Table Wrapper ---- */
    .mobile-modal .rides-table-wrapper {
      max-height: 65vh;
      overflow-y: auto;
    }
  
    /* ---- Table ---- */
    .mobile-modal .rides-table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed; /* ensures we can control column widths */
      font-size: 0.85rem;
      line-height: 1.3;
    }
  
    /* ---- Header ---- */
    .mobile-modal .rides-table th {
      background: #f2f2f2;
      font-weight: 600;
      padding: 8px 6px;
      text-align: left;
      border-bottom: 2px solid #ddd;
    }
  
    /* ---- Column Widths ---- */
    .mobile-modal .rides-table th:nth-child(1),
    .mobile-modal .rides-table td:nth-child(1) {
      width: 58%; /* Ride name */
    }
    .mobile-modal .rides-table th:nth-child(2),
    .mobile-modal .rides-table td:nth-child(2),
    .mobile-modal .rides-table th:nth-child(3),
    .mobile-modal .rides-table td:nth-child(3) {
      width: 21%; /* Min/Max */
      text-align: center;
    }
  
    /* ---- Cells ---- */
    .mobile-modal .rides-table td {
      padding: 7px 6px;
      border-bottom: 1px solid #eee;
      vertical-align: top;
      color: #333;
    }
  
    .mobile-modal .rides-table td.ride-name {
      font-weight: 500;
      word-break: break-word;
    }
  
    /* ---- Scrollbar styling ---- */
    .mobile-modal .rides-table-wrapper::-webkit-scrollbar {
      width: 6px;
    }
    .mobile-modal .rides-table-wrapper::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.2);
      border-radius: 6px;
    }

      /* =============================
     MOBILE PARKS SEARCH BOX
     ============================= */
  .mobile-parks-search-box {
    width: 88%;
    margin: -290px auto 24px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(14px);
    border: 2px solid var(--brand, #40768e);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  }

  .mobile-parks-search-box .fields-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-parks-search-box input,
  .mobile-parks-search-box select {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.75);
    color: #000;
  }

  .mobile-parks-search-box input::placeholder {
    color: #888;
    opacity: 1;
  }

  .mobile-parks-search-box select:invalid {
    color: #888;
  }

  .mobile-parks-search-box .btn-primary {
    width: 75%;
    border-radius: 10px;
    font-weight: 600;
    padding: 12px;
    font-size: 15px;
    background: linear-gradient(135deg, var(--brand, #40768e), var(--brand-dark, #305a72));
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
  }

  .mobile-parks-search-box .btn-primary:hover {
    transform: translateY(-1px);
  }

  /* Hide desktop parks search overlap on mobile */
  .search-overlap {
    display: none !important;
  }

  /* Hide mobile parks search box on desktop */
  @media (min-width: 769px) {
    .mobile-parks-search-box {
      display: none !important;
    }
  }

  .mobile-parks-search-box select.is-placeholder {
    color: #888;
  }

  /* ----------------------------
   HEIGHT + TYPE INLINE ROW
---------------------------- */
.height-type-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.height-type-row input,
.height-type-row select {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.75);
  color: #000;
}

/* Ensure placeholder text remains greyed out */
.height-type-row input::placeholder,
.height-type-row select:invalid {
  color: #888;
}

#mobile-parks-type.is-placeholder {
  color: #888;
}

#mobile-parks-type:not(:invalid) {
  color: #000;
}

/* =============================
   MOBILE PARKS RESULTS GRID
   ============================= */
   @media (max-width: 768px) {
    .parks-results .results-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
      margin-top: 1.2rem;
    }
  
    /* === Match desktop glass style, scaled for mobile === */
    .parks-results .park-card {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 280px; /* fixed height so rows stay even */
      border: 2px solid var(--brand, #40768e);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.25);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      transition: transform 0.25s ease;
    }
  
    .parks-results .park-card:hover {
      transform: translateY(-3px);
    }
  
    .parks-results .park-card img {
      width: 100%;
      height: 120px;
      object-fit: cover;
      border-top-left-radius: 14px;
      border-top-right-radius: 14px;
    }
  
    .parks-results .park-card-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      padding: 12px;
    }
  
    .parks-results .park-card-content h3 {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 4px;
      text-align: left;
      line-height: 1.2;
    }
  
    .parks-results .park-card-content .location {
      font-size: 0.85rem;
      color: var(--muted, #666);
      margin-bottom: 10px;
      text-align: left;
    }
  
    .parks-results .park-card-content .ride-summary {
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--brand-dark);
      text-align: center;
      margin-top: auto;
      margin-bottom: 10px;
      flex-shrink: 0;
    }
  
    .parks-results .park-card-content .buy-btn {
      display: block;
      margin: 0 auto;
      margin-top: auto;
      padding: 10px 18px;
      font-size: 0.85rem;
      font-weight: 600;
      border-radius: 10px;
      color: #fff;
      text-align: center;
      background-image:
        linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)),
        linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
      transition: transform 0.25s ease;
    }
  
    .parks-results .park-card-content .buy-btn:hover {
      transform: translateY(-2px);
    }
  
    /* centre pagination under grid */
    .pagination {
      display: flex;
      justify-content: center;
      margin-top: 1.4rem;
    }
  }
/* Match mobile Home .rides styling */
.parks-results .park-card-content .rides {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-dark);
  text-align: center;
  margin-bottom: 12px;
}

/* Force equal-width cards across all pages */
.parks-results .results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important; /* always two equal columns */
  gap: 14px;
  margin-top: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}

/* Ensure all park-cards take equal width and respect grid flow */
.parks-results .park-card {
  width: 100% !important;
  flex: 1 1 auto;
  min-width: 0;
}


  } /* closes the @media (max-width: 768px) block for rides modal */


  /* =============================
     MOBILE PARKS HERO SECTION
     ============================= */
  @media (max-width: 768px) {
    .mobile-parks-hero {
      position: relative;
      width: 100%;
      margin: 0;
      padding: 0;
    }
  
    .mobile-parks-hero-inner {
      position: relative;
      width: 100%;
      height: 60vh;
      min-height: 280px;
      overflow: hidden;
    }
  
    .mobile-parks-hero-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  
    .mobile-parks-hero-text {
      position: absolute;
      left: 16px;
      right: 16px;
      bottom: 320px;
      background: rgba(0, 0, 0, 0.45);
      color: #fff;
      padding: 12px 14px;
      border-radius: 12px;
      line-height: 1.3;
      text-align: left;
    }
  
    .mobile-parks-hero-text h1 {
      font-size: 1.8rem;
      margin: 0 0 6px;
    }
  
    .mobile-parks-hero-text p {
      font-size: 1rem;
      margin: 0;
    }
  
    /* Hide desktop parks hero on mobile */
    .parks-hero {
      display: none !important;
    }
  }
/* =============================
   MOBILE LANDING PAGE MODAL (match parks page)
   ============================= */
   @media (max-width: 768px) {
    .mobile-modal {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: rgba(0, 0, 0, 0.65);
      justify-content: center;
      align-items: center;
      padding: 1rem;
    }
  
    .mobile-modal.active {
      display: flex;
    }
  
    .mobile-modal-content {
      position: relative;
      width: 92%;
      max-width: 440px;
      max-height: 80vh;
      overflow-y: auto;
      background: rgba(255, 255, 255, 0.85);
      border: 2px solid var(--brand, #40768e);
      border-radius: 18px;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      padding: 1rem 1.2rem 1.4rem;
    }
  
    /* Close Button */
    .mobile-modal .close {
      position: absolute;
      top: 8px;
      right: 10px;
      font-size: 1.6rem;
      color: var(--brand, #40768e);
      background: none;
      border: none;
      cursor: pointer;
      font-weight: 700;
      z-index: 2;
    }
  
    /* Modal Title */
    .mobile-modal h3 {
      text-align: center;
      font-size: 1.15rem;
      font-weight: 700;
      color: #222;
      margin: 0.5rem 0 0.9rem;
    }
  
    /* Table Wrapper */
    .mobile-modal .rides-table-wrapper {
      max-height: 65vh;
      overflow-y: auto;
    }
  
    /* Table Styling (match parks page) */
    .mobile-modal .rides-table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
      font-size: 0.85rem;
      line-height: 1.4;
    }
  
    .mobile-modal .rides-table th {
      background: #f2f2f2;
      font-weight: 600;
      padding: 8px 6px;
      text-align: left;
      border-bottom: 2px solid #ddd;
    }
  
    .mobile-modal .rides-table td {
      padding: 7px 6px;
      border-bottom: 1px solid #eee;
      color: #333;
    }
  
    .mobile-modal .rides-table td.ride-name {
      font-weight: 500;
      word-break: break-word;
    }
  
    .mobile-modal .rides-table td.ride-min,
    .mobile-modal .rides-table td.ride-max {
      text-align: center;
      color: var(--brand-dark, #305a72);
    }
  
    .mobile-modal .rides-table tr.unavailable td {
      color: #aaa;
    }
  
    /* Scrollbar Styling */
    .mobile-modal .rides-table-wrapper::-webkit-scrollbar {
      width: 6px;
    }
    .mobile-modal .rides-table-wrapper::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.2);
      border-radius: 6px;
    }
  }