/* =========================================================
   HERO SECTION
   ========================================================= */

/* ---------------------------------------------------------
   BACKGROUND CLASSES
   Use these directly in your HTML:
   class="bg1"
   class="bg2"
   --------------------------------------------------------- */

.bg1 {
    background-color: var(--bg1);
}

.bg2 {
    background-color: var(--bg2);
}


/* ---------------------------------------------------------
   HERO OUTER SECTION
   --------------------------------------------------------- */

.hero {
    width: 100%;
    padding: 110px 7% 90px;
}


/* ---------------------------------------------------------
   HERO CONTENT WIDTH
   Keeps everything from stretching across giant screens.
   --------------------------------------------------------- */

.hero-inner {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;

    gap: 90px;
}


/* =========================================================
   LEFT SIDE
   ========================================================= */

.hero-copy {
    max-width: 650px;
}


/* SMALL TEXT ABOVE HEADLINE */

.hero-eyebrow {
    margin: 0 0 22px;

    font-size: 1.1rem;
    font-weight: normal;

    letter-spacing: 0.18em;

    color: var(--accent1);
}


/* MAIN HEADLINE */

.hero-title {
    margin: 0;

    max-width: 650px;

    font-family: "Shortcake Strawberry", sans-serif;

    font-size: clamp(3rem, 5vw, 6rem);
    line-height: 0.93;

    color: var(--text-dark);
}


/* SCRIPT PART OF HEADLINE */

.hero-script {
    display: block;

    margin-top: 12px;

    font-family: "Shortcake Strawberry Script", cursive;
    font-weight: normal;

    font-size: 0.85em;
    line-height: 1;

    color: var(--accent1);
}


/* DESCRIPTION */

.hero-description {
    max-width: 520px;

    margin: 34px 0 32px;
    
    font-family: "Mono Journal";
    line-height: 1.7;

    color: var(--text-dark);
}


/* BUTTON */

.hero-button {
    display: inline-block;

    padding: 15px 24px;

    background-color: var(--button-bg);
    color: var(--button-text);

    text-decoration: none;

    font-size: 1.25rem;
    font-weight: 700;

    letter-spacing: 0.1em;

    border-radius: 4px;

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


.hero-button:hover {
    transform: translateY(-3px);
    background-color: var(--accent1);
}


/* =========================================================
   RIGHT SIDE / PHOTO
   ========================================================= */

.hero-visual {
    position: relative;

    width: 100%;
    max-width: 480px;

    justify-self: end;

    padding: 0 18px 25px 0;
}


/* COPPER SHAPE BEHIND PHOTO */

.hero-photo-backdrop {
    position: absolute;

    top: 18px;
    left: 18px;

    width: calc(100% - 18px);
    height: calc(100% - 25px);

    background-color: var(--accent1);

    border-radius: 18px;

    z-index: 0;
}


/* ACTUAL PHOTO */

.hero-photo {
    position: relative;

    display: block;

    width: 100%;
    height: 570px;

    object-fit: cover;
    object-position: center;

    border-radius: 18px;

    z-index: 1;
}


/* LITTLE HANDWRITTEN NOTE */

.hero-note {
    position: absolute;
    right: -18px;
    bottom: 22px;

    background: #E7D8C6;
    color: var(--copper-ink);

    font-family: "Shortcake Strawberry Script", cursive;
    font-size: 1.4rem;

    padding: 12px 22px;

    transform: rotate(-4deg);

    z-index: 5;

    box-shadow: 3px 4px 0 rgba(67, 65, 64, 0.15);
}
/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .hero {
        padding: 90px 7% 70px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-copy {
        max-width: 700px;
    }

    .hero-visual {
        justify-self: start;

        width: min(100%, 500px);
    }

}


@media (max-width: 600px) {

    .hero {
        padding: 75px 6% 60px;
    }

    .hero-title {
        font-size: clamp(2.75rem, 13vw, 4.25rem);
    }

    .hero-photo {
        height: 480px;
    }

    .hero-note {
        right: 0;
        font-size: 1.5rem;
    }

}

@media (min-width: 1500px) {

.hero-description {
    font-size: 1.75rem;
}

}