﻿
/* =========================================
   DELBRIDGE COFFEE - ALASKAN HOMEPAGE
========================================= */

.home-page {
    --espresso: #180d08;
    --brand-brown: #301406;
    --copper: #a05a2c;
    --copper-light: #d99560;
    --cream: #f6e7de;
    --forest: #101d19;
    background: var(--espresso);
    color: #fff;
    overflow: hidden;
}

/* SHARED BACKGROUND IMAGE SECTIONS */

.home-hero,
.home-roasting-section,
.home-rewards-section,
.home-final-cta {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.home-eyebrow {
    color: var(--copper-light);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .19em;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

/* HERO */

.home-hero {
    background-image: linear-gradient(90deg, rgba(13, 10, 8, .54) 0%, rgba(13, 10, 8, .42) 48%, rgba(13, 10, 8, .2) 100%), url("/images/Hero_Fireweed.png");
    min-height: 690px;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

    .home-hero h1 {
        color: #fff;
        font-size: clamp(3.5rem, 7vw, 6.4rem);
        font-weight: 900;
        letter-spacing: -.065em;
        line-height: .96;
        margin-bottom: 1.6rem;
        text-shadow: 0 5px 25px rgba(0, 0, 0, .35);
    }

        .home-hero h1 span {
            color: var(--copper-light);
        }

.home-hero-copy {
    color: #eee0d6;
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 570px;
    background: linear-gradient(90deg, rgba(13, 10, 8, .64) 0%, rgba(13, 10, 8, .72) 48%, rgba(13, 10, 8, .92) 100%)
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 2rem;
}

.home-btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 5px;
    display: inline-flex;
    font-size: .88rem;
    font-weight: 850;
    gap: .8rem;
    justify-content: center;
    padding: 1rem 1.45rem;
    text-decoration: none;
    transition: all .2s ease;
}

    .home-btn:hover {
        transform: translateY(-3px);
    }

.home-btn-primary {
    background: var(--copper);
    border-color: var(--copper);
    color: #fff;
}

    .home-btn-primary:hover {
        background: var(--copper-light);
        border-color: var(--copper-light);
        color: #180d08;
    }

.home-btn-outline {
    background: rgba(0, 0, 0, .2);
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

    .home-btn-outline:hover {
        background: #fff;
        color: var(--espresso);
    }

.home-btn-light {
    background: var(--cream);
    color: var(--espresso);
}

    .home-btn-light:hover {
        background: #fff;
        color: var(--espresso);
    }

.home-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: 2.5rem;
}

    .home-hero-points span {
        color: #e9d9cf;
        font-size: .8rem;
        font-weight: 700;
    }

    .home-hero-points i {
        color: var(--copper-light);
        margin-right: .3rem;
    }


/* HERO IMAGE */

.home-hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    isolation: isolate;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(246, 231, 222, .2);
    box-shadow: 0 25px 65px rgba(0, 0, 0, .5);
    aspect-ratio: 4 / 5;
}

.home-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    inset: 0;
}

/* ALASKA STAMP */

.home-hero-stamp {
    position: absolute;
    z-index: 2;
    top: 22px;
    right: 22px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #a05a2c;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .4);
    border: 2px solid rgba(255, 255, 255, .65);
    transform: rotate(8deg);
}

    .home-hero-stamp span {
        font-size: .65rem;
        font-weight: 800;
        letter-spacing: .12em;
    }

    .home-hero-stamp strong {
        font-size: .95rem;
        line-height: 1.2;
        font-weight: 900;
    }

    .home-hero-stamp i {
        font-size: 1.15rem;
        margin-top: 4px;
    }

/* IMAGE CAPTION */

.home-hero-image-caption {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    background: linear-gradient( transparent, rgba(13, 10, 8, .92) );
    color: #fff;
}

    .home-hero-image-caption span {
        color: var(--copper-light);
        font-size: .7rem;
        font-weight: 850;
        letter-spacing: .16em;
    }

    .home-hero-image-caption strong {
        font-size: 1.15rem;
        font-weight: 800;
    }

/* RESPONSIVE HERO */

@media (max-width: 991px) {
    .home-hero {
        padding: 5rem 0;
    }

    .home-hero-image-wrap {
        max-width: 460px;
    }
}

@media (max-width: 575px) {
    .home-hero {
        padding: 4rem 0;
    }

    .home-hero-image-wrap {
        max-width: 100%;
        aspect-ratio: 4 / 5;
    }

    .home-hero-stamp {
        width: 90px;
        height: 90px;
        top: 14px;
        right: 14px;
    }

        .home-hero-stamp strong {
            font-size: .8rem;
        }

    .home-hero-image-caption {
        padding: 3rem 1rem 1.1rem;
    }
}


/* HIGHLIGHT STRIP */

.home-highlights {
    background: linear-gradient(100deg, #180d08, #352015, #180d08);
    border-bottom: 1px solid rgba(217, 149, 96, .35);
    border-top: 1px solid rgba(217, 149, 96, .35);
    padding: 1.8rem 0;
}

.home-highlight {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    text-align: left;
}

    .home-highlight > i {
        align-items: center;
        background: rgba(160, 90, 44, .2);
        border: 1px solid rgba(217, 149, 96, .35);
        border-radius: 50%;
        color: var(--copper-light);
        display: flex;
        flex: 0 0 48px;
        font-size: 1.35rem;
        height: 48px;
        justify-content: center;
        width: 48px;
    }

    .home-highlight div {
        display: flex;
        flex-direction: column;
        gap: .2rem;
    }

    .home-highlight strong {
        color: #fff;
        font-size: .9rem;
    }

    .home-highlight span {
        color: #c7b4a8;
        font-size: .77rem;
    }

/* ROASTING STORY */

.home-roasting-section {
    background-image: linear-gradient(90deg, rgba(16, 29, 25, .97), rgba(16, 29, 25, .85)), url("/images/Story.png");
    padding: 6rem 0;
}

.home-roasting-image {
    border: 1px solid rgba(217, 149, 96, .35);
    height: 440px;
    overflow: hidden;
    position: relative;
}

    .home-roasting-image img {
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

.home-image-label {
    align-items: center;
    background: var(--copper);
    bottom: 0;
    color: #fff;
    display: flex;
    font-size: .7rem;
    font-weight: 850;
    gap: .7rem;
    left: 0;
    letter-spacing: .12em;
    padding: .9rem 1.2rem;
    position: absolute;
}

    .home-image-label i {
        font-size: 1.1rem;
    }

.home-roasting-section .home-section-title {
    color: #fff;
}

.home-roasting-section p {
    color: #d5d0c8;
    line-height: 1.9;
    margin-bottom: 1.1rem;
    max-width: 570px;
}

/* SECTION HEADINGS */

.home-section-title {
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1.08;
    margin-bottom: 1.2rem;
}

/* PRODUCTS */

.home-products-section {
    background: linear-gradient(rgba(24, 13, 8, .91), rgba(24, 13, 8, .96)), url("/images/Story.png") center / cover fixed;
    padding: 6rem 0;
}

.home-section-heading {
    align-items: end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

    .home-section-heading p {
        color: #c9b8ac;
        margin: 0;
    }

.home-text-link {
    color: var(--copper-light);
    display: inline-flex;
    font-size: .9rem;
    font-weight: 850;
    gap: .65rem;
    text-decoration: none;
}

    .home-text-link:hover {
        color: #fff;
    }

.home-all-products {
    flex: 0 0 auto;
    margin-bottom: .4rem;
}

.home-product-card {
    background: #24140d;
    border: 1px solid rgba(217, 149, 96, .24);
    height: 100%;
    overflow: hidden;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

    .home-product-card:hover {
        border-color: var(--copper-light);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
        transform: translateY(-5px);
    }

.home-product-image {
    background: linear-gradient(145deg, #38251a, #1b100b);
    display: block;
    height: 300px;
    overflow: hidden;
    position: relative;
}

    .home-product-image img {
        height: 100%;
        object-fit: contain;
        padding: 1.3rem;
        transition: transform .3s ease;
        width: 100%;
    }

.home-product-card:hover .home-product-image img {
    transform: scale(1.06);
}

.home-product-tag {
    background: var(--copper);
    bottom: 1rem;
    color: #fff;
    font-size: .6rem;
    font-weight: 850;
    left: 1rem;
    letter-spacing: .12em;
    padding: .55rem .75rem;
    position: absolute;
}

.home-product-body {
    padding: 1.4rem;
}

.home-product-category {
    color: var(--copper-light);
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .15em;
}

.home-product-body h3 {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 850;
    margin: .5rem 0;
}

.home-product-body p {
    color: #c7b6aa;
    font-size: .88rem;
    line-height: 1.7;
    min-height: 4.5em;
}

.home-product-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    margin-top: 1.1rem;
    padding-top: 1rem;
}

    .home-product-bottom strong {
        color: #fff;
        font-size: 1.2rem;
    }

    .home-product-bottom a {
        align-items: center;
        background: var(--copper);
        border-radius: 50%;
        color: #fff;
        display: flex;
        height: 42px;
        justify-content: center;
        text-decoration: none;
        transition: all .2s ease;
        width: 42px;
    }

        .home-product-bottom a:hover {
            background: var(--cream);
            color: var(--espresso);
        }

/* REWARDS */

.home-rewards-section {
    background-image: linear-gradient(100deg, rgba(48, 20, 6, .97), rgba(48, 20, 6, .89)), url("/images/Home/Up_Cup.jpg");
    background-position: center;
    padding: 6rem 0;
}

.home-rewards-card {
    align-items: center;
    display: grid;
    gap: 3rem;
    grid-template-columns: 1.2fr .8fr;
}

.home-rewards-content .home-eyebrow {
    color: var(--copper-light);
}

.home-rewards-content h2 {
    color: #fff;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: 1.02;
    margin-bottom: 1.4rem;
}

.home-rewards-content p {
    color: #e0d0c5;
    line-height: 1.85;
    max-width: 560px;
}

.home-rewards-content .home-rewards-detail {
    color: #c6a997;
    font-size: .85rem;
    margin-bottom: 1.7rem;
}

.home-rewards-visual {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-reward-circle {
    align-items: center;
    background: linear-gradient(145deg, #e8b083, #a05a2c);
    border: 7px solid #f6e7de;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    color: #241008;
    display: flex;
    flex-direction: column;
    height: 260px;
    justify-content: center;
    width: 260px;
}

    .home-reward-circle > i {
        font-size: 2rem;
    }

    .home-reward-circle > strong {
        font-size: 4.5rem;
        font-weight: 950;
        letter-spacing: -.08em;
        line-height: 1;
    }

    .home-reward-circle > span {
        font-size: .62rem;
        font-weight: 900;
        letter-spacing: .13em;
    }

.home-reward-divider {
    background: rgba(36, 16, 8, .35);
    height: 1px;
    margin: .8rem 0;
    width: 55%;
}

.home-reward-circle .home-free-bag {
    font-size: 1.35rem;
    letter-spacing: .02em;
}

.home-reward-caption {
    color: #e5b58f;
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .16em;
    margin-top: 1.3rem;
    text-align: center;
}

/* BREWING */

.home-brewing-section {
    background: #101d19;
    border-bottom: 1px solid rgba(217, 149, 96, .25);
    border-top: 1px solid rgba(217, 149, 96, .25);
    padding: 4.5rem 0;
}

    .home-brewing-section p {
        color: #c8d0c8;
        line-height: 1.8;
        max-width: 650px;
    }

/* FINAL CTA */

.home-final-cta {
    background-image: linear-gradient(rgba(13, 10, 8, .76), rgba(13, 10, 8, .9)), url("/images/Story.png");
    background-position: center 55%;
    padding: 7rem 0;
    text-align: center;
}

    .home-final-cta .home-eyebrow {
        color: var(--copper-light);
    }

    .home-final-cta h2 {
        color: #fff;
        font-size: clamp(2.7rem, 5vw, 4.8rem);
        font-weight: 950;
        letter-spacing: -.065em;
        line-height: 1.04;
        margin-bottom: 1.3rem;
    }

    .home-final-cta p {
        color: #e3d4ca;
        line-height: 1.85;
        margin: 0 auto 2rem;
        max-width: 650px;
    }

/* RESPONSIVE */

@media (max-width: 991px) {
    .home-hero {
        min-height: auto;
    }

    .home-rewards-card {
        grid-template-columns: 1fr;
    }

    .home-rewards-visual {
        padding-top: 1rem;
    }

    .home-roasting-image {
        height: 370px;
    }
}

@media (max-width: 767px) {
    .home-hero {
        padding: 5rem 0;
    }

        .home-hero h1 {
            font-size: clamp(3rem, 13vw, 4.5rem);
        }

    .home-hero-points {
        gap: .8rem;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .8rem;
    }

    .home-highlight {
        justify-content: flex-start;
        padding-left: 1rem;
    }

    .home-product-image {
        height: 270px;
    }

    .home-roasting-image {
        height: 310px;
    }

    .home-reward-circle {
        height: 220px;
        width: 220px;
    }

        .home-reward-circle > strong {
            font-size: 3.8rem;
        }
}

@media (max-width: 575px) {
    .home-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .home-hero-actions .home-btn {
            width: 100%;
        }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        transition-duration: .01ms !important;
    }
}


/* =========================================
   DELBRIDGE COFFEE - MOBILE HERO DESIGN
   Desktop layout remains unchanged.
========================================= */

@media (max-width: 575px) {

    /* Main photographic hero */
    .home-hero {
        min-height: 590px;
        padding: 3.5rem 0;
        display: flex;
        align-items: center;
        background-image: linear-gradient( 180deg, rgba(13, 10, 8, .48) 0%, rgba(13, 10, 8, .30) 45%, rgba(13, 10, 8, .62) 100% ), url("/images/Hero_Fireweed.png");
        background-position: 58% center;
        background-size: cover;
    }

        /* Remove excessive Bootstrap column spacing */
        .home-hero .row {
            --bs-gutter-y: 0;
        }

    /* Hide the long introduction */
    .home-hero-copy {
        display: none !important;
    }

    /* Hide the secondary desktop photograph.
       The background image becomes the mobile hero image. */
    .home-hero-image-wrap {
        display: none;
    }

    /* Hide redundant supporting points */
    .home-hero-points {
        display: none;
    }

    /* Eyebrow */
    .home-eyebrow {
        font-size: .62rem;
        letter-spacing: .12em;
        line-height: 1.6;
        margin-bottom: 1.3rem;
        gap: .45rem;
    }

    /* Headline */
    .home-hero h1 {
        font-size: clamp(3.2rem, 12vw, 4rem);
        line-height: .96;
        letter-spacing: -.065em;
        margin-bottom: 2rem;
        max-width: 440px;
    }

    /* Buttons */
    .home-hero-actions {
        display: flex;
        flex-direction: row;
        gap: .65rem;
        margin-top: 0;
        flex-wrap: nowrap;
    }

        .home-hero-actions .home-btn {
            flex: 1;
            width: auto;
            min-width: 0;
            padding: .95rem .55rem;
            font-size: .76rem;
            gap: .35rem;
            text-align: center;
        }

            /* Slightly smaller arrow */
            .home-hero-actions .home-btn i {
                font-size: .85rem;
            }
}

/* Very narrow phones */
@media (max-width: 360px) {

    .home-hero {
        min-height: 540px;
        padding: 3rem 0;
    }

        .home-hero h1 {
            font-size: 3rem;
        }

    .home-hero-actions .home-btn {
        font-size: .7rem;
        padding: .85rem .4rem;
    }
}


