/* ========== VARIABILI E RESET ========== */
:root {
    --primary-gold: #D4AF37;
    --primary-gold-dark: #C9A961;
    --primary-dark: #1a1a1a;
    --primary-dark-lighter: #2d2d2d;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --white: #fff;
    --light-bg: #f8f8f8;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

body {
    background-color: #E8D4B8;
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
    padding-top: 70px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: var(--shadow-light);
    z-index: 1000;
}

.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: var(--light-bg);
}

.nav-logo {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--text-dark);
    flex: 1;
    text-align: center;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 100%;
    margin: 0 auto;
    background-color: #E8D4B8;
}

/* ========== HERO SECTION ========== */
.hero {
    text-align: center;
    padding: 60px 20px 40px;
    background-color: #E8D4B8;
}

.hero-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.hero-title {
    font-size: 54px;
    font-weight: 600;
    letter-spacing: 5px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-family: 'Georgia', 'Garamond', serif;
    text-transform: uppercase;
    font-style: italic;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 16px 24px;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--white);
    width: 100%;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background-color: var(--primary-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-review {
    background-color: var(--primary-dark-lighter);
    color: var(--white);
    width: 100%;
    margin-top: 16px;
    box-shadow: var(--shadow-light);
}

.btn-review:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-map {
    background-color: #f0f0f0;
    color: var(--text-dark);
    width: 100%;
    margin-top: 12px;
    box-shadow: var(--shadow-light);
}

.btn-map:hover {
    background-color: #e0e0e0;
}

.btn-orange {
    background-color: var(--orange);
    color: var(--white);
    width: 100%;
    box-shadow: var(--shadow-light);
}

.btn-orange:hover {
    background-color: #E67E00;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ========== CAROUSEL ========== */
.carousel-section {
    padding: 20px;
    background-color: #E8D4B8;
}

.carousel {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.carousel-prev {
    left: 12px;
}

.carousel-next {
    right: 12px;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #E8D4B8;
    width: 24px;
    border-radius: 4px;
}

/* ========== REVIEW BOX ========== */
.review-box {
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-dark-lighter) 0%, var(--primary-dark) 100%);
    text-align: center;
    border-radius: 20px;
    margin: 20px;
}

.review-title {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ========== SOCIAL ICONS ========== */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.social-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.social-icon:hover {
    transform: scale(1.1);
    background-color: var(--primary-gold-dark);
    box-shadow: var(--shadow);
}

/* ========== INFO BOXES ========== */
.info-box {
    padding: 40px 20px;
    margin: 20px;
    background: linear-gradient(135deg, var(--primary-dark-lighter) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    color: var(--white);
}

.info-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-align: center;
}

/* ORARIO TABLE */
.orario-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.orario-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.orario-row:last-child {
    border-bottom: none;
}

.orario-day {
    font-weight: 500;
    flex: 1;
}

.orario-time {
    text-align: right;
    font-weight: 600;
}

/* CONTATTI */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-link {
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-text {
    line-height: 1.5;
}

.map-container {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
}

/* ========== FOOTER CTA ========== */
.footer-cta {
    padding: 40px 20px;
    background-color: #E8D4B8;
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.footer-text {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========== MENU PAGE ========== */
.menu-header {
    text-align: center;
    padding: 40px 20px 20px;
    background-color: #E8D4B8;
}

.menu-logo {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.menu-header-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-dark);
}

.menu-buttons-section {
    padding: 20px;
    background-color: #E8D4B8;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-btn {
    padding: 16px 24px !important;
    background-color: var(--primary-gold) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-family: 'Poppins', 'Segoe UI', sans-serif !important;
    box-shadow: var(--shadow-light) !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
}

.menu-btn:hover {
    background-color: var(--primary-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.menu-btn.active {
    background-color: var(--primary-gold-dark);
}

.menu-content {
    padding: 20px;
    background-color: #E8D4B8;
}

.category-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray);
}

/* ========== MENU PAGE ========== */
.menu-header {
    text-align: center;
    padding: 60px 20px 40px;
    background-color: #E8D4B8;
}

.menu-logo {
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.menu-subtitle {
    font-size: 14px;
    color: var(--text-gray);
    letter-spacing: 2px;
}

/* MENU TABS */
.menu-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background-color: #E8D4B8;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.menu-tab {
    padding: 14px 20px;
    background-color: var(--primary-gold);
    border: none;
    border-radius: 24px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-tab:hover {
    background-color: var(--primary-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.menu-tab.active {
    background-color: var(--primary-gold-dark);
}

/* MENU CONTENT */
.menu-content {
    padding: 20px;
    background-color: #E8D4B8;
}

.menu-category {
    display: none;
}

.menu-category.active {
    display: block;
}

.category-title {
    background-color: var(--primary-gold);
    color: var(--white);
    padding: 16px 20px;
    border-radius: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.category-section {
    margin-bottom: 32px;
}

.category-section-title {
    background-color: var(--primary-gold);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dish {
    padding: 20px 0;
    border-bottom: 1px dashed #ddd;
}

.dish:last-child {
    border-bottom: none;
}

.dish-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.dish-name {
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.dish-price {
    font-weight: 700;
    color: var(--text-dark);
    margin-left: 12px;
    white-space: nowrap;
}

.dish-description {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 8px;
    line-height: 1.4;
}

.dish-allergens {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.allergen-icon {
    width: 24px;
    height: 24px;
    background-color: var(--light-bg);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ========== ALLERGENS LIST ========== */
.allergens-section {
    padding: 40px 20px;
    background-color: #E8D4B8;
    margin-top: 20px;
}

.allergens-header {
    text-align: center;
    margin-bottom: 32px;
}

.allergens-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.allergens-header p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.allergens-btn {
    margin-top: 20px;
}

.allergens-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.allergen-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background-color: var(--light-bg);
    border-radius: 12px;
}

.allergen-icon-large {
    width: 50px;
    height: 50px;
    background-color: var(--primary-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.allergen-content h3 {
    font-weight: 600;
    margin-bottom: 4px;
}

.allergen-content p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #E8D4B8;
    border-radius: 20px;
    padding: 40px 20px;
    max-width: 400px;
    width: 90%;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-dark);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.modal-subtitle {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

.modal-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-link {
    padding: 14px 20px;
    background-color: var(--primary-gold);
    color: var(--white);
    border-radius: 24px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

.modal-link:hover {
    background-color: var(--primary-gold-dark);
    transform: translateY(-2px);
}

/* ========== SCOPRI GLI ALTRI MENÙ ========== */
.other-menus {
    padding: 40px 20px;
    background-color: #E8D4B8;
    text-align: center;
}

.other-menus h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.other-menus-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-link {
    padding: 14px 20px;
    background-color: #4a4a4a;
    color: var(--text-dark);
    border-radius: 24px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    cursor: pointer;
}

.menu-link:hover {
    background-color: #3a3a3a;
    transform: translateY(-2px);
}

.menu-link.home-link {
    background-color: var(--primary-gold);
    color: var(--white);
}

.menu-link.home-link:hover {
    background-color: var(--primary-gold-dark);
}

/* ========== CARTA PAGE ========== */
.carta-header {
    text-align: center;
    padding: 40px 20px 20px;
    background-color: #E8D4B8;
}

.carta-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
    text-align: center;
}

.carta-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary-gold);
}

.carta-section {
    padding: 20px;
    background-color: #E8D4B8;
}

.section-title {
    background-color: var(--primary-gold);
    color: var(--white);
    padding: 14px 20px;
    border-radius: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
    .hero-title {
        font-size: 56px;
    }

    .hero {
        padding: 80px 40px 60px;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .info-box {
        margin: 20px 40px;
        padding: 60px 40px;
    }

    .carousel-section {
        padding: 40px;
    }

    .carousel {
        height: 400px;
    }

    .carousel-inner {
        height: 400px;
    }

    .review-box {
        margin: 20px 40px;
        padding: 60px 40px;
    }

    .social-icons {
        gap: 32px;
    }

    .footer-cta {
        padding: 60px 40px;
    }

    .menu-tabs {
        padding: 20px 40px;
        flex-direction: row;
        gap: 12px;
        flex-wrap: wrap;
    }

    .menu-tab {
        flex: 1;
        min-width: 150px;
    }

    .menu-content {
        padding: 40px;
    }

    .menu-header {
        padding: 80px 40px 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
