/* =========================================================
   TEMASHIKA TRAVEL & TOURS
   About Page Styles
   ========================================================= */


/* =========================================================
   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.93) 0%,
            rgba(10, 35, 29, 0.70) 48%,
            rgba(10, 35, 29, 0.18) 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. ABOUT INTRO
   ========================================================= */

.about-intro {
    background: var(--color-cream);
}


.about-intro__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap:
        clamp(
            3rem,
            9vw,
            10rem
        );

    align-items: start;
}


.about-intro__heading {
    position: sticky;

    top:
        calc(
            var(--header-height) +
            2rem
        );
}


.about-intro h2 {
    max-width: 600px;

    margin-top: 0.75rem;

    font-size:
        clamp(
            3.2rem,
            6vw,
            6.5rem
        );

    line-height: 0.9;
}


.about-intro__content {
    max-width: 580px;

    padding-top: 0.5rem;
}


.about-intro__content p {
    margin-top: 1.35rem;

    font-size: 0.9rem;

    line-height: 1.9;
}


.about-intro__content
.about-intro__lead {
    margin-top: 0;

    color: var(--color-primary);

    font-family: var(--font-display);

    font-size:
        clamp(
            1.45rem,
            2.5vw,
            2rem
        );

    line-height: 1.35;
}


/* =========================================================
   3. IMAGE BREAK
   ========================================================= */

.about-image-break {
    position: relative;

    min-height: 72svh;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--color-white);
}


.about-image-break__image {
    position: absolute;
    inset: 0;
}


.about-image-break__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.about-image-break__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 35, 29, 0.88) 0%,
            rgba(10, 35, 29, 0.48) 55%,
            rgba(10, 35, 29, 0.10) 100%
        );
}


.about-image-break .container {
    position: relative;
    z-index: 2;

    width: 100%;
}


.about-image-break__content {
    max-width: 900px;
}


.about-image-break .section-label {
    color: var(--color-gold-light);
}


.about-image-break h2 {
    margin-top: 0.75rem;

    color: var(--color-white);

    font-size:
        clamp(
            3.5rem,
            7vw,
            7.5rem
        );

    line-height: 0.88;
}


/* =========================================================
   4. WHAT WE DO
   ========================================================= */

.what-we-do {
    background: var(--color-white);
}


.what-we-do .section-heading {
    align-items: flex-end;
}


.what-we-do .section-heading > p {
    max-width: 390px;

    margin-bottom: 0.4rem;

    color: var(--color-text-light);

    font-size: 0.8rem;

    line-height: 1.85;
}


/* =========================================================
   5. SERVICES GRID
   ========================================================= */

.about-services {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 1px;

    margin-top: 4rem;

    overflow: hidden;

    border:
        1px solid
        var(--color-border);

    background: var(--color-border);

    border-radius: var(--radius-lg);
}


.about-service {
    position: relative;

    min-height: 370px;

    padding:
        clamp(
            1.5rem,
            3vw,
            2.5rem
        );

    background: var(--color-white);

    transition:
        background
        350ms
        ease,
        color
        350ms
        ease,
        transform
        350ms
        ease;
}


.about-service:hover {
    z-index: 2;

    color: var(--color-white);

    background: var(--color-primary);

    transform: translateY(-5px);
}


.about-service__icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--color-primary);

    background: var(--color-cream);

    transition:
        background
        350ms
        ease,
        color
        350ms
        ease;
}


.about-service:hover
.about-service__icon {
    color: var(--color-primary);

    background: var(--color-gold-light);
}


.about-service__number {
    position: absolute;

    top: 1.75rem;
    right: 1.75rem;

    color: var(--color-text-light);

    font-size: 0.62rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    transition:
        color
        350ms
        ease;
}


.about-service:hover
.about-service__number {
    color:
        rgba(
            255,
            255,
            255,
            0.45
        );
}


.about-service h3 {
    margin-top: 5rem;

    font-size:
        clamp(
            1.55rem,
            2vw,
            2rem
        );

    line-height: 1;
}


.about-service p {
    margin-top: 1rem;

    color: var(--color-text-light);

    font-size: 0.76rem;

    line-height: 1.8;

    transition:
        color
        350ms
        ease;
}


.about-service:hover p {
    color:
        rgba(
            255,
            255,
            255,
            0.68
        );
}


/* =========================================================
   6. VALUES SECTION
   ========================================================= */

.about-values {
    background: var(--color-cream);
}


.about-values__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.85fr);

    gap:
        clamp(
            3rem,
            9vw,
            9rem
        );

    align-items: center;
}


/* =========================================================
   VALUES IMAGE
   ========================================================= */

.about-values__visual {
    position: relative;

    min-height: 650px;
}


.about-values__image {
    position: absolute;

    inset:
        0
        10%
        0
        0;

    overflow: hidden;

    border-radius: var(--radius-lg);
}


.about-values__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform
        900ms
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.about-values__visual:hover
.about-values__image img {
    transform: scale(1.04);
}


.about-values__stamp {
    position: absolute;

    right: 0;

    bottom: 12%;

    width: 125px;
    height: 125px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 0.5rem;

    border-radius: 50%;

    color: var(--color-white);

    background: var(--color-primary);

    box-shadow: var(--shadow-lg);

    transform:
        rotate(-8deg);
}


.about-values__stamp i {
    color: var(--color-gold-light);

    font-size: 1.5rem;
}


.about-values__stamp span {
    max-width: 70px;

    text-align: center;

    font-size: 0.58rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   VALUES CONTENT
   ========================================================= */

.about-values__content {
    max-width: 550px;
}


.about-values__content h2 {
    margin-top: 0.75rem;

    font-size:
        clamp(
            3rem,
            5.5vw,
            5.5rem
        );

    line-height: 0.9;
}


.about-values__content > p {
    margin-top: 1.5rem;

    font-size: 0.88rem;

    line-height: 1.85;
}


/* =========================================================
   VALUES LIST
   ========================================================= */

.values-list {
    display: flex;
    flex-direction: column;

    gap: 1.5rem;

    margin-top: 2.5rem;
}


.values-list li {
    display: flex;

    gap: 1rem;

    padding-bottom: 1.5rem;

    border-bottom:
        1px solid
        var(--color-border);
}


.values-list__icon {
    flex: 0 0 auto;

    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--color-primary);

    background: var(--color-gold-light);

    font-size: 0.7rem;
}


.values-list strong {
    display: block;

    font-size: 0.85rem;
}


.values-list p {
    margin-top: 0.3rem;

    color: var(--color-text-light);

    font-size: 0.72rem;

    line-height: 1.6;
}


/* =========================================================
   7. LOCATION
   ========================================================= */

.about-location {
    color: var(--color-white);

    background: var(--color-primary);
}


.about-location__inner {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    gap:
        clamp(
            1.5rem,
            4vw,
            4rem
        );

    align-items: center;

    padding:
        clamp(
            2rem,
            5vw,
            4rem
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.1
        );

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            rgba(
                255,
                255,
                255,
                0.04
            ),
            rgba(
                255,
                255,
                255,
                0.01
            )
        );
}


.about-location__icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--color-primary);

    background: var(--color-gold-light);

    font-size: 1.2rem;
}


.about-location .section-label {
    color: var(--color-gold-light);
}


.about-location h2 {
    max-width: 700px;

    margin-top: 0.5rem;

    color: var(--color-white);

    font-size:
        clamp(
            2rem,
            4vw,
            4rem
        );

    line-height: 0.95;
}


.about-location p {
    max-width: 580px;

    margin-top: 1rem;

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );

    font-size: 0.78rem;

    line-height: 1.8;
}


.about-location .btn {
    white-space: nowrap;
}


/* =========================================================
   8. FINAL CTA
   ========================================================= */

.about-cta {
    background: var(--color-white);
}


.about-cta__content {
    max-width: 1050px;
}


.about-cta .section-label {
    color: var(--color-primary);
}


.about-cta h2 {
    max-width: 1000px;

    margin-top: 0.75rem;

    font-size:
        clamp(
            3.5rem,
            8vw,
            8rem
        );

    line-height: 0.86;
}


.about-cta .btn {
    margin-top: 2rem;
}

/* =========================================================
   IMAGE LOADING STATES
   ========================================================= */

.about-image-break__image img,
.about-values__image img {
    opacity: 0.92;

    transition:
        opacity 500ms ease,
        transform 900ms
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.about-image-break__image img.is-loaded,
.about-values__image img.is-loaded {
    opacity: 1;
}


.about-image-break__image img.is-error,
.about-values__image img.is-error {
    opacity: 0;
}


/* =========================================================
   9. TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .about-services {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .about-service {
        min-height: 330px;
    }


    .about-location__inner {
        grid-template-columns:
            auto
            minmax(0, 1fr);
    }


    .about-location .btn {
        grid-column: 2;

        justify-self: start;
    }

}


/* =========================================================
   10. TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 900px) {

    .about-intro__grid {
        grid-template-columns: 1fr;

        gap: 3rem;
    }


    .about-intro__heading {
        position: static;
    }


    .about-intro__content {
        max-width: 700px;
    }


    .about-values__grid {
        grid-template-columns: 1fr;

        gap: 3.5rem;
    }


    .about-values__content {
        max-width: 700px;
    }


    .about-values__visual {
        min-height: 600px;
    }

}


/* =========================================================
   11. 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;
    }


    .about-intro h2 {
        font-size:
            clamp(
                3rem,
                15vw,
                5rem
            );
    }


    .about-image-break {
        min-height: 62svh;
    }


    .about-image-break h2 {
        font-size:
            clamp(
                3.4rem,
                15vw,
                6rem
            );
    }


    .about-services {
        grid-template-columns: 1fr;

        margin-top: 2.5rem;
    }


    .about-service {
        min-height: auto;

        padding: 1.75rem;
    }


    .about-service h3 {
        margin-top: 3.5rem;
    }


    .about-values__visual {
        min-height: 480px;
    }


    .about-values__image {
        inset: 0;
    }


    .about-values__stamp {
        right: 1rem;

        bottom: 1rem;

        width: 105px;
        height: 105px;
    }


    .about-location__inner {
        grid-template-columns: 1fr;

        gap: 1.5rem;
    }


    .about-location .btn {
        grid-column: auto;

        justify-self: start;
    }


    .about-cta h2 {
        font-size:
            clamp(
                3.2rem,
                15vw,
                6rem
            );
    }

}


/* =========================================================
   12. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .page-hero {
        min-height: 62svh;
    }


    .about-image-break {
        min-height: 58svh;
    }


    .about-values__visual {
        min-height: 390px;
    }


    .about-values__stamp {
        width: 90px;
        height: 90px;
    }


    .about-values__stamp i {
        font-size: 1.1rem;
    }


    .about-values__stamp span {
        font-size: 0.5rem;
    }

}