/* =========================================================
   PJ TRAVEL & TOURS
   Homepage Styles
   ========================================================= */


/* =========================================================
   1. HOME HERO
   ========================================================= */

.home-hero {
    min-height: 100svh;
}


.home-hero .hero__content {
    max-width: 850px;
}


.home-hero .hero-label {
    color: var(--color-accent-light);
}


.home-hero .hero__content h1 {
    max-width: 850px;
}


/* =========================================================
   2. HERO SCROLL INDICATOR
   ========================================================= */

.hero-scroll {
    position: absolute;

    z-index: 3;

    right: 2rem;
    bottom: 2.5rem;

    display: flex;

    align-items: center;

    gap: 1rem;

    color: rgba(
        255,
        255,
        255,
        0.7
    );

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    writing-mode: vertical-rl;

    transition:
        color var(--transition);
}


.hero-scroll:hover {
    color: var(--color-white);
}


.hero-scroll__line {
    width: 1px;
    height: 60px;

    background:
        linear-gradient(
            to bottom,
            var(--color-accent),
            transparent
        );
}


/* =========================================================
   3. TRUST STRIP
   ========================================================= */

.trust-strip {
    position: relative;

    z-index: 5;

    background: var(--color-white);

    border-bottom:
        1px solid
        var(--color-border);
}


.trust-strip__grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    min-height: 145px;
}


.trust-item {
    display: flex;

    align-items: center;

    gap: 1.25rem;

    padding: 2rem;

    border-right:
        1px solid
        var(--color-border);
}


.trust-item:first-child {
    padding-left: 0;
}


.trust-item:last-child {
    border-right: 0;

    padding-right: 0;
}


.trust-item__number {
    flex-shrink: 0;

    color: var(--color-accent);

    font-family: var(--font-display);

    font-size: 1.4rem;
}


.trust-item strong {
    display: block;

    margin-bottom: 0.25rem;

    color: var(--color-primary);

    font-size: 0.85rem;

    font-weight: 800;
}


.trust-item p {
    color: var(--color-text-muted);

    font-size: 0.75rem;

    line-height: 1.6;
}


/* =========================================================
   4. SERVICES PREVIEW
   ========================================================= */

.services-preview {
    background: var(--color-off-white);
}


.section-heading-row {
    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    align-items: end;

    gap: 5rem;

    margin-bottom: 4rem;
}


.section-heading-row .section-title {
    margin-bottom: 0;
}


.section-heading-row .section-description {
    margin-bottom: 0.25rem;
}


/* =========================================================
   5. SERVICES GRID
   ========================================================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 1rem;
}


.service-card {
    min-height: 320px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    padding: 2rem;

    border: 0;

    border-radius: var(--radius-md);

    box-shadow:
        0 8px 30px
        rgba(
            16,
            42,
            67,
            0.05
        );
}


.service-card:hover {
    transform:
        translateY(-8px);
}


.service-card__icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 2.5rem;

    border-radius: 50%;

    background: var(--color-sand);

    color: var(--color-primary);

    font-size: 1.25rem;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}


.service-card:hover .service-card__icon {
    background: var(--color-accent);

    color: var(--color-primary);

    transform:
        rotate(-8deg);
}


.service-card h3 {
    margin-bottom: 0.8rem;

    font-family: var(--font-display);

    font-size: 1.65rem;
}


.service-card p {
    margin-bottom: 1.5rem;

    color: var(--color-text-muted);

    font-size: 0.85rem;

    line-height: 1.75;
}


.service-card .text-link {
    margin-top: auto;
}


/* =========================================================
   6. SERVICES FOOTER
   ========================================================= */

.services-preview__footer {
    display: flex;

    justify-content: center;

    padding-top: 3rem;
}


/* =========================================================
   7. FEATURED DESTINATION
   ========================================================= */

.destination-feature {
    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    min-height: 680px;

    background: var(--color-sand);
}


.destination-feature__image {
    position: relative;

    min-height: 600px;

    overflow: hidden;
}


.destination-feature__image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 70%,
            rgba(
                243,
                235,
                221,
                0.45
            )
        );
}


.destination-feature__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1.2s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.destination-feature:hover
.destination-feature__image img {
    transform: scale(1.04);
}


.destination-feature__content {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    padding:
        5rem
        clamp(
            3rem,
            7vw,
            8rem
        );
}


.destination-feature__content h2 {
    max-width: 600px;

    margin-bottom: 1.5rem;

    font-size: clamp(
        3rem,
        5vw,
        5rem
    );

    letter-spacing: -0.03em;
}


.destination-feature__content p {
    max-width: 520px;

    margin-bottom: 2rem;

    color: var(--color-text-muted);

    font-size: 1rem;

    line-height: 1.85;
}


/* =========================================================
   8. WHY PJ
   ========================================================= */

.why-pj {
    overflow: hidden;
}


.why-pj__grid {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 8rem;

    align-items: start;
}


.why-pj .section-title {
    margin-bottom: 1.5rem;
}


.why-pj .section-label {
    color: var(--color-accent);
}


.why-pj__points {
    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.12
        );
}


.why-point {
    display: grid;

    grid-template-columns:
        60px 1fr;

    gap: 1.5rem;

    padding-block: 2rem;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.12
        );
}


.why-point > span {
    color: var(--color-accent);

    font-family: var(--font-display);

    font-size: 1.2rem;
}


.why-point h3 {
    margin-bottom: 0.55rem;

    color: var(--color-white);

    font-size: 1.7rem;
}


.why-point p {
    max-width: 500px;

    color: rgba(
        255,
        255,
        255,
        0.62
    );

    font-size: 0.85rem;

    line-height: 1.8;
}


/* =========================================================
   9. HOW IT WORKS
   ========================================================= */

.how-it-works {
    background: var(--color-white);
}


.section-heading-centered {
    max-width: 720px;

    margin-inline: auto;

    margin-bottom: 5rem;

    text-align: center;
}


.section-heading-centered .section-label {
    justify-content: center;
}


.section-heading-centered .section-label::before {
    display: none;
}


.section-heading-centered .section-title {
    margin-inline: auto;

    margin-bottom: 1.25rem;
}


.section-heading-centered .section-description {
    margin-inline: auto;
}


/* =========================================================
   10. STEPS
   ========================================================= */

.steps-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 0;

    border-top:
        1px solid
        var(--color-border);

    border-bottom:
        1px solid
        var(--color-border);
}


.step {
    position: relative;

    min-height: 300px;

    padding:
        3rem;

    border-right:
        1px solid
        var(--color-border);
}


.step:first-child {
    padding-left: 0;
}


.step:last-child {
    border-right: 0;

    padding-right: 0;
}


.step__number {
    display: block;

    margin-bottom: 4rem;

    color: var(--color-accent);

    font-family: var(--font-display);

    font-size: 1.5rem;
}


.step h3 {
    margin-bottom: 0.75rem;

    font-size: 1.75rem;
}


.step p {
    max-width: 280px;

    color: var(--color-text-muted);

    font-size: 0.85rem;

    line-height: 1.8;
}


/* =========================================================
   11. TESTIMONIAL
   ========================================================= */

.testimonial-section {
    background: var(--color-sand);
}


.testimonial-card {
    max-width: 900px;

    margin-inline: auto;

    padding:
        clamp(
            3rem,
            7vw,
            6rem
        );

    text-align: center;

    background: var(--color-white);

    border-radius: var(--radius-lg);

    box-shadow:
        var(--shadow-md);
}


.testimonial-card__quote {
    display: block;

    margin-bottom: 1rem;

    color: var(--color-accent);

    font-family: Georgia, serif;

    font-size: 5rem;

    line-height: 0.5;
}


.testimonial-card blockquote {
    color: var(--color-primary);

    font-family: var(--font-display);

    font-size: clamp(
        2.5rem,
        5vw,
        4rem
    );

    line-height: 1.05;

    letter-spacing: -0.025em;
}


.testimonial-card__line {
    width: 50px;
    height: 2px;

    margin:
        2rem
        auto
        1rem;

    background: var(--color-accent);
}


.testimonial-card p {
    color: var(--color-text-muted);

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


/* =========================================================
   12. FINAL CTA
   ========================================================= */

.final-cta {
    position: relative;

    overflow: hidden;

    padding-block:
        clamp(
            6rem,
            10vw,
            9rem
        );

    background:
        linear-gradient(
            135deg,
            var(--color-primary),
            var(--color-secondary)
        );

    color: var(--color-white);
}


.final-cta::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    top: -300px;
    right: -150px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    border-radius: 50%;
}


.final-cta::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    bottom: -250px;
    left: -100px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.06
        );

    border-radius: 50%;
}


.final-cta__content {
    position: relative;

    z-index: 2;

    max-width: 850px;

    margin-inline: auto;

    text-align: center;
}


.final-cta .section-label {
    justify-content: center;

    color: var(--color-accent-light);
}


.final-cta .section-label::before {
    display: none;
}


.final-cta h2 {
    margin-bottom: 1.5rem;

    color: var(--color-white);

    font-size: clamp(
        3.5rem,
        7vw,
        6rem
    );

    letter-spacing: -0.035em;
}


.final-cta p {
    max-width: 600px;

    margin:
        0
        auto
        2rem;

    color: rgba(
        255,
        255,
        255,
        0.75
    );

    font-size: var(--text-lg);

    line-height: 1.8;
}


/* =========================================================
   13. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .destination-feature {
        grid-template-columns:
            1fr 1fr;
    }


    .destination-feature__content {
        padding:
            4rem;
    }


    .why-pj__grid {
        gap: 4rem;
    }

}


/* =========================================================
   14. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 768px) {

    /* Hero */

    .hero-scroll {
        display: none;
    }


    /* Trust */

    .trust-strip__grid {
        grid-template-columns: 1fr;

        min-height: auto;
    }


    .trust-item,
    .trust-item:first-child,
    .trust-item:last-child {
        padding:
            1.5rem 0;

        border-right: 0;

        border-bottom:
            1px solid
            var(--color-border);
    }


    .trust-item:last-child {
        border-bottom: 0;
    }


    /* Section heading */

    .section-heading-row {
        grid-template-columns: 1fr;

        gap: 1.5rem;

        margin-bottom: 3rem;
    }


    /* Services */

    .services-grid {
        grid-template-columns: 1fr;
    }


    .service-card {
        min-height: 280px;
    }


    /* Destination */

    .destination-feature {
        grid-template-columns: 1fr;
    }


    .destination-feature__image {
        min-height: 420px;
    }


    .destination-feature__content {
        padding:
            4rem 1.5rem 5rem;
    }


    /* Why */

    .why-pj__grid {
        grid-template-columns: 1fr;

        gap: 4rem;
    }


    .why-point {
        grid-template-columns:
            45px 1fr;

        gap: 1rem;
    }


    .why-point h3 {
        font-size: 1.5rem;
    }


    /* Steps */

    .section-heading-centered {
        margin-bottom: 3.5rem;
    }


    .steps-grid {
        grid-template-columns: 1fr;

        border-bottom: 0;
    }


    .step,
    .step:first-child,
    .step:last-child {
        min-height: auto;

        padding:
            2.5rem 0;

        border-right: 0;

        border-bottom:
            1px solid
            var(--color-border);
    }


    .step__number {
        margin-bottom: 2rem;
    }


    /* Testimonial */

    .testimonial-card {
        padding:
            3rem 1.5rem;
    }


    /* Final CTA */

    .final-cta {
        padding-block: 6rem;
    }

}


/* =========================================================
   15. RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .home-hero .hero__content h1 {
        font-size: 3.35rem;
    }


    .home-hero .hero__content p {
        font-size: 0.95rem;
    }


    .service-card {
        padding: 1.5rem;
    }


    .destination-feature__content h2 {
        font-size: 2.9rem;
    }


    .final-cta h2 {
        font-size: 3.35rem;
    }

}