/* Colors */
:root {
    --bg-dark: #141414;
    --bg-header: #000000;
    --bg-content: #282828;
    --gold: #d4af37;
    --gold-dark: #c49d26;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: #444444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide scrollbar but allow scrolling */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Lato', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-y: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Header */
.navbar {
    background-color: var(--bg-header);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #1a1a1a;
    flex-wrap: nowrap;
}

.nav-box {
    flex-shrink: 0;
}

.logo img {
    height: 35px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 0;
    font-size: 15px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Overlay styles */
.overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.overlay-content {
    background-color: var(--bg-content);
    padding: 30px;
    border: 1px solid var(--gold);
    width: 90%;
    max-width: 450px;
    border-radius: 8px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    color: var(--gold);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.contact-info p {
    margin: 15px 0;
    color: var(--text-light);
    font-size: 16px;
}

.contact-info strong {
    color: var(--gold);
    display: block;
    margin-bottom: 5px;
    font-family: 'Cinzel', serif;
}

.phone-link {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #d4af37;
    text-decoration: underline;
}

.social-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 10px 10px 0 10px;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Hero Section */
main section {
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(rgba(20, 20, 20, 0.6), rgba(20, 20, 20, 0.9)), url('images/background_img.jpeg') center/cover no-repeat;
    gap: 35px;
    position: relative;
    overflow: hidden;
}

main section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    pointer-events: none;
}

.hero-logo {
    z-index: 1;
}

.hero-logo img {
    max-width: 380px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.25));
    animation: pulseGlow 4s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.10));
        transform: scale(1);
    }

    100% {
        filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.45));
        transform: scale(1.03);
    }
}

.hero-description {
    order: 2;
    z-index: 1;
}

.hero-description p {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    color: var(--text-light);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description p::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-action {
    order: 3;
    z-index: 1;
    margin-top: 20px;
}

.menu-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-header);
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 45px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.menu-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.menu-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #e6c55c, var(--gold));
}

/* Main title */
.page-title {
    text-align: center;
    font-family: 'Cinzel', serif;
    color: var(--text-light);
    font-size: 36px;
    font-weight: 600;
    margin: 80px 0 50px 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    display: flex;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Dropdown menus Container */
.menu-container {
    max-width: 800px;
    margin: 0 auto 100px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding: 0 20px;
}

.menu-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 80%);
    z-index: -1;
    pointer-events: none;
}

/* Panel styling */
.menu-section {
    background: rgba(40, 40, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.menu-section:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.menu-section summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    color: var(--gold);
}

.menu-section summary::-webkit-details-marker {
    display: none;
}

.menu-section summary:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--gold-dark);
}

/* Arrow */
.arrow {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Open section */
.menu-section[open] {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
}

.menu-section[open] summary {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), transparent);
    color: #ffffff;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.menu-section[open] summary .arrow {
    border-color: #ffffff;
    transform: rotate(-135deg);
}

/* Item contents */
.menu-content {
    background: rgba(20, 20, 20, 0.8);
    padding: 5px 0;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.menu-item:last-child {
    border-bottom: none;
}

.item-left {
    flex: 1;
}

.item-left h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.allergens {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

/* Allergen badges */
.badge {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: help;
}

.badge.sulfites {
    background-image: url('images/icons/Anidride Solforosa.png');
}

.badge.nuts {
    background-image: url('images/icons/Arachidi.png');
}

.badge.crustaceans {
    background-image: url('images/icons/Crostacei.png');
}

.badge.tree-nuts {
    background-image: url('images/icons/Frutta Secca.png');
}

.badge.gluten {
    background-image: url('images/icons/Glutine.png');
}

.badge.dairy {
    background-image: url('images/icons/Latticini.png');
}

.badge.lupin {
    background-image: url('images/icons/Lupini.png');
}

.badge.mollusks {
    background-image: url('images/icons/Molluschi.png');
}

.badge.fish {
    background-image: url('images/icons/Pesce.png');
}

.badge.celery {
    background-image: url('images/icons/Sedano.png');
}

.badge.mustard {
    background-image: url('images/icons/Senape.png');
}

.badge.sesame {
    background-image: url('images/icons/Sesamo.png');
}

.badge.soy {
    background-image: url('images/icons/Soia.png');
}

.badge.eggs {
    background-image: url('images/icons/Uova.png');
}

.item-right {
    text-align: right;
    flex-shrink: 0;
    margin-left: 20px;
}

.ingredients {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-style: italic;
}

.price {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark);
    padding: 20px 5% 40px 5%;
    margin-top: 40px;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    border-top: 2px solid var(--gold);
    padding-top: 20px;
    text-align: center;
}

.footer-container p {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 300;
    margin: 4px 0;
    letter-spacing: 0.5px;
}

/* Menu Header Info */
.menu-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.service-price {
    color: var(--text-muted);
    font-size: 16px;
    font-style: italic;
    font-family: 'Cinzel', serif;
}

.menu-button-small {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-header);
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.menu-button-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #e6c55c, var(--gold));
}

/* Allergens Modal */
.allergens-modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.allergens-list {
    list-style-type: none;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
}

.allergens-list li {
    margin: 8px 0;
    color: var(--text-light);
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.allergens-list li:last-child {
    border-bottom: none;
}

.allergens-list strong {
    display: inline;
    color: var(--gold);
    margin-right: 5px;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .menu-header-info {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        justify-content: space-between;
    }

    .item-right {
        flex-shrink: 1;
        max-width: 60%;
        margin-left: 10px;
    }

    .ingredients {
        white-space: normal;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}