/* ============================================
   Middle Feast Restaurant - Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: calc(100vh - 88px);
    height: calc(100vh - 88px);
    display: block;
    overflow: hidden;
    background: linear-gradient(140deg, #0d0d0d 0%, #16120c 45%, #070707 100%);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translateZ(0);
    transition: opacity 950ms ease;
    will-change: opacity;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    transform: scale(1);
    transition: transform 5200ms ease-out;
    will-change: transform;
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__slide.is-active img {
    transform: scale(1.08);
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 165, 0, 0.18), transparent 42%),
        linear-gradient(130deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.66));
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 600px;
    padding: var(--spacing-md);
}

.hero__container {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 10%;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    text-align: center;
}

.hero__dish-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 165, 0, 0.18);
    border: 1px solid rgba(255, 191, 84, 0.55);
    color: #ffe7bf;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.85s ease-out both;
}

.hero__container h1 {
    color: var(--color-white);
    font-size: 3.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    animation: slideDown 0.75s ease-out both;
}

.hero__tagline {
    font-family: var(--font-tagline);
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 400;
    color: #f5dfa0;
    letter-spacing: 0.025em;
    line-height: 1.65;
    margin-bottom: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
    animation: fadeInUp 1s ease-out 0.22s both;
}

.hero__title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    letter-spacing: -2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.8s ease-out;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-out 0.2s both;
}

.hero__content .button {
    margin: var(--spacing-md) var(--spacing-sm);
    animation: fadeIn 1s ease-out 0.4s both;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 78px);
        height: calc(100vh - 78px);
    }

    .hero__container {
        max-width: 100%;
        bottom: 8%;
        padding: 0 var(--spacing-md);
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-md);
    }

    .hero__content .button {
        display: block;
        margin: var(--spacing-sm) 0;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: calc(100vh - 72px);
        height: calc(100vh - 72px);
    }

    .hero__container {
        bottom: 7%;
        padding: 0 var(--spacing-sm);
    }

    .hero__title {
        font-size: 2rem;
        margin-bottom: var(--spacing-sm);
    }

    .hero__dish-tag {
        font-size: 0.78rem;
        margin-bottom: var(--spacing-sm);
    }

    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }

    .hero__content {
        padding: var(--spacing-sm);
    }

    .hero__content .button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
