/* ================================
   HOME PAGE
   Mobile first
================================ */

/* ================================
   HERO SECTION
================================ */

.hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem;
    overflow: hidden;
    background-color: var(--color-primary, #1f2937);
    background-image: var(--hero-background, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay for better text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.6)
    );
}

/* Content wrapper */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-white, #ffffff);
}

/* Main title */
.hero-title,
.hero-slogan {
    margin: 0;
    font-family: var(--font-heading, inherit);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    color: inherit;
}

/* Optional subtitle */
.hero-subtitle {
    max-width: 680px;
    margin: 1.5rem auto 0;
    font-family: var(--font-body, inherit);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: inherit;
}

/* Optional buttons wrapper */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

/* ================================
   HERO SECTION RESPONSIVE
================================ */

@media (min-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 8rem 2rem;
    }

    .hero-title,
    .hero-slogan {
        font-size: clamp(3.5rem, 7vw, 6rem);
    }

    .hero-actions {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: 90vh;
    }

    .hero-title,
    .hero-slogan {
        font-size: clamp(4rem, 7vw, 7rem);
    }
}