/* =========================================
   DOM ZEFERINO — EMENTA PAGE STYLES
   ========================================= */

/* ---- PAGE HERO ---- */
.page-hero {
    position: relative;
    height: 55vh;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            160deg,
            rgba(30, 34, 24, 0.92) 0%,
            rgba(46, 51, 40, 0.88) 100%
        ),
        url('https://sspark.genspark.ai/cfimages?u1=szlk0U9GvreLvH2WTZGrBVwFDszwlJrILxhB2WyvZobVjujPgnfY0st2%2BxCg9oTJLGMQu%2BoYVNNhCwlh3dHn9ZGftln%2FiHvuE8odBNZBwj2CtuAYBl4zn3jQYYxSg%2BP05JHnCAj6WT6An3iCayXeTTigC0xg%2F6xDSNpKbRQ99pX0RPcTfOnbgpkJZZWdpSeUCvdbEJgw8X3alSRuJP0o&u2=MmYAaGD9MOTDxg0r&width=2560') center/cover no-repeat;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
    animation: heroFadeIn 0.8s ease both;
}

.page-hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 600;
    color: var(--ivory);
    margin: 1rem 0;
    line-height: 1.1;
}

.page-hero-content h1 em {
    font-style: italic;
    color: var(--gold-light);
}

.page-hero-content p {
    font-size: 1.05rem;
    color: rgba(245, 240, 232, 0.7);
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
}

/* ---- EMENTA MAIN ---- */
.ementa-main {
    padding: 5rem 0;
    background: var(--cream);
}

/* ---- EMENTA INTRO ---- */
.ementa-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.ementa-intro p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 1.5rem 0 1rem;
}

.allergen-note {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 0.7rem 1.2rem;
    margin-top: 0.5rem;
}

.allergen-note i {
    color: var(--gold);
    font-size: 0.9rem;
}

.allergen-note span {
    font-size: 0.8rem;
    color: var(--text-medium);
    font-style: italic;
}

/* ---- MENU SECTION ---- */
.menu-section {
    margin-bottom: 5rem;
    animation: tabFadeIn 0.5s ease;
}

.featured-section {
    background: var(--ivory);
    padding: 3rem;
    border-left: 4px solid var(--gold);
}

.menu-section-header {
    margin-bottom: 2.5rem;
}

.menu-section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: var(--olive-dark);
    margin: 0.5rem 0 0.8rem;
}

.title-underline {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin-top: 0.5rem;
}

/* ---- MENU GRID ---- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.menu-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ---- MENU ITEM ---- */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(74, 82, 64, 0.1);
    transition: var(--transition);
    position: relative;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: rgba(201, 168, 76, 0.08);
    transition: width 0.3s ease;
}

.menu-item:hover::before { width: 100%; }

.menu-item:hover {
    transform: translateX(4px);
}

.menu-item.compact {
    padding: 0.9rem 1rem;
    flex-direction: row;
    align-items: center;
}

.menu-item.compact h3 {
    font-size: 0.9rem;
}

.menu-item-info {
    flex: 1;
}

.menu-item-info h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--olive-dark);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.menu-item-info p {
    font-size: 0.83rem;
    color: var(--text-light);
    line-height: 1.5;
}

.menu-price {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold-dark);
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.menu-tag {
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--olive-dark);
    padding: 0.2rem 0.5rem;
    vertical-align: middle;
}

/* ---- WINE SECTION ---- */
.wine-section {
    background: var(--olive-dark);
    padding: 3rem;
    color: var(--ivory);
}

.wine-section .menu-section-header .section-label {
    color: var(--gold-light);
}

.wine-section .menu-section-title {
    color: var(--ivory);
}

.wine-section .title-underline {
    background: var(--gold);
}

.wine-section .menu-item {
    border-color: rgba(245, 240, 232, 0.1);
}

.wine-section .menu-item::before {
    background: rgba(201, 168, 76, 0.12);
}

.wine-section .menu-item-info h3 {
    color: var(--ivory);
}

.wine-section .menu-item-info p {
    color: rgba(245, 240, 232, 0.55);
}

.wine-section .menu-price {
    color: var(--gold-light);
}

.wine-subsection {
    margin-bottom: 2.5rem;
}

.wine-category {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.wine-category i {
    font-size: 0.9rem;
}

/* ---- RESERVE CTA ---- */
.ementa-reserve-cta {
    background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 100%);
    padding: 4rem;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.ementa-reserve-cta::before {
    content: '"';
    position: absolute;
    top: -3rem;
    right: 5%;
    font-family: var(--font-serif);
    font-size: 15rem;
    color: rgba(201, 168, 76, 0.06);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--ivory);
    margin-bottom: 0.8rem;
}

.cta-content p {
    font-family: var(--font-serif);
    font-style: italic;
    color: rgba(245, 240, 232, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-content .btn-gold {
    width: auto;
    display: inline-flex;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .menu-grid { grid-template-columns: 1fr; }
    .menu-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .featured-section { padding: 2rem 1.5rem; }
    .wine-section { padding: 2rem 1.5rem; }
    .ementa-reserve-cta { padding: 3rem 1.5rem; }
}

@media (max-width: 600px) {
    .menu-grid-4 { grid-template-columns: 1fr 1fr; }
    .page-hero { min-height: 300px; }
}

@media (max-width: 480px) {
    .menu-item { flex-direction: column; }
    .menu-price { align-self: flex-end; }
    .ementa-main { padding: 3rem 0; }
}
