/* Luxovia overrides on top of archex style.css — keep all Archex values, patch only Luxovia-specific items */

/* Navbar: transparent + absolute at top, transitions to white + fixed on scroll */
.navbar {
    background: linear-gradient(to bottom, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 60%, transparent 100%) !important;
    border-bottom: none !important;
}

/* Logo sizing */
.navbar .logo img {
    max-height: 70px;
    width: auto;
    transition: opacity .3s;
}

/* Transparent nav: show primary (white) logo, hide dark logo */
.lx-logo-primary { display: block; mix-blend-mode: screen; }
.lx-logo-white   { display: none; }

/* When scrolled: white background, swap to dark/colored logo */
.nav-scroll {
    background: #fff !important;
    border-bottom: 1px solid rgba(0,0,0,.08) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,.06) !important;
}
.nav-scroll .logo img { max-height: 70px; }
.nav-scroll .lx-logo-primary { display: none; }
.nav-scroll .lx-logo-white   { display: block; mix-blend-mode: multiply; }
.nav-scroll .navbar-nav .nav-link { color: #1a1a1a !important; }
.nav-scroll .navbar-nav .nav-link:hover,
.nav-scroll .navbar-nav .active { color: #c5a47e !important; }
.nav-scroll .lx-archex-cta { border-color: #2a1a0e !important; color: #2a1a0e !important; }

/* Compact archex nav links */
.navbar .navbar-nav .nav-link { font-size: 13px !important; letter-spacing: 2px !important; padding-left: 10px !important; padding-right: 10px !important; }

/* Plan Your Safari CTA button — white outline over hero, dark on scroll */
.lx-archex-cta {
    top: 70px;
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.7);
    color: #fff !important;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 10px;
    text-decoration: none;
    transition: background .25s, border-color .25s, color .25s;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1.2;
    margin-top: 7.5px;
}
.lx-archex-cta:hover { background: #c5a47e !important; border-color: #c5a47e !important; color: #fff !important; }

/* Banner header used on inner pages */
.banner-header {
    height: 70vh;
    display: flex;
    align-items: center;
}

.banner-header .caption {
    width: 100%;
}

/* ── Lets Talk — full-bleed parallax, text right ── */
.lx-lets-talk { overflow: hidden; position: relative; min-height: 100vh !important; height: auto !important; }
.lx-lt-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Gradient: transparent on far left, dark on right — text sits on the dark zone */
    background: linear-gradient(
        to right,
        rgba(0,0,0,.10) 0%,
        rgba(0,0,0,.30) 42%,
        rgba(0,0,0,.62) 62%,
        rgba(0,0,0,.68) 100%
    );
    pointer-events: none;
    z-index: 1;
}
.lx-lt-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
.lx-lt-inner {
    text-align: left;
    padding: 80px 8vw 80px 0;
    position: relative;
    z-index: 2;
    width: 55%;
    max-width: 720px;
}
.lx-lt-eyebrow {
    font-family: var(--heading-font);
    font-size: clamp(16px, 1.6vw, 22px);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: none;
    color: #e8d9c0;
    margin-bottom: 14px;
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.lx-lt-heading {
    font-family: var(--heading-font);
    font-size: clamp(52px, 6vw, 100px);
    font-weight: 400;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.lx-lt-body {
    color: #fff !important;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 42px;
    max-width: 480px;
    text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.lx-lt-cta {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid rgba(255,255,255,.8);
    color: #fff !important;
    font-size: 11px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    text-decoration: none;
    font-family: Montserrat, sans-serif;
    transition: background .3s, border-color .3s;
    backdrop-filter: blur(2px);
}
.lx-lt-cta:hover { background: rgba(255,255,255,.18); border-color: #fff; color: #fff !important; }

@media (max-width: 768px) {
    .lx-lt-bg { justify-content: center; background-attachment: scroll; }
    .lx-lt-bg::after { background: rgba(0,0,0,.52); }
    .lx-lt-inner { width: 100%; max-width: 100%; padding: 80px 28px; text-align: center; }
    .lx-lt-body { max-width: 100%; }
}

/* Tours grid: override owl for grid layout on tours page */
.portfolio .row .item {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 20px;
    margin-bottom: 0;
}

.portfolio .row .item .img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}


/* Footer h2.footer-heading: semantic fix (was h3) — exact same appearance as old h3 */
.footer .top .item h2.footer-heading {
    color: #fff;
    font-size: 21px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 30px;
}

/* ── Mobile responsive overrides ─────────────────────────────────────────── */
@media (max-width: 991px) {
    /* Hamburger touch target: minimum 44×44px */
    .navbar-toggler {
        min-height: 44px;
        min-width: 44px;
        padding: 6px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile navbar collapse: solid dark background so links are readable on any hero */
    .navbar .navbar-collapse {
        background: rgba(18, 10, 4, 0.97) !important;
        border-top: 1px solid rgba(197, 164, 126, .15);
        padding: 8px 0 16px;
    }
    .navbar .navbar-nav .nav-link {
        color: #f4f0e7 !important;
        padding: 12px 20px !important;
        font-size: 12px !important;
        letter-spacing: 2.5px !important;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .navbar .navbar-nav .nav-link:last-child { border-bottom: none; }
    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .active { color: #c5a47e !important; }
    /* CTA in collapsed nav */
    .lx-archex-cta {
        display: block;
        margin: 12px 20px 4px;
        text-align: center;
        border-color: #c5a47e !important;
        color: #c5a47e !important;
        font-size: 11px !important;
    }

    /* Banner header: reduce height on mobile */
    .banner-header { height: 50vh; min-height: 260px; }
}

@media (max-width: 767px) {
    /* Lets-talk section: disable fixed background-attachment (breaks on iOS) */
    .lx-lt-bg { background-attachment: scroll !important; }

    /* Footer columns: ensure readable spacing */
    .footer .top .col-md-4,
    .footer .top .col-md-3 { margin-bottom: 32px; }
}

/* ── Mobile slide-in drawer ── */
.lx-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 1040;
    opacity: 0;
    transition: opacity .3s ease;
}
.lx-drawer-overlay.lx-open {
    display: block;
    opacity: 1;
}

.lx-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 88vw);
    height: 100dvh;
    background: #120a04;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: right .32s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.lx-drawer.lx-open {
    right: 0;
}

.lx-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 18px;
    border-bottom: 1px solid rgba(197, 164, 126, .12);
    flex-shrink: 0;
}
.lx-drawer-logo img {
    height: 36px;
    width: auto;
    display: block;
}
.lx-drawer-logo-text {
    font-family: var(--heading-font, serif);
    font-size: 22px;
    letter-spacing: 5px;
    color: #c5a47e;
}
.lx-drawer-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, .7);
    cursor: pointer;
    padding: 8px;
    margin-right: -8px;
    line-height: 1;
    transition: color .2s;
}
.lx-drawer-close:hover { color: #c5a47e; }

.lx-drawer-nav {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    flex: 1;
}
.lx-drawer-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.lx-drawer-nav li:first-child { border-top: none; }
.lx-drawer-nav a {
    display: block;
    padding: 16px 28px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: color .2s, padding-left .2s;
}
.lx-drawer-nav a:hover,
.lx-drawer-nav a.active {
    color: #c5a47e;
    padding-left: 34px;
}
.lx-drawer-nav a.active {
    border-left: 2px solid #c5a47e;
    padding-left: 26px;
}

.lx-drawer-footer {
    padding: 20px 24px 36px;
    flex-shrink: 0;
    border-top: 1px solid rgba(197, 164, 126, .12);
}
.lx-drawer-cta {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border: 1px solid #c5a47e;
    color: #c5a47e;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.lx-drawer-cta:hover {
    background: #c5a47e;
    color: #120a04;
}

/* Hide drawer on desktop */
@media (min-width: 992px) {
    .lx-drawer,
    .lx-drawer-overlay { display: none !important; }
}
