:root {
    --color-primary: #6B3E26;
    --color-primary-dark: #4F2E1C;
    --color-secondary: #D97A2B;
    --color-secondary-light: #F0C8A0;
    --color-accent: #E6B17E;
    --color-bg: #F9F1E0;
    --color-text: #3E2723;
    --color-text-light: #6D4C41;
    --color-white: #FFFFFF;
    --color-glass: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-md: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-lg: 0 30px 60px rgba(0,0,0,0.15);
    --shadow-hover: 0 25px 40px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 30px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}


.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-logo {
    height: 52px;
    width: auto;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--color-secondary);
}

.nav-cta {
    background: var(--color-secondary);
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-primary);
}

/* ===== HERO CON LOGO A PATTERN (RIEMPIE TUTTO) ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, #2C1810 0%, #4A2A1A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* LOGO che riempie TUTTA la hero come pattern */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/img/logo.png');
    background-repeat: repeat;
    background-size: 180px;  /* dimensione di ogni logo ripetuto */
    background-position: center;
    opacity: 0.15;            /* trasparente per non sovrastare il testo */
    pointer-events: none;
    z-index: 1;
}

/* Overlay scuro per leggibilità testo (sopra il pattern) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 40px;
}

.hero-badge {
    display: inline-block;
    background: var(--color-secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.6rem;
    opacity: 0.95;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 36px;
    opacity: 0.85;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.7;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 3;
}

@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Responsive: logo pattern più piccolo su mobile */
@media (max-width: 768px) {
    .hero::before {
        background-size: 120px;
        opacity: 0.1;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-desc {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero::before {
        background-size: 90px;
        opacity: 0.08;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-secondary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.7;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== SECTIONS GENERALI ===== */
section {
    margin-bottom: 0;
}

.categories, .menu-section, .contact-section, .order-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    font-weight: 600;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-top: 16px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--color-text-light);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ===== CATEGORIE CARDS ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.category-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 52px 32px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.category-icon {
    font-size: 58px;
    color: var(--color-secondary);
    margin-bottom: 28px;
}

.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.category-card p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.category-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.category-link:hover {
    gap: 12px;
    color: var(--color-primary);
}

/* ===== INFO SECTION ===== */
.info-section {
    background: white;
    padding: 70px 0;
    border-radius: 50px 50px 0 0;
    margin-top: 40px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.info-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-bg);
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-card i {
    font-size: 48px;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--color-primary);
    color: white;
    text-align: center;
    padding: 90px 0;
    margin: 40px 0 0;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
    background: #2C1810;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 3px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 20px;
    font-size: 26px;
}

.social-links a {
    background: rgba(255,255,255,0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ===== MENU PAGE ===== */
.page-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: 160px 0 80px;
    text-align: center;
    margin-bottom: 20px;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: none;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    color: var(--color-text);
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tab-btn.active {
    background: var(--color-secondary);
    color: white;
    box-shadow: var(--shadow-md);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 48px 0 28px;
    color: var(--color-primary);
    border-left: 5px solid var(--color-secondary);
    padding-left: 20px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.menu-item {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}

.menu-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary-light);
}

.menu-item span:first-child {
    font-weight: 500;
    font-size: 1rem;
}

.price {
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 1.15rem;
    background: rgba(217, 122, 43, 0.1);
    padding: 5px 14px;
    border-radius: 50px;
}

/* ===== CONTATTI PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: white;
    padding: 28px 32px;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-card i {
    font-size: 42px;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.contact-card p, .contact-card a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1rem;
}

.contact-card a:hover {
    color: var(--color-secondary);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 28px;
    color: var(--color-primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 20px;
    border: 1px solid #e0d6c8;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(217, 122, 43, 0.1);
}

.map-placeholder {
    background: #e0d6c8;
    padding: 70px 20px;
    text-align: center;
    border-radius: var(--border-radius-lg);
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
}

/* ===== ORDINA PAGE ===== */
.order-section {
    padding: 60px 0 100px;
}

.order-card {
    max-width: 750px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius-lg);
    padding: 56px 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.order-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 20px 0 16px;
    color: var(--color-primary);
}

.order-details {
    text-align: left;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid rgba(0,0,0,0.08);
}

.order-details h3 {
    font-size: 1.2rem;
    margin: 24px 0 12px;
    color: var(--color-primary);
}

.order-details h3:first-of-type {
    margin-top: 0;
}

.order-details ol {
    padding-left: 24px;
    margin: 12px 0 20px;
}

.order-details li {
    margin: 10px 0;
    line-height: 1.5;
}

.order-details a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
}

.order-details a:hover {
    text-decoration: underline;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-md);
        border-radius: 0 0 30px 30px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .categories, .menu-section, .contact-section {
        padding: 50px 0;
    }
    
    .categories-grid {
        gap: 25px;
    }
    
    .category-card {
        padding: 36px 24px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .order-card {
        padding: 32px 24px;
    }
    
    .menu-tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .footer-content {
        gap: 35px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .menu-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-form {
        padding: 28px;
    }
}
/* Menu come foto singola */
.menu-photo-section {
    padding: 40px 0 80px;
}

.menu-photo-wrapper {
    background: white;
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.menu-full-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}