/* ==========================================================================
   Brianna Safaris — Main Stylesheet
   ========================================================================== */

:root {
    --primary: #B8860B;
    --primary-hover: #9A7209;
    --secondary: #1A1A1A;
    --accent: #C0392B;
    --green: #12463B;
    --green-hover: #0d332a;
    --text-main: #333333;
    --text-light: #777777;
    --white: #ffffff;
    --off-white: #F9F9F9;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--secondary); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }
.bg-light { background-color: var(--off-white); }
.bg-dark { background-color: var(--secondary); color: var(--white); }

.section-header { text-align: center; margin-bottom: 50px; }
.sub-title { display: block; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 3px; font-size: 0.85rem; margin-bottom: 15px; }
.main-title { font-size: 3rem; margin-bottom: 20px; }
.main-text { max-width: 700px; margin: 0 auto; color: var(--text-light); }
.section-footer-link { text-align: center; margin-top: 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 35px; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-radius: 2px; cursor: pointer; transition: var(--transition); border: 1px solid transparent; }
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(184, 134, 11, 0.4); }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* Top bar */
.top-bar { background-color: var(--secondary); color: rgba(255,255,255,0.7); font-size: 0.85rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); position: relative; z-index: 1002; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-info span { margin-right: 20px; display: inline-flex; align-items: center; gap: 8px; }
.top-info i { color: var(--primary); }
/* Accessibility: visually hides text while keeping it available to
   screen readers — used for form labels where a visible placeholder
   already conveys the same info visually, but a real <label> is still
   required for the field to have an accessible name. */
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.a11y-trigger { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--primary); color: var(--white); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3); cursor: pointer; z-index: 9999; transition: transform 0.3s; }
.a11y-trigger:hover { transform: rotate(90deg) scale(1.1); }
.a11y-panel { position: fixed; bottom: 90px; right: 30px; width: 280px; background: var(--white); box-shadow: 0 5px 25px rgba(0,0,0,0.2); border-radius: 8px; padding: 20px; z-index: 9999; display: none; opacity: 0; transform: translateY(20px); transition: all 0.3s ease; border: 1px solid #eee; }
.a11y-panel.show { display: block; opacity: 1; transform: translateY(0); }
.a11y-title { font-weight: 700; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.a11y-close { cursor: pointer; font-size: 1.2rem; background: none; border: none; color: inherit; padding: 0; }
.a11y-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.a11y-btn-sm { background: #f0f0f0; border: none; width: 35px; height: 35px; border-radius: 4px; cursor: pointer; font-weight: bold; color: #333; }
.a11y-btn-sm:hover { background: #e0e0e0; }

/* Header */
.main-header { position: fixed; top: 44px; left: 0; width: 100%; z-index: 1000; background: var(--white); box-shadow: var(--shadow-sm); transition: var(--transition); }
.main-header.scrolled { top: 0; }

/* When logged in, WordPress shifts normal page content down to clear the
   admin toolbar (32px on screens ≥783px wide, 46px below that) by adding
   margin-top to <html> — but that trick has no effect on position:fixed
   elements, since they're positioned against the viewport regardless of
   any ancestor's margin. Without this, the fixed header stays exactly
   where it was and ends up overlapping/hiding part of both the admin
   toolbar and the theme's own top-bar underneath it. Bumping the fixed
   header down by the same admin-bar height keeps everything stacking
   correctly instead of overlapping. */
body.admin-bar .main-header { top: 76px; } /* 44px + 32px admin bar */
body.admin-bar .main-header.scrolled { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .main-header { top: 90px; } /* 44px + 46px admin bar (mobile height) */
    body.admin-bar .main-header.scrolled { top: 46px; }
}
.header-wrap { display: flex; justify-content: space-between; align-items: center; height: 90px; gap: 20px; }
.logo { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--secondary); letter-spacing: -1px; flex-shrink: 0; }
.logo span { color: var(--primary); }
.logo.custom-logo-wrap { display: flex; align-items: center; }
.logo.custom-logo-wrap img { max-height: 60px; width: auto; display: block; }
.site-footer .logo.custom-logo-wrap img { max-height: 50px; filter: brightness(0) invert(1); }
.header-wrap nav { flex: 1 1 auto; min-width: 0; overflow: hidden; height: 100%; }
.nav-menu {
    display: flex; gap: 28px; height: 100%; align-items: center;
    flex-wrap: nowrap; white-space: nowrap;
    overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* old Edge/IE */
}
.nav-menu::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.nav-item { height: 100%; display: flex; align-items: center; white-space: nowrap; flex-shrink: 0; }
.nav-item .btn-primary { flex-shrink: 0; }
.nav-link { font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--secondary); position: relative; padding: 10px 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
.nav-item:hover .nav-link::after { width: 100%; }

/* Positioned relative to .main-header (the nearest positioned ancestor,
   since .nav-item is no longer position:relative) so it always spans
   the full header width correctly, regardless of which nav item
   triggered it or how far that item sits from the left edge. */
.dropdown { position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); box-shadow: var(--shadow-lg); padding: 40px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); border-top: 4px solid var(--primary); }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-container { display: grid; grid-template-columns: 300px 1fr 300px; gap: 40px; }
.mega-menu-title { font-size: 1.2rem; color: var(--primary); font-family: var(--font-heading); margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.mega-menu-list li { margin-bottom: 12px; }
.mega-menu-list a { color: var(--text-main); display: flex; justify-content: space-between; font-weight: 500; }
.mega-menu-list a:hover { color: var(--primary); padding-left: 5px; }
.mega-menu-list a i { font-size: 0.8rem; opacity: 0; transition: 0.3s; }
.mega-menu-list a:hover i { opacity: 1; }
.mega-menu-img img { width: 100%; height: 250px; object-fit: cover; border-radius: 4px; }

/* Hero */
.hero { min-height: 90vh; position: relative; display: flex; align-items: center; flex-direction: column; justify-content: center; padding-bottom: 40px; }
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 90vh; overflow: hidden; }
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: 16vh;
    opacity: 0; visibility: hidden; transition: opacity 1s ease;
    z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)); }
.hero-content { position: relative; z-index: 2; max-width: 800px; color: var(--white); }
.hero h1 { font-size: 4.5rem; color: var(--white); margin-bottom: 20px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero p { font-size: 1.3rem; margin-bottom: 30px; opacity: 0.9; font-weight: 300; }
.hero-btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Shared booking/search widget in the slider layout — pinned near the
   bottom of the hero so it never competes with the vertically-positioned
   slide title above it for the same space (they used to overlap because
   the widget's wrapper was a normal-flow flex child getting centered by
   .hero's own justify-content:center, landing right on top of the title). */
.hero-search-wrap { position: absolute; left: 0; right: 0; bottom: 90px; z-index: 5; }

/* Search/booking widget — shown on desktop as originally designed.
   Hidden only on mobile (see the max-width:992px responsive block below),
   where it was causing layout/overlap problems; the Book Now / Enquiry
   modals cover that role on small screens instead. */

.hero-slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.4);
    color: var(--white); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition);
}
.hero-slider-arrow:hover { background: var(--primary); border-color: var(--primary); }
.hero-slider-prev { left: 30px; }
.hero-slider-next { right: 30px; }
.hero-slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 10px; }
.hero-slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); }
.hero-slider-dot.active { background: var(--primary); width: 26px; border-radius: 6px; }

@media (max-width: 992px) {
    .hero-slider-arrow { display: none; }
}

@media (min-width: 1301px) and (max-width: 1600px) {
    .nav-menu { gap: 18px; }
    .nav-link { font-size: 0.78rem; letter-spacing: 0.5px; }
    .logo { font-size: 1.6rem; }
    .nav-item .btn-primary { padding: 8px 16px; font-size: 0.72rem; }
    .dropdown-container { grid-template-columns: 220px 1fr 220px; gap: 24px; }
}

/* Booking widget */
.booking-widget { background: var(--white); padding: 30px 40px; border-radius: 4px; box-shadow: var(--shadow-lg); position: relative; z-index: 10; margin-top: 40px; }
.booking-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: end; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: var(--secondary); margin-bottom: 8px; }
.form-group select, .form-group input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 2px; font-family: var(--font-body); color: var(--text-main); }
.form-group input:focus { border-color: var(--primary); outline: none; }

/* ==== Safari package cards (matches reference design) ==== */
.package-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.package-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.package-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid #eee; display: flex; }
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.pkg-thumb { position: relative; width: 42%; flex-shrink: 0; overflow: hidden; min-height: 220px; }
.pkg-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 1s; position: absolute; inset: 0; }
.package-card:hover .pkg-thumb img { transform: scale(1.08); }

.pkg-duration-badge-onimage {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 2px;
}

.pkg-content { padding: 28px 30px; flex-grow: 1; display: flex; flex-direction: column; }
.pkg-type-label { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.75rem; margin-bottom: 10px; display: block; }
.pkg-content h3 { font-size: 1.6rem; margin-bottom: 14px; }
.pkg-content h3 a { color: var(--secondary); }
.pkg-content h3 a:hover { color: var(--primary); }

.pkg-excerpt { color: var(--text-light); font-size: 0.92rem; margin-bottom: 18px; }

.pkg-actions { margin-top: auto; display: flex; gap: 0; }
.pkg-btn { padding: 12px 22px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.pkg-btn-view { background: var(--primary); color: var(--white); }
.pkg-btn-view:hover { background: var(--primary-hover); }
.pkg-btn-enquire {
    background: var(--green);
    color: var(--white);
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -12px;
}
.pkg-btn-enquire:hover { background: var(--green-hover); }

@media (max-width: 992px) {
    .package-grid, .package-grid.cols-3 { grid-template-columns: 1fr; }
    .package-card { flex-direction: column; }
    .pkg-thumb { width: 100%; height: 220px; }
}

/* Category section intro */
.category-section .section-header { margin-bottom: 40px; }

/* Package gallery (single package page) */
.pkg-gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pkg-gallery-item { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); transition: var(--transition); }
.pkg-gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pkg-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 992px) {
    .pkg-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Single package featured image — was showing at full natural height
   (often very tall on portrait/high-res uploads); capped to a sane,
   consistent banner height instead, cropped to fill via object-fit. */
.pkg-featured-img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 8px; margin-bottom: 30px; display: block; }

/* Day-by-Day Itinerary — stacked cards (single package page), replacing
   the old tabbed version. Simple top-to-bottom reading flow, no JS
   tab-switching required. */
.itinerary-section-stacked { padding-top: 10px; }
.itinerary-stacked-heading { font-size: 1.9rem; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--primary); display: inline-block; }
.itinerary-day-card { background: var(--off-white); border-left: 4px solid var(--primary); border-radius: 6px; padding: 26px 28px; margin-bottom: 20px; }
.itinerary-day-title { font-size: 1.25rem; margin-bottom: 12px; }
.itinerary-day-text { color: var(--text-main); line-height: 1.75; margin-bottom: 0; }
.itinerary-day-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,.08); font-size: .88rem; color: var(--text-light); }
.itinerary-day-meta i { color: var(--primary); margin-right: 6px; }

/* Highlights section (single package page, right after the overview) */
.pkg-highlights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; }
.pkg-highlight-item { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: var(--text-main); }
.pkg-highlight-item i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
@media (max-width: 768px) { .pkg-highlights-grid { grid-template-columns: 1fr; } }

/* What's Included / What's Excluded (single package page) */
.pkg-inclusions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pkg-inclusions-col { background: var(--off-white); border-radius: 8px; padding: 28px 30px; }
.pkg-inclusions-title { font-size: 1.15rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.pkg-inclusions-title.includes { color: #1e7a34; }
.pkg-inclusions-title.excludes { color: #a02622; }
.pkg-inclusions-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .93rem; color: var(--text-main); }
@media (max-width: 768px) { .pkg-inclusions-grid { grid-template-columns: 1fr; } }

/* References & Partners (backlinks) — single package page */
.pkg-backlinks-list { display: flex; flex-wrap: wrap; gap: 12px; }
.pkg-backlink-item {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--off-white); border: 1px solid #eee; border-radius: 20px;
    padding: 8px 18px; font-size: .85rem; color: var(--text-main); transition: var(--transition);
}
.pkg-backlink-item i { font-size: .75rem; color: var(--primary); }
.pkg-backlink-item:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pkg-backlink-item:hover i { color: var(--white); }

/* Itinerary tabs */
.itinerary-section { background-color: #f4f4f2; }
.tab-nav { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn { padding: 12px 30px; background: var(--white); border: 1px solid #ddd; cursor: pointer; font-weight: 600; font-family: var(--font-body); transition: var(--transition); }
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.tab-content { display: none; animation: fadeIn 0.5s; }
.tab-content.active { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.tab-content.active.no-image { grid-template-columns: 1fr; }
.day-number { font-size: 5rem; font-weight: 700; color: rgba(0,0,0,0.05); line-height: 1; margin-bottom: -30px; position: relative; z-index: 0; }
.day-content { position: relative; z-index: 1; padding-left: 20px; border-left: 3px solid var(--primary); }
.day-content h3 { font-size: 2rem; margin-bottom: 15px; }
.tab-img img { border-radius: 8px; box-shadow: var(--shadow-lg); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 0; box-shadow: var(--shadow-lg); background: var(--white); }
.contact-info { background: var(--primary); color: var(--white); padding: 60px; }
.contact-form-box { padding: 60px; }
.info-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.info-icon { width: 50px; height: 50px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }

/* Footer */
footer.site-footer { background: #111; color: #888; padding: 80px 0 20px; border-top: 5px solid var(--primary); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 60px; }
.footer-col h4 { color: var(--white); margin-bottom: 30px; font-size: 1.2rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { transition: 0.3s; display: block; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }
.newsletter input { width: 100%; padding: 15px; background: #222; border: 1px solid #333; color: var(--white); margin-bottom: 15px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 992px) {
    .hero { min-height: 60vh; }
    .hero-slider { height: 60vh; }
    .hero h1 { font-size: 2.4rem; }
    .hero-slide { padding-top: 14vh; height: 100%; }
    .hero-search-wrap { bottom: 20px; }
    .booking-widget { display: none; }
    .booking-form { grid-template-columns: 1fr; }
    .tab-content.active { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Nav collapses to the off-canvas mobile menu at a much higher width than
   the rest of the layout, because the number of menu items here can vary
   a lot (this theme supports a fully custom WordPress nav menu on top of
   the built-in Home/Destinations/Packages items). Rather than squeeze an
   unknown number of items into one row, we switch to the hamburger menu
   earlier — and as a second safety net, .nav-menu itself scrolls
   horizontally instead of wrapping/overlapping if it's ever still too
   wide above this breakpoint (e.g. an unusually long custom menu on a
   narrower desktop). */
@media (max-width: 1300px) {
    .nav-menu { display: flex; visibility: hidden; position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding-top: 90px; padding-bottom: 30px; box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right 0.4s, visibility 0.4s; z-index: 1001; overflow-x: visible; overflow-y: auto; }
    .nav-menu.active { visibility: visible; right: 0; }

    /* .nav-item had height:100% from the desktop rule above, which inside
       this column-direction menu made every item stretch to fill the
       entire viewport height — that's what was creating huge gaps and
       pushing "Book Now" off-screen. Reset to its natural content height
       and turn it into a normal, compact stacked list item instead. */
    .nav-item { height: auto; width: 100%; padding: 0 30px; }
    .nav-link { display: block; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.07); width: 100%; }
    .nav-item .btn-primary { display: inline-flex; margin: 20px 30px 0; width: calc(100% - 60px); justify-content: center; }

    .mobile-toggle {
        display: flex; align-items: center; justify-content: center;
        width: 42px; height: 42px; border-radius: 4px;
        font-size: 1.3rem; cursor: pointer;
        background: var(--off-white); border: 1px solid #e0e0e0; color: var(--secondary); padding: 0;
    }
    .dropdown { display: none; }
}
@media (min-width: 1301px) { .mobile-toggle { display: none; } }

/* Archive page */
.page-header-banner { background: var(--secondary); color: var(--white); padding: 160px 0 60px; text-align: center; }
.page-header-banner h1 { color: var(--white); font-size: 3rem; }
.breadcrumbs { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 10px; }
.breadcrumbs a { color: var(--primary); }
.archive-content { padding-top: 60px; }
.no-results { text-align: center; padding: 60px 0; color: var(--text-light); }

/* ==== Google Reviews section ==== */
.reviews-section { background: var(--off-white); }
.reviews-slider-wrap { position: relative; }
.reviews-slider {
    display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px;
}
.reviews-slider::-webkit-scrollbar { display: none; }
.review-card {
    scroll-snap-align: start; flex: 0 0 calc(33.333% - 16px);
    background: var(--white); border: 1px solid #eee; border-radius: 8px;
    padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.review-stars { color: var(--primary); margin-bottom: 14px; font-size: .95rem; letter-spacing: 2px; }
.review-text { color: var(--text-main); font-size: .95rem; line-height: 1.7; margin-bottom: 22px; flex-grow: 1; }
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.review-name { font-weight: 600; font-size: .92rem; }
.review-time { font-size: .78rem; color: var(--text-light); }
.review-time .fa-google { color: #4285F4; }
.reviews-slider-nav { display: flex; justify-content: center; gap: 14px; margin-top: 30px; }
.reviews-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ddd; background: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.reviews-arrow:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

@media (max-width: 992px) {
    .review-card { flex: 0 0 85%; }
}

/* ==== Our Partners section ==== */
.partners-section { background: var(--white); }
.partners-slider-wrap { position: relative; }
.partners-slider {
    display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px;
}
.partners-slider::-webkit-scrollbar { display: none; }
.partner-card {
    scroll-snap-align: start; flex: 0 0 calc(25% - 18px);
    background: var(--off-white); border: 1px solid #eee; border-radius: 8px;
    padding: 24px; text-align: center; transition: var(--transition);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.partner-card img { max-width: 100%; max-height: 70px; object-fit: contain; margin: 0 auto 14px; filter: grayscale(1); opacity: .75; transition: var(--transition); }
.partner-card:hover img { filter: grayscale(0); opacity: 1; }
.partner-name { font-size: .85rem; color: var(--text-light); margin: 0; }

@media (max-width: 992px) {
    .partner-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 600px) {
    .partner-card { flex: 0 0 75%; }
}

/* ==== Book Now / Enquiry modals ==== */
.bs-modal-overlay {
    position: fixed; inset: 0; z-index: 9998;
    background: rgba(17,17,17,.6);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.bs-modal-overlay.active { opacity: 1; visibility: visible; }
.bs-modal {
    background: var(--white); border-radius: 10px; width: 100%; max-width: 560px;
    max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg);
    padding: 30px 34px 34px; position: relative;
    transform: translateY(20px); transition: transform .25s ease;
}
.bs-modal-overlay.active .bs-modal { transform: translateY(0); }
.bs-modal-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 16px; margin-bottom: 18px; }
.bs-modal-header h3 { margin: 0; font-size: 1.5rem; display: flex; align-items: center; }
.bs-modal-close { background: none; border: none; font-size: 1.6rem; line-height: 1; color: #999; cursor: pointer; padding: 0 4px; }
.bs-modal-close:hover { color: var(--secondary); }
.bs-modal-package-line { background: var(--off-white); border-radius: 6px; padding: 10px 14px; margin: -6px 0 18px; font-size: .9rem; }
.bs-modal-package-line strong { color: var(--primary); }

.bs-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; }
.bs-field { margin-bottom: 16px; }
.bs-form-row .bs-field { margin-bottom: 0; }
.bs-field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--secondary); }
.bs-field label .req { color: #c0392b; }
.bs-field input, .bs-field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 4px;
    font-family: var(--font-body); font-size: .95rem; color: var(--text-main);
}
.bs-field input:focus, .bs-field textarea:focus { outline: none; border-color: var(--primary); }
.bs-field textarea { resize: vertical; }

.bs-security-check { background: var(--off-white); border-left: 4px solid var(--primary); border-radius: 6px; padding: 16px 18px; margin-bottom: 18px; }
.bs-security-check > label { font-weight: 600; margin-bottom: 10px; display: block; }
.bs-security-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bs-security-question { background: var(--white); border: 1px solid #ddd; border-radius: 4px; padding: 10px 16px; font-weight: 600; white-space: nowrap; }
.bs-security-row input { flex: 1; min-width: 120px; padding: 10px 14px; border: 1px solid #ddd; border-radius: 4px; }
.bs-security-hint { font-size: .82rem; color: var(--text-light); margin: 10px 0 0; }

.bs-terms-row { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text-light); margin-bottom: 20px; cursor: pointer; }
.bs-terms-row input { margin-top: 3px; flex-shrink: 0; }

.bs-modal-submit { width: 100%; justify-content: center; gap: 10px; font-size: .95rem; padding: 15px; }
.bs-modal-submit:disabled { opacity: .7; cursor: not-allowed; }

.bs-modal-message { padding: 14px 16px; border-radius: 6px; margin-bottom: 18px; font-size: .92rem; }
.bs-modal-message.success { background: #e6f4ea; color: #1e7a34; }
.bs-modal-message.error { background: #fdecea; color: #a02622; }

@media (max-width: 600px) {
    .bs-form-row { grid-template-columns: 1fr; gap: 16px; }
    .bs-modal { padding: 24px 20px 28px; }
}
