
/* =====================================
   THE GLOBAL INTERIORS - HERO SECTION
===================================== */

.hero-section {
    position: relative;
    min-height: 690px;
    height: min(790px, calc(100svh - 88px));
    width: 100%;
    overflow: hidden;
    background: #292721;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
}

/* BACKGROUND IMAGE */

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    animation: heroZoom 1.5s ease-out both;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(22, 21, 18, 0.78) 0%,
            rgba(22, 21, 18, 0.52) 48%,
            rgba(22, 21, 18, 0.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(22, 21, 18, 0.48) 0%,
            transparent 40%
        );
}

/* HERO CONTENT */

.hero-container {
    position: relative;
    z-index: 2;

    max-width: 1440px;
    height: 100%;
    min-height: inherit;

    margin: auto;
    padding: 0 8%;

    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 760px;
    padding: 70px 0;
}

/* EYEBROW */

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 30px;

    color: #d4bb8e;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;

    animation: heroFade 1s ease both;
}

.hero-eyebrow::before {
    content: '';
    width: 38px;
    height: 1px;
    background: #c5a875;
}

/* HEADING */

.hero-title {
    margin: 0;

    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6.4vw, 88px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -2px;

    animation: heroFade 1s ease 0.15s both;
}

.hero-title span {
    display: block;
    color: #d6bd91;
    font-style: italic;
    font-weight: 400;
}

/* DESCRIPTION */

.hero-description {
    max-width: 480px;
    margin: 28px 0 34px;

    color: rgba(255,255,255,0.80);
    font-size: 14px;
    line-height: 2;

    animation: heroFade 1s ease 0.3s both;
}

/* BUTTONS */

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;

    animation: heroFade 1s ease 0.45s both;
}

.hero-btn {
    min-height: 55px;
    padding: 0 26px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.3px;
    text-transform: uppercase;

    transition: all 0.3s ease;
}

.hero-btn-primary {
    background: #c4a77b;
    color: #211f1a;
    border: 1px solid #c4a77b;
}

.hero-btn-primary:hover {
    background: #e0c69c;
    border-color: #e0c69c;
}

.hero-btn-secondary {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.04);
}

.hero-btn-secondary:hover {
    background: #fff;
    color: #25231f;
}

.hero-btn span {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.hero-btn:hover span {
    transform: translate(4px, -3px);
}

/* BOTTOM INFORMATION */

.hero-bottom {
    position: absolute;
    z-index: 2;

    bottom: 0;
    left: 8%;
    right: 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.30);
}

.hero-bottom-text {
    color: rgba(255,255,255,0.78);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #d6bd91;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 35px;
    height: 1px;
    background: #c4a77b;
}

/* ANIMATIONS */

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1.07);
    }

    to {
        transform: scale(1);
    }
}

/* TABLET */

@media (max-width: 900px) {

    .hero-section {
        height: 750px;
        min-height: 650px;
    }

    .hero-container {
        padding: 0 6%;
    }

    .hero-bottom {
        left: 6%;
        right: 6%;
    }

    .hero-title {
        font-size: clamp(54px, 8vw, 75px);
    }

}

/* MOBILE */

@media (max-width: 600px) {

    .hero-section {
        height: calc(100svh - 76px);
        min-height: 650px;
        max-height: 850px;
    }

    .hero-background {
        object-position: 58% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(20,19,16,0.77),
                rgba(20,19,16,0.42)
            ),
            linear-gradient(
                0deg,
                rgba(20,19,16,0.62),
                transparent 85%
            );
    }

    .hero-container {
        padding: 0 7%;
        align-items: center;
    }

    .hero-content {
        padding: 45px 0 80px;
    }

    .hero-eyebrow {
        font-size: 9px;
        letter-spacing: 2.5px;
        margin-bottom: 25px;
    }

    .hero-title {
        font-size: clamp(43px, 11vw, 61px);
        line-height: 1.15;
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 13px;
        line-height: 1.9;
        margin: 22px 0 28px;
        max-width: 390px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 270px;
        gap: 12px;
    }

    .hero-btn {
        width: 100%;
        min-height: 53px;
        padding: 0 17px;
        justify-content: space-between;
        font-size: 10px;
    }

    .hero-bottom {
        left: 7%;
        right: 7%;
        padding: 17px 0;
    }

    .hero-bottom-text {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .hero-scroll {
        font-size: 8px;
        letter-spacing: 1px;
        gap: 7px;
    }

    .hero-scroll-line {
        width: 20px;
    }

}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .hero-background,
    .hero-eyebrow,
    .hero-title,
    .hero-description,
    .hero-actions {
        animation: none;
    }

    .hero-btn,
    .hero-btn span {
        transition: none;
    }

}
