/* ============================================================
   MR. BEN JEEP TOURS – style.css
   Color Palette & Design System via CSS Custom Properties
   ============================================================ */

:root {
    /* Brand Colors – Dark (warm) */
    --color-bg: #1A0F0A;
    --color-bg-alt: #231709;
    --color-bg-card: #382010;

    /* Brand Colors – Light (white balance) */
    --color-bg-light: #FDFAF5;
    --color-bg-light-alt: #F5EDE0;
    --color-bg-card-light: #FFFFFF;

    /* Gold */
    --color-gold: #D4AF37;
    --color-gold-light: #FFD700;
    --color-gold-dark: #A8892A;

    /* Accent reds */
    --color-red: #8B0000;
    --color-orange: #C84B11;

    /* Text – dark mode */
    --color-text: #F5EFE6;
    --color-text-muted: #A89880;

    /* Text – light mode */
    --color-text-dark: #1A0F0A;
    --color-text-dark-muted: #7A6050;

    /* Borders */
    --color-border: rgba(212, 175, 55, 0.25);
    --color-border-hover: rgba(212, 175, 55, 0.75);
    --color-border-light: rgba(212, 175, 55, 0.3);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Poppins', system-ui, sans-serif;

    /* Spacing */
    --section-py: 100px;
    --container: 1200px;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --dur: 0.35s;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* ── Gold Text Utility ───────────────────────────────────── */
.gold-text {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
}

.btn-gold {
    background: transparent linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
    color: #1A0F0A;
    border: 2px solid transparent;
}

.btn-gold:hover {
    background: transparent linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.55);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline-gold:hover {
    background: #fff;
    color: #1a0f0a;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.8rem;
}

/* ── Section Shared ──────────────────────────────────────── */
.section {
    padding: var(--section-py) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 580px;
    margin-inline: auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 10px 0;
    transition: background var(--dur) var(--ease),
        padding var(--dur) var(--ease),
        border-color var(--dur) var(--ease);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(26, 15, 10, 0.97);
    padding: 5px 0;
    border-bottom-color: rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(8px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
    gap: 24px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: height var(--dur) var(--ease);
}

.navbar.scrolled .nav-logo-img {
    height: 58px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

/* Hidden on desktop, shown only in mobile overlay */
.nav-mobile-logo-item {
    display: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    transition: color var(--dur);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-gold);
    transition: width var(--dur) var(--ease);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: 16px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
    transition: all var(--dur) var(--ease);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    height: 100svh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('/assets/images/background/background.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(26, 15, 10, 0.45) 0%,
            rgba(26, 15, 10, 0.65) 50%,
            rgba(139, 0, 0, 0.35) 80%,
            rgba(26, 15, 10, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding-inline: 24px;
    animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffc300;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* ── Hero brand lockup (line 2 of title) ── */
.hero-brand-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.hero-title-with {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.5vw, 2.6rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(245, 239, 230, 0.85);
    line-height: 1;
}

.hero-brand-name {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1;
    gap: 3px;
}

/* "MR. BEN" — bold gold, matches logo */
.hero-brand-mr {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-gold);
    text-shadow: 0 2px 16px rgba(212, 175, 55, 0.35);
    line-height: 1;
    display: block;
}

/* "JEEP TOURS" — smaller, muted white, spaced out, matches logo */
.hero-brand-jeep {
    font-family: var(--font-sans);
    font-size: clamp(0.7rem, 1.4vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    color: rgba(245, 239, 230, 0.65);
    text-transform: uppercase;
    line-height: 1;
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(245, 239, 230, 0.85);
    max-width: 620px;
    margin-inline: auto;
    margin-bottom: 44px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll-hint i {
    color: var(--color-gold);
    font-size: 1rem;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ============================================================
   ABOUT – WHY CHOOSE US  (Light / White section)
   ============================================================ */
.about {
    background: var(--color-bg-light);
    /* Subtle warm top border to transition from dark hero */
    border-top: 4px solid var(--color-gold);
}

/* Override section-header text for light bg */
.about .section-eyebrow {
    color: var(--color-orange);
}

.about .section-title {
    color: var(--color-text-dark);
}

.about .section-subtitle {
    color: var(--color-text-dark-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin-inline: auto;
}

.feature-card {
    background: var(--color-bg-card-light);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(139, 60, 0, 0.06);
    transition: transform var(--dur) var(--ease),
        border-color var(--dur) var(--ease),
        box-shadow var(--dur) var(--ease);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.18);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin-inline: auto;
    margin-bottom: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(200, 75, 17, 0.12));
    border: 1px solid rgba(212, 175, 55, 0.35);
    font-size: 1.6rem;
    color: var(--color-gold-dark);
    transition: background var(--dur);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.32), rgba(200, 75, 17, 0.22));
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-dark-muted);
    line-height: 1.7;
}

/* ============================================================
   FEATURED TOURS
   ============================================================ */
.tours {
    background: var(--color-bg);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    justify-items: stretch;
}

/* Center the lone last card when 7 items show 3+3+1 */
.tours-grid .tour-card:last-child:nth-child(3n - 2) {
    grid-column: 2;
}

/* Tours slider wrapper – base */
.tours-slider-wrapper {
    position: relative;
}

/* Arrow buttons – hidden on desktop by default */
.tours-arrow {
    display: none;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--color-gold);
    background: rgba(26, 15, 10, 0.85);
    color: var(--color-gold);
    font-size: 0.9rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--dur) var(--ease);
    backdrop-filter: blur(6px);
}

.tours-arrow-prev {
    left: 4px;
}

.tours-arrow-next {
    right: 4px;
}

.tours-arrow:hover {
    background: var(--color-gold);
    color: #1A0F0A;
}

.tours-arrow:disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Dots indicator – hidden on desktop */
.tours-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.tours-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.tours-dot.active {
    background: var(--color-gold);
    transform: scale(1.3);
}

.tour-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--dur) var(--ease),
        border-color var(--dur) var(--ease),
        box-shadow var(--dur) var(--ease);
}

.tour-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: var(--color-gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.tour-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.tour-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.tour-card:hover .tour-img-wrap img {
    transform: scale(1.08);
}

.tour-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: #1A0F0A;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}

.sunset-badge {
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
    color: #fff;
}

.tour-body {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 12px;
    font-size: 0.76rem;
    color: var(--color-text-muted);
}

.tour-meta i {
    color: var(--color-gold);
    margin-right: 5px;
}

.tour-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.tour-desc {
    font-size: 0.88rem;
    color: #d5c5ae;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 22px;
}

.tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.tour-price {
    display: flex;
    align-items: center;
    gap: 0;
}

.price-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
    text-align: center;
}

.price-type {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0.75;
}

.price-amount {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-gold);
    white-space: nowrap;
}

.price-per {
    font-size: 0.68rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.price-divider {
    width: 1px;
    height: 32px;
    background: var(--color-border);
    flex-shrink: 0;
    margin: 0 6px;
}

/* ============================================================
   GALLERY  (Light / White section)
   ============================================================ */
.gallery {
    background: var(--color-bg-light-alt);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.gallery .section-eyebrow {
    color: var(--color-orange);
}

.gallery .section-title {
    color: var(--color-text-dark);
}

.gallery .section-subtitle {
    color: var(--color-text-dark-muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 14px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item.tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 15, 10, 0.85) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 18px;
    opacity: 0;
    transition: opacity var(--dur);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-gold);
    font-style: italic;
}

/* ============================================================
   CTA BANNER / CONTACT
   ============================================================ */
.cta-banner {
    position: relative;
    background: url('https://images.unsplash.com/photo-1473496169904-658ba7574b0d?auto=format&fit=crop&w=1920&q=80') center 60% / cover no-repeat;
    padding: 120px 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 15, 10, 0.92), rgba(139, 0, 0, 0.75));
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 18px;
}

.cta-sub {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 52px;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(42, 26, 16, 0.85);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px 28px;
    min-width: 220px;
    transition: border-color var(--dur), transform var(--dur), box-shadow var(--dur);
}

.contact-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.18);
}

.contact-card i {
    font-size: 1.6rem;
    color: var(--color-gold);
    flex-shrink: 0;
}

.contact-card div {
    text-align: left;
}

.cc-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 3px;
}

.cc-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding-top: 72px;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.6fr;
    gap: 48px;
}

.footer-brand .footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 22px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: all var(--dur);
}

.social-links a:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.footer-col ul li+li {
    margin-top: 10px;
}

.footer-col ul a {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    transition: color var(--dur);
}

.footer-col ul a:hover {
    color: var(--color-gold);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-contact li i {
    color: var(--color-gold);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.85rem;
}

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

.footer-bottom {
    text-align: center;
    padding: 24px;
    margin-top: 56px;
    border-top: 1px solid var(--color-border);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: #1A0F0A;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 888;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity var(--dur), transform var(--dur);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE – TABLET
   ============================================================ */
@media (max-width: 960px) {
    :root {
        --section-py: 72px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.tall {
        grid-row: auto;
    }

    .gallery-item.wide {
        grid-column: auto;
    }
}

/* ============================================================
   RESPONSIVE – MOBILE
   ============================================================ */
@media (max-width: 680px) {
    :root {
        --section-py: 56px;
    }

    /* Navbar mobile */
    .nav-links {
        position: fixed;
        inset: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 80px 40px 200px calc(30% + 20px);
        padding-left: 185px;
        gap: 28px;
        background: linear-gradient(to right,
                rgba(10, 5, 2, 0.65) 0%,
                rgba(10, 5, 2, 0.65) 30%,
                rgba(15, 8, 3, 0.97) 30%,
                rgba(15, 8, 3, 0.97) 100%);
        backdrop-filter: blur(12px);
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        z-index: 1000;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    /* KEY FIX: backdrop-filter on .navbar creates a new containing block,
       breaking position:fixed on child .nav-links (clips to navbar height).
       Remove it when menu is open to restore viewport as containing block. */
    .navbar:has(.nav-links.open) {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Mobile nav logo */
    .nav-mobile-logo-item {
        display: flex;
        justify-content: center;
        margin-bottom: 12px;
    }

    .nav-mobile-logo {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid var(--color-gold);
        box-shadow: 0 0 24px rgba(212, 175, 55, 0.3);
    }

    .nav-link {
        font-size: 1rem;
        color: var(--color-text);
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Reset navbar size for mobile */
    .navbar {
        padding: 12px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .nav-logo-img {
        height: 55px;
    }

    .navbar.scrolled .nav-logo-img {
        height: 44px;
    }

    /* Mobile nav layout: CSS Grid — logo LEFT, controls RIGHT */
    .nav-container {
        position: static;
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        /* col1=logo | col2=spacer | col3=lang | col4=hamburger */
        align-items: center;
    }

    .nav-logo {
        grid-column: 1;
        grid-row: 1;
        position: static;
        transform: none;
    }

    .nav-links {
        grid-column: 1 / -1;
        /* Hidden but keeps it in grid flow cleanly */
        grid-row: 1;
    }

    .lang-switcher {
        grid-column: 3;
        grid-row: 1;
        margin-left: 0;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        grid-column: 4;
        grid-row: 1;
    }

    /* Hero */
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    /* Tours – mobile horizontal slider */
    .tours-slider-wrapper {
        position: relative;
        /* Do NOT set overflow:hidden — it breaks child scroll */
    }

    .tours-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
        padding: 0;
        touch-action: pan-x;
        /* prevent vertical inner scroll while swiping */
    }

    .tours-grid::-webkit-scrollbar {
        display: none;
    }

    .tour-card {
        flex: 0 0 calc(100vw - 48px);
        width: calc(100vw - 48px);
        scroll-snap-align: start;
        max-width: 420px;
        margin: 0 8px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .tour-body {
        overflow: hidden;
        touch-action: pan-x;
    }

    /* Fix image overflow inside slider card */
    .tour-img-wrap {
        overflow: hidden;
        width: 100%;
    }

    .tour-img-wrap img {
        width: 100%;
        max-width: 100%;
        display: block;
    }

    /* Make Book Now button full-width on mobile */
    .tour-footer {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .tour-footer .btn-gold {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 14px;
        font-size: 0.95rem;
        letter-spacing: 0.12em;
    }

    .tour-price {
        justify-content: center;
    }

    /* Reset orphan centering + desktop grid override */
    .tours-grid .tour-card:last-child:nth-child(3n - 2) {
        grid-column: auto;
    }

    /* Arrow buttons */
    .tours-arrow {
        display: flex;
    }

    .tours-arrow-prev {
        left: 4px;
    }

    .tours-arrow-next {
        right: 4px;
    }

    /* Dots */
    .tours-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }


    /* Contact cards */
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 340px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: auto;
    }

    /* Language switcher: always visible, smaller on mobile */
    .lang-switcher {
        order: -1;
        /* move before hamburger */
    }

    .lang-code {
        display: none;
    }
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
    position: relative;
    z-index: 1002;
}

/* Trigger button */
.lang-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    cursor: pointer;
    transition: background var(--dur), border-color var(--dur);
    color: var(--color-text);
    font-family: var(--font-sans);
}

.lang-btn:hover,
.lang-btn.open {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--color-gold);
}

/* Flag image inside button & options */
.lang-flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    flex-shrink: 0;
}

/* Language code text */
.lang-code {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
}

/* Chevron arrow */
.lang-arrow {
    font-size: 0.6rem;
    transition: transform var(--dur) var(--ease);
}

.lang-arrow.rotated {
    transform: rotate(180deg);
}

/* Dropdown panel */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(26, 15, 10, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 6px;
    list-style: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    /* Hidden state */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease),
        transform 0.25s var(--ease);
}

.lang-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Each option row */
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background var(--dur);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.lang-option:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-text);
}

.lang-option.active {
    background: rgba(212, 175, 55, 0.14);
    color: var(--color-gold);
    font-weight: 600;
}

/* Gold dot indicator for active language */
.lang-option.active::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gold);
    margin-left: auto;
    flex-shrink: 0;
}