/* =========================================================
   PJ TRAVEL & TOURS
   About & Destinations Page Styles
   ========================================================= */


/* =========================================================
   1. HERO
   ========================================================= */

.about-hero {
    min-height: 82svh;
}


.about-hero .page-hero__content {
    max-width: 900px;
}


.about-hero h1 {
    max-width: 850px;

    margin-bottom: 1.5rem;
}


/* =========================================================
   2. STORY
   ========================================================= */

.about-story {
    background: var(--color-white);
}


.about-story__grid {
    display: grid;

    grid-template-columns:
        0.85fr
        1.15fr;

    gap: 8rem;

    align-items: start;
}


.about-story__heading {
    position: sticky;

    top: 120px;
}


.about-story__heading .section-title {
    max-width: 480px;

    margin-bottom: 0;
}


.about-story__content {
    max-width: 650px;
}


.about-story__lead {
    margin-bottom: 2rem;

    color: var(--color-primary);

    font-family: var(--font-display);

    font-size: clamp(
        1.6rem,
        2.5vw,
        2.35rem
    );

    line-height: 1.25;

    letter-spacing: -0.02em;
}


.about-story__content
.section-description {
    margin-bottom: 1.35rem;
}


/* =========================================================
   3. FEATURE
   ========================================================= */

.about-feature {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    min-height: 760px;

    background: var(--color-primary);

    color: var(--color-white);
}


.about-feature__image {
    position: relative;

    min-height: 650px;

    overflow: hidden;
}


.about-feature__image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 70%,
            rgba(
                16,
                42,
                67,
                0.18
            )
        );
}


.about-feature__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1.2s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.about-feature:hover
.about-feature__image img {
    transform:
        scale(1.035);
}


.about-feature__content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        5rem
        clamp(
            3rem,
            7vw,
            8rem
        );
}


.about-feature__content
.section-label {
    color: var(--color-accent-light);
}


.about-feature__content h2 {
    max-width: 600px;

    margin-bottom: 1.5rem;

    color: var(--color-white);

    font-family: var(--font-display);

    font-size: clamp(
        3rem,
        5vw,
        5rem
    );

    line-height: 0.98;

    letter-spacing: -0.035em;
}


.about-feature__content > p {
    max-width: 540px;

    margin-bottom: 2.75rem;

    color: rgba(
        255,
        255,
        255,
        0.65
    );

    font-size: 0.92rem;

    line-height: 1.85;
}


/* =========================================================
   4. VALUES
   ========================================================= */

.about-values {
    max-width: 620px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.14
        );
}


.about-value {
    display: grid;

    grid-template-columns:
        50px
        1fr;

    gap: 1.25rem;

    padding-block: 1.6rem;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.14
        );
}


.about-value__number {
    color: var(--color-accent);

    font-family: var(--font-display);

    font-size: 0.85rem;
}


.about-value h3 {
    margin-bottom: 0.35rem;

    color: var(--color-white);

    font-family: var(--font-display);

    font-size: 1.25rem;
}


.about-value p {
    color: rgba(
        255,
        255,
        255,
        0.58
    );

    font-size: 0.8rem;

    line-height: 1.7;
}


/* =========================================================
   5. DESTINATIONS
   ========================================================= */

.destinations {
    background: var(--color-off-white);
}


.destinations__heading {
    display: grid;

    grid-template-columns:
        1fr
        0.8fr;

    gap: 6rem;

    align-items: end;

    margin-bottom: 4rem;
}


.destinations__heading .section-title {
    max-width: 650px;

    margin-bottom: 0;
}


.destinations__heading
.section-description {
    max-width: 500px;

    margin-bottom: 0;
}


/* =========================================================
   6. DESTINATION GRID
   ========================================================= */

.destinations__grid {
    display: grid;

    grid-template-columns:
        1.2fr
        0.8fr;

    grid-template-rows:
        360px
        360px;

    gap: 1rem;
}


.destination-card {
    position: relative;

    overflow: hidden;

    border-radius: var(--radius-md);

    background: var(--color-primary);
}


.destination-card--large {
    grid-row:
        span 2;
}


.destination-card__image {
    position: absolute;

    inset: 0;
}


.destination-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.destination-card:hover
.destination-card__image img {
    transform:
        scale(1.07);
}


.destination-card__overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(
                16,
                42,
                67,
                0.9
            ) 0%,
            rgba(
                16,
                42,
                67,
                0.32
            ) 50%,
            rgba(
                16,
                42,
                67,
                0.05
            ) 100%
        );
}


.destination-card__content {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    z-index: 2;

    padding: 2rem;
}


.destination-card__content > span {
    display: block;

    margin-bottom: 0.7rem;

    color: var(--color-accent-light);

    font-family: var(--font-display);

    font-size: 0.85rem;
}


.destination-card__content h3 {
    margin-bottom: 0.5rem;

    color: var(--color-white);

    font-family: var(--font-display);

    font-size: 2rem;

    line-height: 1.05;

    letter-spacing: -0.02em;
}


.destination-card__content p {
    max-width: 430px;

    color: rgba(
        255,
        255,
        255,
        0.7
    );

    font-size: 0.78rem;

    line-height: 1.7;
}


.destination-card--large
.destination-card__content h3 {
    font-size: clamp(
        2.5rem,
        4vw,
        4rem
    );
}


/* =========================================================
   7. DESTINATION CTA
   ========================================================= */

.destinations__cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 2rem;

    margin-top: 2rem;

    padding:
        1.5rem
        0;

    border-top:
        1px solid
        var(--color-border);
}


.destinations__cta p {
    margin: 0;

    color: var(--color-text-muted);

    font-size: 0.85rem;
}


/* =========================================================
   8. REASONS
   ========================================================= */

.about-reasons {
    background: var(--color-white);
}


.about-reasons__grid {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 8rem;

    align-items: start;
}


.about-reasons
.section-title {
    max-width: 520px;
}


.about-reasons
.section-description {
    max-width: 500px;

    margin-top: 1.5rem;
}


.reason-list {
    border-top:
        1px solid
        var(--color-border);
}


.reason-item {
    display: grid;

    grid-template-columns:
        55px
        1fr;

    gap: 1.25rem;

    padding-block: 2rem;

    border-bottom:
        1px solid
        var(--color-border);
}


.reason-item > span {
    color: var(--color-accent);

    font-family: var(--font-display);

    font-size: 0.9rem;
}


.reason-item h3 {
    margin-bottom: 0.45rem;

    color: var(--color-primary);

    font-family: var(--font-display);

    font-size: 1.5rem;
}


.reason-item p {
    max-width: 500px;

    color: var(--color-text-muted);

    font-size: 0.82rem;

    line-height: 1.8;
}


/* =========================================================
   9. CTA
   ========================================================= */

.about-cta {
    position: relative;

    overflow: hidden;

    padding-block:
        clamp(
            6rem,
            10vw,
            9rem
        );

    background:
        linear-gradient(
            135deg,
            var(--color-sand),
            var(--color-off-white)
        );
}


.about-cta::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    top: -400px;
    right: -150px;

    border:
        1px solid
        rgba(
            16,
            42,
            67,
            0.08
        );

    border-radius: 50%;
}


.about-cta::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    bottom: -280px;
    left: -150px;

    border:
        1px solid
        rgba(
            16,
            42,
            67,
            0.06
        );

    border-radius: 50%;
}


.about-cta__content {
    position: relative;

    z-index: 2;

    max-width: 900px;

    margin-inline: auto;

    text-align: center;
}


.about-cta .section-label {
    justify-content: center;

    color: var(--color-secondary);
}


.about-cta .section-label::before {
    display: none;
}


.about-cta h2 {
    max-width: 850px;

    margin:
        0
        auto
        1.5rem;

    color: var(--color-primary);

    font-family: var(--font-display);

    font-size: clamp(
        3rem,
        6vw,
        5.6rem
    );

    line-height: 0.98;

    letter-spacing: -0.04em;
}


.about-cta p {
    max-width: 560px;

    margin:
        0
        auto
        2rem;

    color: var(--color-text-muted);

    font-size: var(--text-lg);

    line-height: 1.8;
}


/* =========================================================
   10. TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .about-story__grid {
        gap: 4rem;
    }


    .about-feature__content {
        padding: 4rem;
    }


    .destinations__heading {
        gap: 4rem;
    }


    .about-reasons__grid {
        gap: 4rem;
    }

}


/* =========================================================
   11. MOBILE
   ========================================================= */

@media (max-width: 768px) {

    /* Hero */

    .about-hero {
        min-height: 75svh;
    }


    /* Story */

    .about-story__grid {
        grid-template-columns: 1fr;

        gap: 2.5rem;
    }


    .about-story__heading {
        position: static;
    }


    /* Feature */

    .about-feature {
        grid-template-columns: 1fr;
    }


    .about-feature__image {
        min-height: 400px;
    }


    .about-feature__content {
        padding:
            4rem 1.5rem 5rem;
    }


    .about-feature__content h2 {
        font-size: 3.2rem;
    }


    /* Destinations */

    .destinations__heading {
        grid-template-columns: 1fr;

        gap: 2rem;

        margin-bottom: 3rem;
    }


    .destinations__grid {
        grid-template-columns: 1fr;

        grid-template-rows:
            repeat(
                3,
                320px
            );
    }


    .destination-card--large {
        grid-row: auto;
    }


    .destination-card--large
    .destination-card__content h3 {
        font-size: 2.6rem;
    }


    .destinations__cta {
        flex-direction: column;

        align-items: flex-start;
    }


    /* Reasons */

    .about-reasons__grid {
        grid-template-columns: 1fr;

        gap: 4rem;
    }


    .reason-item {
        grid-template-columns:
            40px
            1fr;

        gap: 1rem;
    }


    /* CTA */

    .about-cta {
        padding-block: 6rem;
    }


    .about-cta h2 {
        font-size: 3.4rem;
    }

}


/* =========================================================
   12. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .about-feature__image {
        min-height: 320px;
    }


    .about-feature__content h2 {
        font-size: 2.85rem;
    }


    .about-value {
        grid-template-columns:
            35px
            1fr;
    }


    .destination-card__content {
        padding: 1.5rem;
    }


    .destination-card--large
    .destination-card__content h3 {
        font-size: 2.25rem;
    }


    .destinations__grid {
        grid-template-rows:
            repeat(
                3,
                280px
            );
    }


    .about-cta h2 {
        font-size: 3rem;
    }

}


/* =========================================================
   13. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .about-feature__image img,
    .destination-card__image img {
        transition: none;
    }

}