﻿


    /* ---------- MOBILE FIRST ---------- */
.hero {
    position: relative;
    width: 100%;
    /*aspect-ratio: 7/4;*/
    min-height:600px;
    background-image: url('../Images/hero_bg_mobile.svg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    display: flex;
    /*align-items: center;*/
    overflow: hidden;
    /* margin-top: var(--nav-height);*/
    align-items: flex-start;
   
   
}

.hero__content {
    position: relative;
    z-index: 10; /* sits above background */
    padding: 10px 20px;
    max-width: 340px;
    margin-top: 17vw;
/*    margin-top:-45px;
*/}

/* !! important overrides any conflicting h1 rule in your page CSS !! */
.hero__headline {
    font-size: clamp(1rem, 4.5vw, 1.4rem);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #384f45 !important;
    margin: 0 0 5px 0;
    padding: 0;
    display: block;
    text-shadow: none;
    background: none;
    -webkit-text-fill-color: #384f45; /* catches gradient-text hacks */
}

.hero__cta {
    display: inline-block;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #e4a11f;
    background: transparent;
    border: 2px solid #e4a11f;
    border-radius: 999px;
    padding: 3px 5px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

    .hero__cta:hover,
    .hero__cta:focus-visible {
        background: #e4a11f;
        color: #f5efe2;
        outline: none;
    }

    .hero__cta:active {
        transform: scale(0.97);
    }


@media (max-width: 767px) {
    .hero {
        justify-content: center;
        
    }

    .hero__content {
        text-align: center;
        align-items: center;
        max-width: 420px;
        gap: 12px;
        padding-top:40px;
    }

    .hero__headline {
        font-size: 1.4rem;
        color: #384f45;
        -webkit-text-fill-color: #384f45;
    }

    .hero__subheading {
        font-size: .9rem;
        color: #a14c22;
        line-height: 1;
        margin: 0;
        margin-top: 10px;
        display: inline-block;
        padding: 0 25px;
    }

    .hero__cta {
        font-size: .6rem;
        padding: 10px 22px;
        background: #D96B2A;
        color: #f5efe2;
        border: none;
        margin-top: 20px;
    }

        .hero__cta:hover,
        .hero__cta:focus-visible {
            background: #D96B2A;
            color: #f5efe2;
            outline: none;
        }
}

/* ---------- TABLET (768px+) ---------- */
@media (min-width: 768px) {
    .hero {
        /* height: 44vw;*/
       min-height:none;
        position: relative;
        width: 100%;
        aspect-ratio: 4/3;
        background-image: url('../Images/hero_bg_4x3.svg');
        background-size: cover;
        background-position: center 35%;
        background-repeat: no-repeat;
        display: flex;
        /*align-items: center;*/
        overflow: hidden;
        /* margin-top: var(--nav-height);*/
        align-items: flex-start;
    }

    .hero__content {
        padding: 48px 48px;
        max-width: 460px;
        margin-top: 14vw;
        /*        margin-top:-160px;
*/
    }

    .hero__headline {
        font-size: clamp(2rem, 5vw, 2.7rem);
        margin-bottom: 24px;
    }
    .hero__subheading {
        display:none;
    }
        .hero__cta {
        font-size: 1.1rem;
        padding: 11px 26px;
        margin-top:0;
    }
}

/* ---------- DESKTOP (1200px+) ---------- */
@media (min-width: 1200px) {
    .hero {
        /* width: 120vw;*/
        background-position: center bottom;
        background-image: url('../Images/hero_bg_1024x500.svg');
        aspect-ratio: 1024/510;
    }

    .hero__content {
        padding: 64px 0px 64px 115px;
        max-width: 800px;
        margin-top: 8vw;
        /*        margin-top:-250px;
*/
    }

    .hero__headline {
        font-size: 4rem;
        margin-bottom: 28px;
    }

    .hero__cta {
        font-size: 1.3rem;
        padding: 12px 30px;
    }
}
