/* =========================================================
   NARINA SAFARIS
   EXPERIENCES PAGE — CINEMATIC DARK THEME
========================================================= */

:root {
    --experience-forest: #05271a;
    --experience-forest-mid: #073323;
    --experience-forest-deep: #031b12;
    --experience-ink: #07100c;
    --experience-charcoal: #101614;

    --experience-cream: #f5f1e7;
    --experience-sage: #c7d6cc;
    --experience-muted: #9eafa5;

    --experience-line: rgba(255, 255, 255, 0.075);
    --experience-line-strong: rgba(255, 255, 255, 0.12);
}


/* =========================================================
   PAGE
========================================================= */

.experiences-page {
    position: relative;
    overflow: hidden;

    color: var(--experience-cream);

    background:
        radial-gradient(
            circle at 50% 8%,
            rgba(43, 101, 73, 0.18),
            transparent 25%
        ),
        linear-gradient(
            to bottom,
            #0d1511 0%,
            #08120e 24%,
            #041c13 60%,
            #020f0a 100%
        );
}


/* =========================================================
   HERO
========================================================= */

.experiences-hero {
    position: relative;

    min-height: 440px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #173429;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.055);
}


/* IMAGE */

.experiences-hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter:
        saturate(0.92)
        brightness(0.88)
        contrast(1.04);

    transform: scale(1.01);
}


/* CINEMATIC OVERLAY */

.experiences-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(2, 18, 11, 0.90) 0%,
            rgba(2, 18, 11, 0.35) 44%,
            rgba(2, 18, 11, 0.20) 70%,
            rgba(2, 18, 11, 0.42) 100%
        ),
        radial-gradient(
            circle at 50% 42%,
            rgba(0, 0, 0, 0.02),
            rgba(0, 0, 0, 0.34) 100%
        );
}


/* SOFT BLEND INTO NEXT SECTION */

.experiences-hero::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 120px;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(3, 18, 12, 0.28)
        );
}


/* HERO CONTENT */

.experiences-hero-content {
    position: relative;
    z-index: 2;

    width:
        calc(
            100% -
            (var(--site-gutter) * 2)
        );

    max-width: 850px;

    margin: 0 auto;

    text-align: center;

    transform: translateY(42px);
}


/* EYEBROW */

.experiences-hero-eyebrow {
    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    color:
        rgba(
            245,
            241,
            231,
            0.78
        );

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.17em;

    text-transform: uppercase;
}


.experiences-hero-eyebrow span {
    width: 34px;
    height: 2px;

    background: var(--narina-red);
}


/* HERO TITLE */

.experiences-hero h1 {
    margin: 0;

    color: var(--experience-cream);

    font-family: var(--font-heading);

    font-size:
        clamp(
            42px,
            4.4vw,
            64px
        );

    font-weight: 500;

    line-height: 0.98;

    letter-spacing: -0.04em;

    text-shadow:
        0 12px 40px
        rgba(0, 8, 5, 0.32);
}


.experiences-hero h1 em {
    display: block;

    color: #d3e0d8;

    font-weight: 500;
}


/* HERO DESCRIPTION */

.experiences-hero p {
    max-width: 650px;

    margin:
        20px
        auto
        0;

    color:
        rgba(
            245,
            241,
            231,
            0.76
        );

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   INTRO
========================================================= */

.experiences-intro {
    position: relative;

    padding:
        clamp(75px, 7vw, 105px)
        var(--site-gutter)
        58px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(48, 103, 75, 0.18),
            transparent 50%
        ),
        linear-gradient(
            to bottom,
            #09130f,
            #07130e
        );
}


/* SUBTLE TOP LIGHT */

.experiences-intro::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 60%;
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(255, 255, 255, 0.12),
            transparent
        );
}


.experiences-intro-container {
    position: relative;
    z-index: 1;

    width: 100%;

    max-width: 720px;

    margin: 0 auto;
}


.experiences-intro .section-eyebrow {
    justify-content: center;

    color:
        rgba(
            225,
            235,
            228,
            0.72
        );
}


.experiences-intro h2 {
    margin: 12px 0 0;

    color: var(--experience-cream);

    font-family: var(--font-heading);

    font-size:
        clamp(
            42px,
            4.5vw,
            62px
        );

    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -0.025em;
}


.experiences-intro p {
    max-width: 600px;

    margin:
        17px
        auto
        0;

    color:
        rgba(
            205,
            218,
            210,
            0.67
        );

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   EXPERIENCE SECTION
========================================================= */

.experiences-section {
    position: relative;

    padding:
        clamp(58px, 6vw, 85px)
        var(--site-gutter)
        clamp(100px, 9vw, 140px);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(31, 90, 62, 0.16),
            transparent 35%
        ),
        radial-gradient(
            circle at 8% 50%,
            rgba(32, 77, 56, 0.08),
            transparent 30%
        ),
        linear-gradient(
            to bottom,
            #07130e 0%,
            #041810 52%,
            #03140d 100%
        );
}


/* VERY SUBTLE TEXTURE / DEPTH */

.experiences-section::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: 0.35;

    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.018),
            transparent 28%,
            transparent 72%,
            rgba(255, 255, 255, 0.012)
        );
}


.experiences-container {
    position: relative;
    z-index: 1;

    width: 100%;

    max-width: 1280px;

    margin: 0 auto;
}


/* =========================================================
   GRID
========================================================= */

.experiences-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 22px;
}


/* =========================================================
   CARD
========================================================= */

.experience-card {
    position: relative;

    min-height: 540px;

    overflow: hidden;

    border-radius: 18px;

    color: #ffffff;

    background: #10241b;

    border:
        1px solid
        rgba(255, 255, 255, 0.085);

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, 0.28);

    isolation: isolate;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


/* CARD IMAGE */

.experience-card > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        saturate(0.92)
        brightness(0.93)
        contrast(1.03);

    transition:
        transform
            0.8s
            cubic-bezier(
                0.2,
                0.7,
                0.2,
                1
            ),
        filter 0.5s ease;
}


/* CARD GRADIENT */

.experience-card-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to top,

            rgba(2, 22, 14, 0.96)
                0%,

            rgba(3, 29, 18, 0.82)
                24%,

            rgba(3, 30, 19, 0.47)
                46%,

            rgba(3, 27, 17, 0.15)
                68%,

            rgba(3, 20, 13, 0.06)
                100%
        );

    transition:
        background 0.4s ease;
}


/* SUBTLE CARD INNER BORDER */

.experience-card::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 3;

    pointer-events: none;

    border-radius: inherit;

    box-shadow:
        inset
        0
        0
        0
        1px
        rgba(
            255,
            255,
            255,
            0.025
        );
}


/* CARD CONTENT */

.experience-card-content {
    position: absolute;

    z-index: 2;

    left: 0;
    right: 0;
    bottom: 0;

    padding:
        35px
        32px;
}


/* NUMBER */

.experience-number {
    margin-bottom: 14px;

    display: flex;
    align-items: center;

    gap: 10px;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.12em;
}


.experience-number span {
    width: 28px;
    height: 2px;

    background: var(--narina-red);
}


/* TYPE */

.experience-type {
    display: block;

    margin-bottom: 7px;

    color:
        rgba(
            255,
            255,
            255,
            0.64
        );

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


/* TITLE */

.experience-card h3 {
    margin: 0;

    color: #ffffff;

    font-family: var(--font-heading);

    font-size:
        clamp(
            31px,
            2.7vw,
            42px
        );

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -0.02em;

    text-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.20);
}


/* DESCRIPTION */

.experience-card p {
    max-width: 390px;

    margin-top: 12px;

    color:
        rgba(
            255,
            255,
            255,
            0.75
        );

    font-size: 13px;

    line-height: 1.65;
}


/* DISCOVER LINK */

.experience-explore {
    max-height: 0;

    margin-top: 0;

    display: flex;
    align-items: center;

    gap: 10px;

    overflow: hidden;

    color: #ffffff;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    opacity: 0;

    transform:
        translateY(10px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        max-height 0.35s ease,
        margin-top 0.35s ease;
}


.experience-explore > span {
    font-size: 16px;

    transition:
        transform
        0.3s ease;
}


/* =========================================================
   CARD HOVER
========================================================= */

.experience-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(
            255,
            255,
            255,
            0.15
        );

    box-shadow:
        0 30px 70px
        rgba(0, 0, 0, 0.42);
}


.experience-card:hover > img {
    transform:
        scale(1.065);

    filter:
        saturate(1)
        brightness(1)
        contrast(1.04);
}


.experience-card:hover
.experience-card-overlay {
    background:
        linear-gradient(
            to top,

            rgba(2, 22, 14, 0.97)
                0%,

            rgba(3, 29, 18, 0.76)
                30%,

            rgba(3, 30, 19, 0.32)
                60%,

            rgba(3, 20, 13, 0.04)
                100%
        );
}


.experience-card:hover
.experience-explore {
    max-height: 40px;

    margin-top: 18px;

    opacity: 1;

    transform:
        translateY(0);
}


.experience-card:hover
.experience-explore > span {
    transform:
        translateX(5px);
}


/* =========================================================
   CTA SECTION
========================================================= */

.experiences-cta {
    position: relative;

    padding:
        0
        var(--site-gutter)
        clamp(90px, 8vw, 125px);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(30, 96, 65, 0.20),
            transparent 46%
        ),
        linear-gradient(
            to bottom,
            #03140d,
            #061a12
        );
}


/* CTA TOP TRANSITION */

.experiences-cta::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 74%;
    height: 1px;

    transform:
        translateX(-50%);

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(255, 255, 255, 0.08),
            transparent
        );
}


/* CTA BOX */

.experiences-cta-box {
    position: relative;

    width: 100%;

    max-width: 1080px;

    margin: 0 auto;

    padding:
        42px
        50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 45px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 0%,
            rgba(63, 148, 102, 0.22),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #0d6545 0%,
            #095037 52%,
            #063b29 100%
        );

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 18px;

    box-shadow:
        0 22px 55px
        rgba(0, 0, 0, 0.30);
}


/* CTA LIGHT EFFECT */

.experiences-cta-box::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -120px;
    top: -180px;

    border-radius: 50%;

    pointer-events: none;

    background:
        rgba(
            255,
            255,
            255,
            0.055
        );

    filter:
        blur(2px);
}


.experiences-cta-box > div {
    position: relative;
    z-index: 1;

    max-width: 650px;
}


.experiences-cta-box > div > span {
    display: block;

    margin-bottom: 8px;

    color:
        rgba(
            255,
            255,
            255,
            0.60
        );

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.17em;

    text-transform: uppercase;
}


.experiences-cta-box h2 {
    margin: 0;

    color: #ffffff;

    font-family: var(--font-heading);

    font-size:
        clamp(
            30px,
            3vw,
            42px
        );

    font-weight: 600;

    line-height: 1.08;

    letter-spacing: -0.02em;
}


.experiences-cta-box p {
    margin-top: 9px;

    color:
        rgba(
            255,
            255,
            255,
            0.67
        );

    font-size: 12px;

    line-height: 1.65;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.experiences-cta-button {
    position: relative;
    z-index: 1;

    min-width: 180px;
    min-height: 52px;

    padding:
        0
        24px;

    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    color: #173429;

    background:
        var(--experience-cream);

    border:
        1px solid
        rgba(255, 255, 255, 0.4);

    border-radius: 30px;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.12);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.09em;

    text-transform: uppercase;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.experiences-cta-button svg {
    width: 17px;
    height: 17px;

    fill: none;

    stroke:
        currentColor;

    stroke-width: 1.5;

    transition:
        transform
        0.3s ease;
}


.experiences-cta-button:hover {
    color: #ffffff;

    background:
        var(--narina-red);

    transform:
        translateY(-2px);

    box-shadow:
        0 14px 32px
        rgba(0, 0, 0, 0.20);
}


.experiences-cta-button:hover svg {
    transform:
        translateX(5px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .experiences-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .experience-card {
        min-height: 500px;
    }


    .experiences-cta-box {
        padding:
            38px
            38px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    /* -----------------------------------------
       HERO
    ----------------------------------------- */

    .experiences-hero {
        min-height: 380px;
    }


    .experiences-hero-image {
        filter:
            saturate(0.95)
            brightness(0.82)
            contrast(1.03);
    }


    .experiences-hero-overlay {
        background:
            linear-gradient(
                to top,
                rgba(2, 18, 11, 0.92),
                rgba(2, 18, 11, 0.38) 55%,
                rgba(2, 18, 11, 0.40)
            );
    }


    .experiences-hero h1 {
        font-size: 40px;

        line-height: 1;
    }


    .experiences-hero-content {
        transform:
            translateY(32px);
    }


    .experiences-hero p {
        max-width: 92%;

        margin-top: 17px;

        font-size: 13px;

        line-height: 1.65;
    }


    /* -----------------------------------------
       INTRO
    ----------------------------------------- */

    .experiences-intro {
        padding:
            62px
            var(--site-gutter)
            42px;
    }


    .experiences-intro h2 {
        font-size: 39px;

        line-height: 1.06;
    }


    .experiences-intro p {
        font-size: 13px;

        line-height: 1.75;
    }


    /* -----------------------------------------
       GRID
    ----------------------------------------- */

    .experiences-section {
        padding:
            48px
            var(--site-gutter)
            72px;
    }


    .experiences-grid {
        grid-template-columns:
            1fr;

        gap: 17px;
    }


    /* -----------------------------------------
       CARD
    ----------------------------------------- */

    .experience-card {
        min-height: 470px;

        border-radius: 15px;

        box-shadow:
            0 18px 42px
            rgba(0, 0, 0, 0.28);
    }


    .experience-card-content {
        padding:
            28px
            24px;
    }


    .experience-card h3 {
        font-size: 34px;
    }


    .experience-card p {
        font-size: 12.5px;

        line-height: 1.6;
    }


    /*
       MOBILE HAS NO HOVER
       SO ALWAYS SHOW DISCOVER
    */

    .experience-explore {
        max-height: 40px;

        margin-top: 16px;

        opacity: 1;

        transform: none;
    }


    /* -----------------------------------------
       CTA
    ----------------------------------------- */

    .experiences-cta {
        padding:
            0
            var(--site-gutter)
            68px;
    }


    .experiences-cta-box {
        padding:
            34px
            25px;

        flex-direction: column;

        align-items: flex-start;

        gap: 26px;

        border-radius: 16px;
    }


    .experiences-cta-box h2 {
        font-size: 31px;

        line-height: 1.1;
    }


    .experiences-cta-box p {
        font-size: 12px;
    }


    .experiences-cta-button {
        width: 100%;

        min-height: 52px;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .experiences-hero h1 {
        font-size: 36px;
    }


    .experiences-intro h2 {
        font-size: 35px;
    }


    .experience-card {
        min-height: 445px;
    }


    .experience-card-content {
        padding:
            25px
            21px;
    }


    .experience-card h3 {
        font-size: 31px;
    }


    .experiences-cta-box {
        padding:
            30px
            22px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (
    prefers-reduced-motion:
    reduce
) {

    .experience-card,
    .experience-card > img,
    .experience-explore,
    .experience-explore > span,
    .experiences-cta-button,
    .experiences-cta-button svg {
        transition: none;
    }

}