/* =====================================================
   GLOBAL HERO SECTION
   Shared hero structure and typography used across:
   - index.html
   - menu.html
   - reservasi.html

   Based on reservasi page layout and spacing.
===================================================== */

.menu-hero,
.contact-hero {
    position: relative;
    min-height: 100vh;
    width: auto;
    display: flex;
    margin-top: 60px;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero {
    position: relative;
    min-height: 100vh;
    width: auto;
    display: flex;
    margin-top: 40px;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.reservation-hero {
    position: relative;
    min-height: 100vh;
    width: auto;
    display: flex;
    margin-top: 70px;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay,
.menu-hero-overlay,
.reservation-hero-overlay,
.contact-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            var(--overlay-maroon-dark) 0%,
            var(--overlay-maroon-medium) 45%,
            var(--overlay-maroon-light) 100%
        ),
        linear-gradient(
            0deg,
            rgba(36, 7, 13, 0.88),
            transparent 50%
        );
}

.menu-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            var(--overlay-maroon-medium),
            var(--overlay-maroon-dark)
        ),
        linear-gradient(
            to top,
            var(--overlay-maroon-dark),
            transparent 45%
        );
}

.hero-content,
.menu-hero-content,
.reservation-hero-content,
.contact-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0;
}

.hero-content > *,
.menu-hero-content > *,
.reservation-hero-content > *,
.contact-hero-content > * {
    margin: 0;
}

.hero h1,
.menu-hero h1,
.reservation-hero h1,
.contact-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(75px, 7vw, 160px);
    line-height: 0.92;
    margin: 0;
    font-weight: 600;
}

.hero-subtitle,
.menu-hero .hero-subtitle,
.reservation-hero .hero-subtitle,
.contact-hero .hero-subtitle {
    color: var(--color-secondary-light);
    letter-spacing: 5px;
    font-size: 14px;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-description,
.menu-hero .hero-description,
.reservation-hero .hero-description,
.contact-hero .hero-description {
    max-width: 650px;
    margin: 0;
    font-size: 18px;
    color: var(--color-text-light);
    font-weight: 400;
    line-height: 1.8;
    text-transform: none;
    letter-spacing: normal;
}

.hero-hours,
.menu-hero .hero-hours,
.reservation-hero .hero-hours,
.contact-hero .hero-hours {
    margin: 0;
}

.hero-hours p,
.menu-hero .hero-hours p,
.reservation-hero .hero-hours p,
.contact-hero .hero-hours p {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin: 0;
    color: var(--color-secondary-light);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    width: fit-content;
    max-width: 100%;
}

.hero-hours p::before,
.menu-hero .hero-hours p::before,
.reservation-hero .hero-hours p::before,
.contact-hero .hero-hours p::before {
    content: none;
    display: none;
}

.hero-hours p::after,
.menu-hero .hero-hours p::after,
.reservation-hero .hero-hours p::after,
.contact-hero .hero-hours p::after {
    content: "";
    width: 45px;
    height: 1px;
    background: var(--color-secondary-light);
    opacity: 0.7;
    display: block;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin: 0;
    padding-bottom: 10px;
}

.hero-information {
    position: absolute;
    right: 20px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 8px;
    width: min(100%, 860px);
    padding: 0;
}

.hero-info h3,
.hero-info p {
    margin: 0;
    text-align: right;
}

.hero-info h3,
.menu-hero .hero-info h3,
.contact-hero .hero-info h3 {
    color: var(--color-secondary-light);
    font-family: var(--font-heading, "Cormorant Garamond", serif);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-info p,
.menu-hero .hero-info p,
.contact-hero .hero-info p {
    color: var(--color-secondary-light);
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 500;
    letter-spacing: 0.16em;
}

@media (max-width: 768px) {
    .hero,
    .menu-hero,
    .reservation-hero,
    .contact-hero {
        min-height: 100svh;
        align-items: flex-end;
        padding-bottom: 100px;
        box-sizing: border-box;
    }

    .hero-content,
    .menu-hero-content,
    .reservation-hero-content,
    .contact-hero-content {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    .hero-hours p,
    .menu-hero .hero-hours p,
    .reservation-hero .hero-hours p,
    .contact-hero .hero-hours p {
        font-size: 10px;
        letter-spacing: 0.06em;
        gap: 8px;
        white-space: nowrap;
        width: auto;
        max-width: 100%;
    }

    .hero-hours p::before,
    .menu-hero .hero-hours p::before,
    .reservation-hero .hero-hours p::before,
    .contact-hero .hero-hours p::before {
        display: none;
        content: none;
    }

    .hero-hours p::after,
    .menu-hero .hero-hours p::after,
    .reservation-hero .hero-hours p::after,
    .contact-hero .hero-hours p::after {
        width: 18px;
        min-width: 18px;
    }
}

@media (max-width: 480px) {
    .hero,
    .menu-hero,
    .reservation-hero,
    .contact-hero {
        min-height: auto;
        padding: 150px 24px 80px;
        box-sizing: border-box;
    }

    .hero-content,
    .menu-hero-content,
    .reservation-hero-content,
    .contact-hero-content {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    .hero h1,
    .menu-hero h1,
    .reservation-hero h1,
    .contact-hero h1 {
        font-size: clamp(44px, 10vw, 64px);
        line-height: 0.95;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .hero-subtitle,
    .menu-hero .hero-subtitle,
    .reservation-hero .hero-subtitle,
    .contact-hero .hero-subtitle {
        letter-spacing: 3px;
        font-size: 12px;
    }

    .hero-description,
    .menu-hero .hero-description,
    .reservation-hero .hero-description,
    .contact-hero .hero-description {
        font-size: 16px;
        margin: 20px 0;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: max-content;
        flex: 0 0 auto;
        min-height: 44px;
        padding: 0 18px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .hero-information {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 60px;
    }

    .hero-info {
        padding: 20px;
    }
}
