/* =========================================================
   TEMASHIKA TRAVEL & TOURS
   Trips & Packages Page
   ========================================================= */


/* =========================================================
   1. PAGE HERO
   ========================================================= */

.page-hero {
    position: relative;

    min-height: 72svh;

    display: flex;

    align-items: flex-end;

    overflow: hidden;

    color: var(--color-white);

    background: var(--color-primary);
}


.page-hero__image {
    position: absolute;

    inset: 0;
}


.page-hero__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}


.page-hero__overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            105deg,
            rgba(10, 35, 29, 0.92) 0%,
            rgba(10, 35, 29, 0.68) 48%,
            rgba(10, 35, 29, 0.2) 100%
        );
}


.page-hero__container {
    position: relative;

    z-index: 2;

    width: 100%;

    padding-top:
        calc(
            var(--header-height) +
            4rem
        );

    padding-bottom:
        clamp(
            4rem,
            8vw,
            7rem
        );
}


.page-hero__content {
    max-width: 850px;
}


.page-hero__content .section-label {
    color: var(--color-gold-light);
}


.page-hero h1 {
    max-width: 800px;

    color: var(--color-white);

    font-size:
        clamp(
            4rem,
            8vw,
            8rem
        );

    line-height: 0.88;
}


.page-hero h1 span {
    display: block;

    color: var(--color-gold-light);
}


.page-hero p {
    max-width: 560px;

    margin-top: 1.75rem;

    color:
        rgba(
            255,
            255,
            255,
            0.74
        );

    font-size:
        clamp(
            0.9rem,
            1.5vw,
            1.1rem
        );

    line-height: 1.8;
}


/* =========================================================
   2. INTRODUCTION
   ========================================================= */

.trips-intro {
    background: var(--color-cream);
}


.trips-intro__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 0.85fr);

    gap:
        clamp(
            3rem,
            9vw,
            9rem
        );

    align-items: end;
}


.trips-intro h2 {
    max-width: 700px;

    font-size:
        clamp(
            3rem,
            6vw,
            6rem
        );
}


.trips-intro__text {
    max-width: 520px;

    padding-bottom: 0.5rem;
}


.trips-intro__text p {
    margin-bottom: 1.25rem;

    font-size: 0.9rem;

    line-height: 1.9;
}


.trips-intro__text p:first-child {
    color: var(--color-primary);

    font-family: var(--font-display);

    font-size: 1.65rem;

    line-height: 1.35;
}


/* =========================================================
   3. FEATURED TRIPS
   ========================================================= */

.featured-trips {
    background: var(--color-white);
}


.featured-trips .section-heading {
    align-items: flex-end;
}


.featured-trips .section-heading > p {
    max-width: 350px;

    margin-bottom: 0.45rem;

    color: var(--color-text-light);

    font-size: 0.78rem;

    line-height: 1.8;
}


/* =========================================================
   4. TOUR LIST
   ========================================================= */

.tour-list {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 1rem;
}


.tour-card {
    position: relative;

    min-height: 540px;

    overflow: hidden;

    border-radius: var(--radius-lg);

    background: var(--color-cream);
}


.tour-card--featured {
    grid-column: 1 / -1;

    min-height: 680px;
}


.tour-card__image {
    position: absolute;

    inset: 0;

    overflow: hidden;
}


.tour-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform
        900ms
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.tour-card:hover
.tour-card__image img {
    transform: scale(1.06);
}


.tour-card__overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(
                10,
                35,
                29,
                0.95
            ) 0%,
            rgba(
                10,
                35,
                29,
                0.55
            ) 45%,
            rgba(
                10,
                35,
                29,
                0.08
            ) 100%
        );
}


.tour-card:not(.tour-card--featured) {
    color: var(--color-white);
}


.tour-card:not(.tour-card--featured)
.tour-card__content {
    color: var(--color-white);
}


.tour-card__content {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    padding:
        clamp(
            1.5rem,
            4vw,
            3.25rem
        );
}


.tour-card__number {
    position: absolute;

    top:
        clamp(
            1.5rem,
            3vw,
            2.5rem
        );

    right:
        clamp(
            1.5rem,
            3vw,
            2.5rem
        );

    color:
        rgba(
            255,
            255,
            255,
            0.45
        );

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.08em;
}


.tour-card__tag {
    display: inline-flex;

    align-items: center;

    padding:
        0.4rem 0.75rem;

    margin-bottom: 1rem;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.28
        );

    border-radius:
        var(--radius-pill);

    color:
        var(--color-gold-light);

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

    font-size: 0.57rem;

    font-weight: 800;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    backdrop-filter: blur(8px);
}


.tour-card h3 {
    max-width: 650px;

    color: var(--color-white);

    font-size:
        clamp(
            2.5rem,
            5vw,
            5.5rem
        );

    line-height: 0.9;
}


.tour-card:not(.tour-card--featured) h3 {
    font-size:
        clamp(
            2.2rem,
            3.5vw,
            3.5rem
        );
}


.tour-card p {
    max-width: 520px;

    margin-top: 1rem;

    color:
        rgba(
            255,
            255,
            255,
            0.72
        );

    font-size: 0.78rem;

    line-height: 1.8;
}


.tour-card .text-link {
    margin-top: 1.3rem;
}


.text-link--light {
    color: var(--color-white);
}


.text-link--light i {
    color: var(--color-gold-light);
}


/* =========================================================
   5. CUSTOM TRIPS
   ========================================================= */

.custom-trips {
    background: var(--color-cream);
}


.custom-trips__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap:
        clamp(
            3rem,
            8vw,
            8rem
        );

    align-items: center;
}


.custom-trips__content {
    max-width: 520px;
}


.custom-trips__content h2 {
    font-size:
        clamp(
            3rem,
            5.5vw,
            5.5rem
        );
}


.custom-trips__content > p {
    max-width: 450px;

    margin-top: 1rem;

    font-size: 0.85rem;

    line-height: 1.85;
}


.custom-trips__content > p + p {
    margin-top: 0.8rem;
}


.custom-trips__content .btn {
    margin-top: 1.75rem;
}


/* =========================================================
   CUSTOM TRIP VISUAL
   ========================================================= */

.custom-trips__visual {
    position: relative;

    min-height: 600px;
}


.custom-trips__image {
    position: absolute;

    inset:
        0
        0
        0
        8%;
    
    overflow: hidden;

    border-radius:
        var(--radius-lg);
}


.custom-trips__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform
        900ms
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.custom-trips__visual:hover
.custom-trips__image img {
    transform: scale(1.04);
}


.custom-trips__badge {
    position: absolute;

    right: 0;

    bottom: 8%;

    display: flex;

    align-items: center;

    gap: 0.75rem;

    padding:
        1rem
        1.25rem;

    color: var(--color-white);

    background:
        var(--color-primary);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-lg);
}


.custom-trips__badge i {
    color: var(--color-gold-light);
}


.custom-trips__badge span {
    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}


/* =========================================================
   6. FINAL CTA
   ========================================================= */

.trips-cta {
    color: var(--color-white);

    background: var(--color-primary-dark);
}


.trips-cta__inner {
    position: relative;

    max-width: 900px;

    padding:
        clamp(
            3rem,
            7vw,
            6rem
        );

    overflow: hidden;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.1
        );

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            var(--color-primary) 0%,
            var(--color-primary-dark) 100%
        );
}


.trips-cta__inner::after {
    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    right: -120px;

    bottom: -170px;

    border-radius: 50%;

    border:
        1px solid
        rgba(
            201,
            164,
            92,
            0.22
        );
}


.trips-cta .section-label {
    color: var(--color-gold-light);
}


.trips-cta h2 {
    position: relative;

    z-index: 1;

    max-width: 750px;

    color: var(--color-white);

    font-size:
        clamp(
            3.2rem,
            7vw,
            7rem
        );

    line-height: 0.9;
}


.trips-cta p {
    position: relative;

    z-index: 1;

    max-width: 500px;

    margin-top: 1.25rem;

    color:
        rgba(
            255,
            255,
            255,
            0.68
        );

    font-size: 0.85rem;

    line-height: 1.8;
}


.trips-cta .btn {
    position: relative;

    z-index: 1;

    margin-top: 1.75rem;
}


/* =========================================================
   7. TABLET
   ========================================================= */

@media (max-width: 900px) {

    .trips-intro__grid {
        grid-template-columns: 1fr;

        gap: 3rem;
    }


    .trips-intro__text {
        max-width: 650px;
    }


    .tour-list {
        grid-template-columns: 1fr;
    }


    .tour-card--featured {
        grid-column: auto;

        min-height: 600px;
    }


    .tour-card {
        min-height: 480px;
    }


    .custom-trips__grid {
        grid-template-columns: 1fr;

        gap: 3rem;
    }


    .custom-trips__content {
        max-width: 650px;
    }


    .custom-trips__visual {
        min-height: 550px;
    }

}


/* =========================================================
   8. MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .page-hero {
        min-height: 68svh;
    }


    .page-hero__container {
        padding-top:
            calc(
                var(--header-height) +
                2rem
            );

        padding-bottom: 4rem;
    }


    .page-hero h1 {
        font-size:
            clamp(
                3.7rem,
                17vw,
                6rem
            );
    }


    .page-hero p {
        margin-top: 1.25rem;

        font-size: 0.85rem;
    }


    .trips-intro__grid {
        gap: 2.5rem;
    }


    .trips-intro__text p:first-child {
        font-size: 1.4rem;
    }


    .featured-trips .section-heading > p {
        max-width: 100%;
    }


    .tour-card--featured {
        min-height: 530px;
    }


    .tour-card {
        min-height: 430px;
    }


    .tour-card__content {
        padding: 1.5rem;
    }


    .tour-card h3,
    .tour-card:not(.tour-card--featured) h3 {
        font-size: 2.35rem;
    }


    .custom-trips__visual {
        min-height: 430px;
    }


    .custom-trips__image {
        inset: 0;
    }


    .custom-trips__badge {
        right: 1rem;

        bottom: 1rem;
    }


    .trips-cta__inner {
        padding: 2.5rem 1.5rem;
    }


    .trips-cta h2 {
        font-size:
            clamp(
                3rem,
                15vw,
                5rem
            );
    }

}


/* =========================================================
   9. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .page-hero {
        min-height: 62svh;
    }


    .tour-card--featured {
        min-height: 480px;
    }


    .tour-card {
        min-height: 390px;
    }


    .tour-card h3,
    .tour-card:not(.tour-card--featured) h3 {
        font-size: 2rem;
    }


    .custom-trips__visual {
        min-height: 360px;
    }


    .custom-trips__badge {
        padding:
            0.8rem
            1rem;
    }

}