/*
|--------------------------------------------------------------------------
| Homepage-only visual upgrade — footer restored
|--------------------------------------------------------------------------
| Hero and wood background preserved exactly.
|--------------------------------------------------------------------------
*/

/* Homepage content sections use the wood image instead of solid colors. */
body:has(.hero--video) {
    background:
        linear-gradient(rgba(243, 237, 216, .82), rgba(243, 237, 216, .82)),
        url("../images/wood-light.jpg") center top / cover fixed;
}

body:has(.hero--video) .intro,
body:has(.hero--video) .tours,
body:has(.hero--video) .trail,
body:has(.hero--video) .destinations,
body:has(.hero--video) .blog-section,
body:has(.hero--video) .home-social {
    background:
        linear-gradient(rgba(247, 241, 223, .72), rgba(247, 241, 223, .72)),
        url("../images/wood-light.jpg") center / cover fixed;
}

/* ===================== VIDEO HERO ===================== */
.hero.hero--video {
    position: relative;
    min-height: clamp(520px, 78vh, 760px);
    height: auto;
    margin: 0;
    overflow: hidden;
    background: #1a1009;
}

.hero.hero--video .hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero.hero--video .hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(13, 8, 4, .82) 0%, rgba(13, 8, 4, .48) 50%, rgba(13, 8, 4, .1) 78%),
        linear-gradient(180deg, rgba(13, 8, 4, .18), rgba(13, 8, 4, .68));
}

.hero-copy {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: clamp(520px, 78vh, 760px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 72px;
    padding-bottom: 90px;
    color: #fff;
}

.hero-copy__eyebrow {
    margin: 0 0 16px;
    color: #e9c34f;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero-copy__title {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-family: var(--font-display, "Playfair Display", serif);
    font-size: clamp(2.6rem, 6.4vw, 5.8rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.035em;
    text-shadow: 0 8px 32px rgba(0, 0, 0, .38);
}

.hero-copy__title span {
    display: block;
    margin-top: 8px;
    color: #e9c34f;
    font-style: italic;
}

.hero-copy__text {
    max-width: 650px;
    margin: 24px 0 0;
    color: #f1e8d8;
    font-size: clamp(.98rem, 1.5vw, 1.14rem);
    line-height: 1.75;
}

.hero-copy__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.hero-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .035em;
    transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-button--gold {
    background: linear-gradient(135deg, #d7a637, #e9c34f);
    color: #2a1a0f;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
}

.hero-button--outline {
    border-color: rgba(255, 255, 255, .58);
    background: rgba(25, 15, 8, .22);
    color: #fff;
    backdrop-filter: blur(7px);
}

.hero-button--outline:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
}

.hero-copy__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 27px;
}

.hero-copy__trust span {
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(20, 12, 5, .24);
    color: #eadfce;
    font-size: .69rem;
    font-weight: 650;
    backdrop-filter: blur(5px);
}

.hero-scroll {
    position: absolute;
    right: 32px;
    bottom: 26px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-scroll i {
    position: relative;
    display: block;
    width: 1px;
    height: 42px;
    overflow: hidden;
    background: rgba(255, 255, 255, .28);
}

.hero-scroll i::after {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 1px;
    height: 20px;
    background: #e9c34f;
    animation: heroScrollLine 1.8s ease-in-out infinite;
}

.hero-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: heroTextCycle 12s ease-in-out infinite;
}

.hero-animate--1 { animation-delay: .2s; }
.hero-animate--2 { animation-delay: .65s; }
.hero-animate--3 { animation-delay: 1.1s; }
.hero-animate--4 { animation-delay: 1.5s; }
.hero-animate--5 { animation-delay: 1.9s; }

@keyframes heroTextCycle {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(5px);
    }
    9%,
    72% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
    88%,
    100% {
        opacity: 0;
        transform: translateY(-20px);
        filter: blur(3px);
    }
}

@keyframes heroScrollLine {
    0% { transform: translateY(0); }
    100% { transform: translateY(64px); }
}

@media (max-width: 760px) {
    body:has(.hero--video),
    body:has(.hero--video) .intro,
    body:has(.hero--video) .tours,
    body:has(.hero--video) .trail,
    body:has(.hero--video) .destinations,
    body:has(.hero--video) .blog-section,
    body:has(.hero--video) .home-social {
        background-attachment: scroll;
    }

    .hero.hero--video,
    .hero-copy {
        min-height: 640px;
    }

    .hero-copy {
        justify-content: flex-end;
        padding-top: 110px;
        padding-bottom: 76px;
    }

    .hero.hero--video .hero__scrim {
        background:
            linear-gradient(180deg, rgba(13, 8, 4, .15) 0%, rgba(13, 8, 4, .58) 47%, rgba(13, 8, 4, .9) 100%);
    }

    .hero-copy__title {
        font-size: clamp(2.35rem, 12vw, 4rem);
    }

    .hero-copy__text {
        font-size: .94rem;
        line-height: 1.6;
    }

    .hero-copy__actions {
        width: 100%;
    }

    .hero-button {
        flex: 1 1 180px;
    }

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-copy__trust {
        display: none;
    }

    .hero-copy__eyebrow {
        font-size: .62rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-animate {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
    }

    .hero-scroll i::after {
        animation: none;
    }
}

/* ========================================================================
   FOOTER RESTORE — these rules affect only the CTA and footer
   ======================================================================== */

body:has(.hero--video) .cta-strip {
    position: relative !important;
    z-index: 20 !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    overflow: visible !important;
    isolation: isolate;
}

body:has(.hero--video) footer.footer {
    position: relative !important;
    inset: auto !important;
    z-index: 20 !important;
    display: block !important;
    visibility: visible !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 1px !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    overflow: visible !important;
    isolation: isolate;
}

body:has(.hero--video) footer.footer .footer__grid {
    display: grid !important;
    visibility: visible !important;
    height: auto !important;
    opacity: 1 !important;
}

body:has(.hero--video) footer.footer .footer__bottom {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    opacity: 1 !important;
}

@media (max-width: 900px) {
    body:has(.hero--video) footer.footer .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 620px) {
    body:has(.hero--video) footer.footer .footer__grid {
        grid-template-columns: 1fr !important;
    }
}