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

.hero-menu {
    position: relative;
    min-height: 42vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a0f0a;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1551218808-94e220e084d2?auto=format&fit=crop&w=1600&q=80")
        center/cover no-repeat;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(212,175,55,0.25) 0%, transparent 55%),
        radial-gradient(circle at 80% 100%, rgba(0,0,0,0.6) 0%, transparent 60%);
    mix-blend-mode: soft-light;
}

.hero-wrapper {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 60px 1.4rem 40px;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.hero-subtitle {
    font-family: var(--sans);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.08em;
    margin-top: 0.3rem;
}



/* ==================== BASE MENU ==================== */

.menu-section {
    padding: 1.5rem 0 3.5rem;
    background: radial-gradient(circle at top, #f9f3ea 0%, #e8e4df 45%, #f5f1ed 100%);
}

.menu-header-simple {
    max-width: 680px;
    margin: 0 auto 1.8rem;
    padding: 0 1.4rem;
    text-align: center;
}

.menu-eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #b68f2a;
    margin-bottom: 0.35rem;
}

.menu-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4.8vw, 2.6rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.menu-subtitle {
    font-family: var(--sans);
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

.menu-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

/* ==================== CATEGORY CARD ==================== */

.menu-category {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 244, 237, 0.98));
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    overflow: hidden;
    backdrop-filter: saturate(150%) blur(18px);
    -webkit-backdrop-filter: saturate(150%) blur(18px);
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.menu-category.open {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* ==================== CATEGORY HEADER ==================== */

.category-header {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) auto;
    gap: 0.9rem;
    align-items: stretch;
    padding: 0.8rem 0.85rem 0.8rem 0.8rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.category-visual {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 80px;
    background: radial-gradient(circle at 20% 0%, #d4af37 0%, #1a0f0a 60%);
}

.category-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.95;
}

.menu-category:hover .category-visual img {
    transform: scale(1.1);
    opacity: 1;
}

.category-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.12) 42%,
        rgba(255, 255, 255, 0.02) 100%
    );
    mix-blend-mode: soft-light;
}

.category-chip {
    position: absolute;
    left: 0.7rem;
    bottom: 0.6rem;
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    background: rgba(245, 243, 239, 0.9);
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1a0f0a;
}

.category-header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    padding-right: 0.3rem;
}

.category-header-top {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.category-emoji {
    font-size: 1.6rem;
}

.category-title {
    font-family: var(--serif);
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dark);
}

.category-subtitle {
    font-family: var(--sans);
    font-size: 0.82rem;
    color: #6b7280;
    font-style: italic;
}

.toggle-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.16);
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.25rem;
    transition: all 0.3s ease;
}

.toggle-icon svg {
    color: #b68f2a;
    transition: transform 0.3s ease;
}

.menu-category.open .toggle-icon svg {
    transform: rotate(180deg);
}

/* ==================== CATEGORY CONTENT (ACCORDION) ==================== */

.category-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    padding: 0 0.85rem 0.5rem;
    transition:
        max-height 0.7s cubic-bezier(0.25, 0.1, 0.25, 1),
        opacity 0.4s ease,
        transform 0.4s ease,
        padding-top 0.4s ease,
        padding-bottom 0.4s ease;
    will-change: max-height, opacity, transform;
}

.menu-category.open .category-content {
    opacity: 1;
    transform: translateY(0);
    padding-top: 0.4rem;
    padding-bottom: 0.8rem;
}

/* ==================== DISH CARD ==================== */

.dish {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(90px, 0.95fr);
    gap: 0.7rem;
    margin: 0.7rem 0;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    border: 1px solid rgba(243, 244, 246, 0.95);
    box-shadow:
        0 6px 18px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.dish-visible {
    opacity: 1;
    transform: translateY(0);
}

.dish:hover {
    box-shadow:
        0 10px 26px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(252, 247, 237, 0.96));
}

.dish-main {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dish-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}

.dish-title {
    font-family: var(--serif);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--dark);
}

.dish-price {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: #b68f2a;
    letter-spacing: 0.12em;
}

.dish-text {
    font-family: var(--sans);
    font-size: 0.82rem;
    color: #4b5563;
    line-height: 1.5;
}

.dish-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.32);
    background: rgba(212, 175, 55, 0.12);
    font-family: var(--sans);
    font-size: 0.73rem;
    font-weight: 500;
    color: #8b6914;
}

.badge.special {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.6);
    font-weight: 600;
}

/* ==================== DISH MEDIA ==================== */

.dish-media {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at 0% 0%, #fbbf24 0%, #1f2933 55%);
}

.dish-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        150deg,
        rgba(0, 0, 0, 0.38) 0%,
        rgba(0, 0, 0, 0.18) 40%,
        transparent 100%
    );
    mix-blend-mode: soft-light;
}

.dish-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform 0.4s ease;
}

.dish:hover .dish-media img {
    transform: scale(1.09);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .menu-section {
        padding-top: 1.3rem;
    }

    .menu-container {
        padding: 0 0.8rem;
    }

    .category-header {
        grid-template-columns: 120px minmax(0, 1.9fr) auto;
        padding: 0.7rem;
    }

    .dish {
        grid-template-columns: minmax(0, 1.6fr) minmax(90px, 1fr);
        padding: 0.85rem;
        margin: 0.55rem 0;
    }

    .dish-title {
        font-size: 0.95rem;
    }

    .dish-price {
        font-size: 0.9rem;
    }
}

@media (max-width: 520px) {
    .category-header {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .category-visual {
        min-height: 110px;
    }

    .toggle-icon {
        position: absolute;
        right: 0.9rem;
        top: 0.9rem;
    }

    .category-header-text {
        padding-top: 0.45rem;
    }

    .dish {
        grid-template-columns: 1fr;
        padding: 0.8rem;
    }

    .dish-media {
        max-height: 160px;
    }
}
