/* ==========================================================
   SIMPLY FRANCE TOURS
   HOMEPAGE
   ========================================================== */


/* ==========================================================
   1. DESIGN TOKENS
   ========================================================== */

:root {
    --sft-green: #25483c;
    --sft-green-dark: #17342c;
    --sft-green-soft: #dfe8e2;

    --sft-cream: #f7f4ee;
    --sft-cream-dark: #eee8de;

    --sft-gold: #b78a48;

    --sft-text: #252525;
    --sft-text-soft: #686868;
    --sft-white: #ffffff;

    --sft-border: rgba(37, 72, 60, 0.12);

    --sft-shadow-sm:
        0 8px 24px rgba(0, 0, 0, 0.05);

    --sft-shadow-md:
        0 16px 40px rgba(0, 0, 0, 0.09);

    --sft-radius-sm: 12px;
    --sft-radius-md: 20px;
    --sft-radius-lg: 28px;

    --sft-container: 1240px;

    --sft-section-space: 96px;
}


/* ==========================================================
   2. GLOBAL HOMEPAGE
   ========================================================== */

.sft-home {
    overflow: hidden;
    background: #fff;
    color: var(--sft-text);
    font-family: "Work Sans", sans-serif;
}

.sft-home *,
.sft-home *::before,
.sft-home *::after {
    box-sizing: border-box;
}

.sft-home img {
    display: block;
    width: 100%;
    max-width: 100%;
}

.sft-home a {
    text-decoration: none;
}

.sft-container {
    width: min(
        calc(100% - 48px),
        var(--sft-container)
    );

    margin-inline: auto;
}

.sft-section {
    padding-block: var(--sft-section-space);
}

.sft-eyebrow {
    margin-bottom: 14px;

    color: var(--sft-gold);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.sft-eyebrow-light {
    color: #fff;
}

.sft-home h1,
.sft-home h2,
.sft-home h3 {
    margin-top: 0;

    color: var(--sft-text);

    font-family: "Playfair Display", serif;
    font-weight: 600;

    line-height: 1.08;
}

.sft-home h2 {
    font-size: clamp(38px, 4vw, 54px);
}

.sft-home p {
    color: var(--sft-text-soft);
    line-height: 1.7;
}


/* ==========================================================
   3. BUTTONS
   ========================================================== */

.sft-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 24px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.sft-btn:hover {
    transform: translateY(-2px);
}

.sft-btn-light {
    background: #fff;
    color: var(--sft-green-dark);
}

.sft-btn-light:hover {
    box-shadow: var(--sft-shadow-md);
}

.sft-btn-green {
    background: var(--sft-green);
    color: #fff;
}

.sft-btn-green:hover {
    background: var(--sft-green-dark);
}

.sft-btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
}

.sft-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
}


/* ==========================================================
   4. HERO
   ========================================================== */

.sft-home-hero {
    position: relative;

    min-height: min(760px, 82vh);

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--sft-green-dark);
}

.sft-home-hero-media {
    position: absolute;
    inset: 0;
}

.sft-home-hero-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.sft-home-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(9, 21, 17, 0.76) 0%,
            rgba(9, 21, 17, 0.56) 38%,
            rgba(9, 21, 17, 0.14) 70%,
            rgba(9, 21, 17, 0.05) 100%
        );
}

.sft-home-hero-content {
    position: relative;
    z-index: 2;

    padding-block: 100px;
}

.sft-home-hero h1 {
    max-width: 760px;

    margin-bottom: 24px;

    color: #fff;

    font-size: clamp(52px, 6vw, 84px);
}

.sft-home-hero-description {
    max-width: 650px;

    margin-bottom: 34px;

    color: rgba(255, 255, 255, 0.92) !important;

    font-size: 18px;
}

.sft-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* ==========================================================
   5. AUDIENCE CARDS
   ========================================================== */

.sft-audiences {
    padding-top: 48px;
    padding-bottom: 70px;

    background: var(--sft-cream);
}

.sft-audience-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}

.sft-audience-card {
    position: relative;

    overflow: hidden;

    border: 1px solid var(--sft-border);
    border-radius: var(--sft-radius-md);

    background: #fff;

    color: var(--sft-text);

    box-shadow: var(--sft-shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.sft-audience-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sft-shadow-md);
}

.sft-audience-image {
    height: 220px;

    overflow: hidden;

    background: var(--sft-cream-dark);
}

.sft-audience-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.sft-audience-card:hover
.sft-audience-image img {
    transform: scale(1.04);
}

.sft-audience-content {
    position: relative;

    padding: 28px 26px 30px;
}

.sft-audience-icon {
    position: absolute;

    top: -28px;
    left: 24px;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--sft-green);
    color: #fff;

    font-size: 24px;

    box-shadow: var(--sft-shadow-sm);
}

.sft-audience-card h2 {
    margin-bottom: 12px;

    font-size: 27px;
}

.sft-audience-card p {
    min-height: 72px;

    margin-bottom: 18px;

    font-size: 14px;
}

.sft-text-link {
    color: var(--sft-gold);

    font-size: 14px;
    font-weight: 600;
}


/* ==========================================================
   6. BIKE / WALKING
   ========================================================== */

.sft-explore-modes {
    padding-top: 0;
    padding-bottom: 80px;

    background: var(--sft-cream);
}

.sft-explore-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}

.sft-explore-card {
    position: relative;

    min-height: 480px;

    overflow: hidden;

    display: flex;
    align-items: flex-end;

    border-radius: var(--sft-radius-lg);

    background: var(--sft-green-dark);

    isolation: isolate;
}

.sft-explore-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.55s ease;
}

.sft-explore-card:hover
.sft-explore-image {
    transform: scale(1.04);
}

.sft-explore-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(10, 20, 17, 0.74) 0%,
            rgba(10, 20, 17, 0.18) 62%,
            rgba(10, 20, 17, 0.05) 100%
        );

    z-index: 1;
}

.sft-explore-content {
    position: relative;
    z-index: 2;

    padding: 42px;

    color: #fff;
}

.sft-explore-content h2 {
    max-width: 430px;

    margin-bottom: 16px;

    color: #fff;

    font-size: clamp(40px, 4vw, 58px);
}

.sft-explore-content p {
    max-width: 430px;

    margin-bottom: 24px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 15px;
}


/* ==========================================================
   7. FEATURED TOURS
   ========================================================== */

.sft-featured-tours {
    background: #fff;
}

.sft-section-heading {
    margin-bottom: 36px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.sft-section-heading h2 {
    margin-bottom: 0;
}

.sft-see-all {
    flex: 0 0 auto;

    color: var(--sft-green);

    font-size: 14px;
    font-weight: 600;
}

.sft-tour-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}

.sft-tour-card {
    overflow: hidden;

    border: 1px solid var(--sft-border);
    border-radius: var(--sft-radius-md);

    background: #fff;

    box-shadow: var(--sft-shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.sft-tour-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sft-shadow-md);
}

.sft-tour-card-image {
    position: relative;

    display: block;

    height: 230px;

    overflow: hidden;

    background: var(--sft-cream);
}

.sft-tour-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.sft-tour-card:hover
.sft-tour-card-image img {
    transform: scale(1.04);
}

.sft-tour-badges {
    position: absolute;

    top: 14px;
    left: 14px;
    right: 14px;

    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sft-tour-badge {
    padding: 7px 11px;

    border-radius: 999px;

    background: var(--sft-green);
    color: #fff;

    font-size: 11px;
    font-weight: 600;
}

.sft-tour-badge-light {
    background: rgba(255, 255, 255, 0.94);
    color: var(--sft-green-dark);
}

.sft-tour-card-body {
    position: relative;

    padding: 24px;
}

.sft-tour-card h3 {
    margin-bottom: 18px;

    padding-right: 38px;

    font-size: 23px;
}

.sft-tour-card h3 a {
    color: var(--sft-text);
}

.sft-tour-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 14px;

    padding-right: 36px;

    color: var(--sft-text-soft);

    font-size: 12px;
}

.sft-tour-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sft-tour-arrow {
    position: absolute;

    right: 20px;
    bottom: 20px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--sft-green);
    color: #fff;

    font-size: 18px;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.sft-tour-arrow:hover {
    transform: translateX(3px);
    background: var(--sft-green-dark);
}


/* ==========================================================
   8. WHY SIMPLY FRANCE TOURS
   ========================================================== */

.sft-why {
    background: var(--sft-cream);
}

.sft-why h2 {
    margin-bottom: 50px;
}

.sft-why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 0;
}

.sft-why-item {
    min-height: 110px;

    display: flex;
    align-items: center;
    gap: 18px;

    padding: 10px 34px;

    border-right: 1px solid var(--sft-border);

    font-size: 15px;
    font-weight: 500;
}

.sft-why-item:first-child {
    padding-left: 0;
}

.sft-why-item:last-child {
    border-right: 0;
}

.sft-why-item i {
    flex: 0 0 auto;

    color: var(--sft-green);

    font-size: 35px;
}


/* ==========================================================
   9. COMMERCIAL SECTIONS
   ========================================================== */

.sft-commercial {
    padding-block: 0;

    background: #fff;
}

.sft-commercial + .sft-commercial {
    border-top: 1px solid var(--sft-border);
}

.sft-commercial-grid {
    min-height: 540px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: stretch;
}

.sft-commercial-media {
    min-height: 540px;

    overflow: hidden;
}

.sft-commercial-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.sft-commercial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 72px;
}

.sft-commercial-content h2 {
    margin-bottom: 22px;
}

.sft-commercial-text {
    max-width: 530px;

    margin-bottom: 28px;
}

.sft-commercial-reverse
.sft-commercial-media {
    order: 2;
}

.sft-commercial-reverse
.sft-commercial-content {
    order: 1;
}


/* ==========================================================
   10. REVIEWS
   ========================================================== */

.sft-home-reviews {
    background: var(--sft-cream);
}

.sft-home-reviews h2 {
    margin-bottom: 40px;
}

.sft-review-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.sft-review-card {
    padding: 30px;

    border: 1px solid var(--sft-border);
    border-radius: var(--sft-radius-md);

    background: #fff;

    box-shadow: var(--sft-shadow-sm);
}

.sft-stars {
    margin-bottom: 18px;

    color: var(--sft-gold);

    letter-spacing: 0.06em;
}

.sft-review-card p {
    margin-bottom: 0;
}


/* ==========================================================
   11. FINAL CTA
   ========================================================== */

.sft-final-cta {
    position: relative;

    min-height: 430px;

    overflow: hidden;

    display: flex;
    align-items: center;

    background: var(--sft-green-dark);
}

.sft-final-cta-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.sft-final-cta-overlay {
    position: absolute;
    inset: 0;

    background:
        rgba(16, 35, 28, 0.58);
}

.sft-final-cta-content {
    position: relative;
    z-index: 2;

    max-width: 780px;

    padding-block: 70px;

    text-align: center;
}

.sft-final-cta h2 {
    margin-bottom: 18px;

    color: #fff;

    font-size: clamp(42px, 5vw, 64px);
}

.sft-final-cta p {
    max-width: 620px;

    margin:
        0 auto 30px;

    color: rgba(255, 255, 255, 0.9);
}


/* ==========================================================
   12. TABLET
   ========================================================== */

@media (max-width: 1024px) {

    :root {
        --sft-section-space: 76px;
    }

    .sft-audience-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .sft-tour-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .sft-why-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .sft-why-item {
        border-right: 0;
        border-bottom: 1px solid var(--sft-border);
        padding: 24px;
    }

    .sft-why-item:first-child {
        padding-left: 24px;
    }

    .sft-commercial-content {
        padding: 50px;
    }

}


/* ==========================================================
   13. MOBILE
   ========================================================== */

@media (max-width: 767px) {

    :root {
        --sft-section-space: 62px;
    }

    .sft-container {
        width: min(
            calc(100% - 30px),
            var(--sft-container)
        );
    }


    /* HERO */

    .sft-home-hero {
        min-height: 650px;
    }

    .sft-home-hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(8, 19, 15, 0.83) 0%,
                rgba(8, 19, 15, 0.45) 75%
            );
    }

    .sft-home-hero-content {
        align-self: flex-end;

        padding-top: 160px;
        padding-bottom: 58px;
    }

    .sft-home-hero h1 {
        font-size: clamp(45px, 13vw, 62px);
    }

    .sft-home-hero-description {
        font-size: 16px;
    }

    .sft-home-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sft-home-hero-actions
    .sft-btn {
        width: 100%;
    }


    /* AUDIENCES */

    .sft-audience-grid {
        grid-template-columns: 1fr;
    }

    .sft-audience-image {
        height: 240px;
    }

    .sft-audience-card p {
        min-height: auto;
    }


    /* BIKE WALK */

    .sft-explore-grid {
        grid-template-columns: 1fr;
    }

    .sft-explore-card {
        min-height: 430px;
    }

    .sft-explore-content {
        padding: 30px;
    }


    /* FEATURED */

    .sft-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .sft-tour-grid {
        grid-template-columns: 1fr;
    }

    .sft-tour-card-image {
        height: 260px;
    }


    /* WHY */

    .sft-why-grid {
        grid-template-columns: 1fr;
    }

    .sft-why-item {
        border-bottom: 1px solid var(--sft-border);
        padding: 22px 0;
    }

    .sft-why-item:first-child {
        padding-left: 0;
    }


    /* COMMERCIAL */

    .sft-commercial-grid {
        min-height: 0;

        grid-template-columns: 1fr;
    }

    .sft-commercial-media {
        min-height: 340px;
    }

    .sft-commercial-content {
        padding: 46px 0 58px;
    }

    .sft-commercial-reverse
    .sft-commercial-media {
        order: 1;
    }

    .sft-commercial-reverse
    .sft-commercial-content {
        order: 2;
    }


    /* REVIEWS */

    .sft-review-grid {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .sft-final-cta {
        min-height: 420px;
    }

}


/* ==========================================================
   14. VERY SMALL MOBILE
   ========================================================== */

@media (max-width: 420px) {

    .sft-audience-image {
        height: 210px;
    }

    .sft-explore-card {
        min-height: 390px;
    }

    .sft-tour-card-image {
        height: 230px;
    }

}