@import url('https://fonts.googleapis.com/css2?family=Yesteryear&family=Playfair+Display:ital,wght@0,700;1,400&family=Cormorant+Garamond:ital,wght@0,500;1,400&family=Poppins:wght@300;400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4af37;
    --dark-gold: #ddab5b;
    --black: #0a0a0a;
    --light-bg: #f8f5f0;
    --white: #ffffff;
    --gray: #777777;
    --dark-gray: #333333;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 18px;
    background: var(--light-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Yesteryear', 'Playfair Display', 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
    font-weight: 400;
}

/* ---- keep the parallax as requested, but adapt fonts slightly ---- */
.parallax-section {
    position: relative;
    height: 55vh;
    min-height: 380px;
    background-image: url('https://images.unsplash.com/photo-1585937421612-70a008356fbe?q=80&w=1936&auto=format&fit=crop');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 6, 3, 0.45);
    z-index: 1;
}

.parallax-section .container {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 20px;
}

.parallax-content {
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.parallax-title {
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-family: 'Yesteryear', 'Playfair Display', cursive;
    line-height: 1.1;
}

.parallax-subtitle {
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.parallax-content p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

/* ---- main wrapper with background from base ---- */
.menu-wrapper {
    max-width: 1400px;
    margin: -40px auto 0;
    background: var(--white);
    border-radius: 48px 48px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem 2rem;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

/* ---- tabs ---- */
.tabs-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 1rem 0 2.5rem;
    border-bottom: 2px solid #e5d9cf;
    padding-bottom: 1.2rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #4b3f36;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
    background: #f0eae3;
    border: 1px solid transparent;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.tab-btn i {
    margin-right: 8px;
    color: var(--dark-gold);
}

.tab-btn.active {
    background: var(--gold);
    color: var(--black);
    border-color: #b68b40;
    box-shadow: 0 6px 14px rgba(180, 93, 43, 0.2);
}

.tab-btn.active i {
    color: var(--black);
}

/* ---- menu sections (hide/show) ---- */
.menu-section {
    display: none;
    animation: fade 0.3s ease;
}

.menu-section.active-section {
    display: block;
}

@keyframes fade {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

/* ---- category titles with new font style ---- */
.category-title {
    font-size: 2.8rem;
    font-weight: 400;
    border-left: 6px solid var(--gold);
    padding-left: 1.2rem;
    margin: 2.5rem 0 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #2a1f17;
    font-family: 'Yesteryear', 'Playfair Display', serif;
}

.category-title i {
    color: var(--gold);
    font-size: 2.2rem;
    margin-right: 12px;
}

/* ---- menu grid cards (elegant) ---- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 1.5rem 1.8rem;
}

.menu-item-card {
    background: var(--light-bg);
    border-radius: 28px;
    padding: 1.2rem 1.6rem 1.2rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e7dacb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.menu-item-card:hover {
    border-color: var(--gold);
    background: #fffbf5;
    transform: translateY(-2px);
}

.item-info h4 {
    font-size: 1.7rem;
    font-weight: 400;
    color: #1f140e;
    margin-bottom: 0.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.item-info p {
    font-size: 1rem;
    color: #5e4d3d;
    font-style: italic;
    line-height: 1.4;
    max-width: 90%;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

.item-price {
    font-weight: 600;
    font-size: 1.6rem;
    color: #8b5a2b;
    background: #f0e5dc;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    white-space: nowrap;
    margin-left: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.small-note {
    font-size: 0.9rem;
    color: #7e6b5b;
    margin-top: 0.4rem;
    letter-spacing: 0.2px;
    font-style: italic;
}

/* tasting menu box */
.degustazione-box {
    background: #fcf4ec;
    border-radius: 28px;
    padding: 2rem;
    margin: 2rem 0 1rem;
    border: 1px dashed var(--gold);
}

.degustazione-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.degustazione-item {
    flex: 1 1 220px;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.08);
    border: 1px solid #f0e1d2;
}

.degustazione-item h3 {
    font-family: 'Yesteryear', cursive;
    font-size: 2.2rem;
    color: #8B4513;
    border-bottom: 2px dotted #d1ad93;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.price-euro {
    font-weight: 600;
    font-size: 1.6rem;
    color: #74432b;
    font-family: 'Poppins', sans-serif;
}

hr.sep {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 2rem 0;
}

/* wine table refined */
.wine-table {
    width: 100%;
    border-collapse: collapse;
    background: #fcf7f2;
    border-radius: 20px;
    overflow: hidden;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
}

.wine-table th {
    background: var(--gold);
    color: var(--black);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.wine-table th,
.wine-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e4cfbf;
}

.footnote {
    margin-top: 2rem;
    background: #ece1d6;
    padding: 1rem 2rem;
    border-radius: 60px;
    font-size: 0.95rem;
    text-align: center;
    color: #3f2e21;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.drink-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem 1rem;
}

@media (max-width:700px) {
    .parallax-title {
        font-size: 3.2rem;
    }

    .parallax-subtitle {
        font-size: 2.2rem;
    }

    .tabs-container .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .category-title {
        font-size: 2.2rem;
    }
}

/* Menu bambini etc */
.menu-bambini {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
    font-family: 'Poppins', sans-serif;
}

.bambino-item {
    background: var(--light-bg);
    padding: 0.5rem 2rem;
    border-radius: 40px;
    border: 1px solid var(--gold);
    font-size: 1.2rem;
}