/* CSS RESET & VARIABLES */
:root {
    /* Colors */
    --c-dark: #0f0f11;
    --c-dark-secondary: #1a1a1d;
    --c-primary: #cd2604; /* Rosso pomodoro */
    --c-light: #fdefe3;   /* Bianco mozzarella */
    --c-green: #2a9d8f;   /* Verde basilico */
    --c-gold: #fdefe3;    /* Oro olio */
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2.5rem;
    --space-lg: 5rem;
    --space-xl: 5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--c-dark);
    color: var(--c-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.text-center {
    text-align: center;
}

.section {
    padding: var(--space-xl) 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--c-light);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--c-gold);
    margin-bottom: var(--space-md);
    font-style: italic;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--c-primary);
    color: var(--c-light);
    border: 2px solid var(--c-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--c-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--c-light);
    border: 2px solid var(--c-light);
}

.btn-secondary:hover {
    background-color: var(--c-light);
    color: var(--c-dark);
}

.btn-outline {
    background-color: transparent;
    color: #cd2604;
    border: 1px solid #cd2604;
    padding: 0.5rem 1.5rem;
}

.btn-outline:hover {
    background-color: #cd2604;
    color: #fdefe3;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.4s ease;
    background-color: #02606c;
}

.header.scrolled {
    background-color: #02606c;
    padding: 0.5rem 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
}

.nav ul {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: color 0.3s ease;
    color: #fdefe3;
}

.nav a:hover {
    color: #cd2604;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 15, 17, 0.6) 0%, rgba(15, 15, 17, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    color: #fdefe3;
}

.hero-logo {
    width: 280px;
    max-width: 80%;
    height: auto;
    margin: 0 auto 2rem auto;
    display: block;
    border-radius: 8px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fdefe3;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fdefe3;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #fdefe3;
    opacity: 0.85;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* STORIA SECTION */
.storia {
    background-color: var(--c-dark);
    padding: 50px 0;
}

.storia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.storia-img-wrapper {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.storia-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.storia-text h2 {
    color: var(--c-primary);
}

.storia-text p {
    margin-bottom: 1.5rem;
    color: #bbb;
    font-size: 1.05rem;
}

.quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--c-gold);
    border-left: 3px solid var(--c-primary);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

.quote span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: normal;
    color: #888;
    margin-top: 0.5rem;
}

/* FILOSOFIA (PARALLAX) */
.filosofia {
    position: relative;
    padding: var(--space-xl) 0;
    background-color: var(--c-dark-secondary);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* INGREDIENTS SHOWCASE (ACCORDION) */
.ingredients-showcase {
    padding: var(--space-xl) 0;
    background-color: #000000;
}

.accordion-container {
    display: flex;
    width: 100%;
    height: 500px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 10px;
    padding: 0 1rem;
}

.accordion-panel {
    position: relative;
    flex: 1;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    cursor: pointer;
}

.accordion-panel:hover {
    flex: 3;
}

.panel-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
    transition: background 0.6s ease;
}

.accordion-panel:hover .panel-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
}

.panel-title-vertical {
    position: absolute;
    bottom: 30px;
    left: 20px;
    transition: opacity 0.3s ease;
}

.panel-title-vertical h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin: 0;
}

.accordion-panel:hover .panel-title-vertical {
    opacity: 0;
}

.panel-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.1s;
}

.accordion-panel:hover .panel-content {
    opacity: 1;
    transform: translateY(0);
}

.panel-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--c-gold);
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.panel-content p {
    font-size: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .accordion-container {
        flex-direction: column;
        height: 800px;
    }
    .accordion-panel:hover {
        flex: 3;
    }
    .panel-title-vertical h3 {
        writing-mode: horizontal-tb;
        transform: none;
    }
    .panel-title-vertical {
        bottom: 20px;
    }
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    color: var(--c-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #aaa;
    font-size: 0.9rem;
}

/* MENU SECTION */
.menu {
    background-color: var(--c-dark);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

.menu-item {
    padding: 0;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: rgba(255, 255, 255, 0.05);
}

.menu-item.highlight {
    border: 1px solid rgba(233, 196, 106, 0.3);
    background: rgba(233, 196, 106, 0.05);
}

.menu-item-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-item:hover .menu-item-img {
    transform: scale(1.08);
}

.menu-item-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 2px solid var(--c-primary);
    background: inherit;
    position: relative;
    z-index: 2;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.menu-item-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--c-light);
}

.menu-item-price {
    font-weight: 600;
    color: var(--c-gold);
}

.menu-item-desc {
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
}

/* CTA SECTION */
.cta-section {
    position: relative;
    padding: var(--space-xl) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05); /* Avoid edges during potential parallax */
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 17, 0.8);
    z-index: -1;
}

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

/* REVIEWS */
.reviews {
    background-color: var(--c-primary);
    padding: var(--space-lg) 0;
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: var(--space-md);
}

.review-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: var(--c-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.review-author {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    color: #eee;
}

/* GALLERY SECTION */
.gallery {
    position: relative;
    background-color: var(--c-dark-secondary);
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/1-Logo Pizzeria Maurizio Polidoro con trama.webp');
    background-size: 300px;
    background-repeat: repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 1.5rem;
    margin-top: var(--space-lg);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gallery-item-large {
    grid-row: span 2;
    grid-column: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15,15,17,0.8) 0%, rgba(15,15,17,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* MASONRY GALLERY */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.masonry-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    aspect-ratio: 1;
}

.masonry-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.masonry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.masonry-item:hover .masonry-img {
    transform: scale(1.2);
    filter: brightness(1.1);
}

.masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.3) 0%,
        rgba(15, 15, 17, 0.7) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

/* Animation on load */
.masonry-item {
    opacity: 0;
    transform: translateY(30px);
    animation: masonryFadeIn 0.6s ease forwards;
}

.masonry-item:nth-child(1) { animation-delay: 0.05s; }
.masonry-item:nth-child(2) { animation-delay: 0.1s; }
.masonry-item:nth-child(3) { animation-delay: 0.15s; }
.masonry-item:nth-child(4) { animation-delay: 0.2s; }
.masonry-item:nth-child(5) { animation-delay: 0.25s; }
.masonry-item:nth-child(6) { animation-delay: 0.3s; }
.masonry-item:nth-child(7) { animation-delay: 0.35s; }
.masonry-item:nth-child(8) { animation-delay: 0.4s; }
.masonry-item:nth-child(9) { animation-delay: 0.45s; }
.masonry-item:nth-child(10) { animation-delay: 0.5s; }
.masonry-item:nth-child(11) { animation-delay: 0.55s; }
.masonry-item:nth-child(12) { animation-delay: 0.6s; }
.masonry-item:nth-child(13) { animation-delay: 0.65s; }
.masonry-item:nth-child(14) { animation-delay: 0.7s; }
.masonry-item:nth-child(15) { animation-delay: 0.75s; }
.masonry-item:nth-child(16) { animation-delay: 0.8s; }
.masonry-item:nth-child(17) { animation-delay: 0.85s; }
.masonry-item:nth-child(18) { animation-delay: 0.9s; }
.masonry-item:nth-child(19) { animation-delay: 0.95s; }

@keyframes masonryFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 1rem 0;
    }
    .masonry-item {
        border-radius: 8px;
        aspect-ratio: 1;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--c-primary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s ease, background 0.3s ease;
    border-radius: 50%;
    user-select: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    color: var(--c-primary);
    background: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 30px;
        padding: 15px;
    }
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

/* FOOTER */
.footer {
    background-color: #050505;
    padding: var(--space-xl) 0 2rem;
    border-top: 2px solid var(--c-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: var(--space-lg);
}

.footer-logo {
    width: 280px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.footer-brand p {
    color: #777;
    max-width: 300px;
}

.footer-info h3, .footer-hours h3 {
    font-family: var(--font-heading);
    color: var(--c-light);
    margin-bottom: 1.5rem;
}

.footer-info p, .footer-hours p {
    color: #aaa;
    margin-bottom: 0.5rem;
}

.footer-social h3 {
    font-family: var(--font-heading);
    color: var(--c-light);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--c-light);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--c-primary);
    color: var(--c-dark);
    transform: translateY(-3px);
}

.social-icon {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #555;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.footer-links a {
    color: #888;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--c-gold);
}

.footer-links .separator {
    margin: 0 0.5rem;
    color: #444;
}

.credits a {
    color: var(--c-primary);
    font-weight: 600;
}

.credits a:hover {
    color: var(--c-gold);
}

.footer-mobile-cta {
        display: none;
    }
    
    .mobile-sticky-cta {
        display: none;
    }
    
    @media (max-width: 480px) {
        .mobile-sticky-cta {
            display: none;
        }
        .footer-mobile-cta {
            display: flex;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            max-width: 100%;
            padding: 0.8rem 1rem;
            background: #050505;
            border-top: 1px solid rgba(255,255,255,0.1);
            z-index: 998;
            justify-content: center;
            align-items: center;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
        }
        .footer-mobile-cta .btn-primary {
            width: 100%;
            max-width: 100%;
            padding: 0.9rem 1.5rem;
            font-size: 1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: center;
            background: linear-gradient(135deg, #01606c 0%, #014d57 100%);
            border: none;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(1, 96, 108, 0.4);
        }
        .mobile-sticky-cta {
            display: flex;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1rem;
            background: linear-gradient(to top, #050505 80%, transparent);
            z-index: 999;
            justify-content: center;
        }
        .mobile-sticky-cta .btn-primary {
            width: 100%;
            max-width: 400px;
            padding: 1rem 2rem;
            font-size: 1.1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: center;
            background-color: #01606c;
            border-color: #01606c;
        }
        .mobile-sticky-cta .btn-primary:hover {
            background-color: #014d57;
            border-color: #014d57;
        }
    }

.btn-full {
    width: 100%;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    .logo-img {
        height: 50px;
    }
    .nav {
        display: none;
    }
    .header-cta {
        display: none;
    }
    .menu-toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }
    .menu-toggle .bar {
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--c-light);
        left: 0;
        transition: all 0.3s;
    }
    .menu-toggle .bar:nth-child(1) { top: 0; }
    .menu-toggle .bar:nth-child(2) { top: 9px; }
    .menu-toggle .bar:nth-child(3) { top: 18px; }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }
    
    .nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--c-dark);
        flex-direction: column;
        padding: 1rem;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .nav.active ul {
        flex-direction: column;
        gap: 0;
    }
    .nav.active li {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero {
        padding-top: 80px;
    }
    .hero-logo {
        width: 200px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .storia-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .footer-brand, .footer-info, .footer-hours, .footer-social {
        grid-column: span 1;
    }
    .footer-info p, .footer-hours p {
        display: block;
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    .footer-brand,
    .footer-info,
    .footer-hours,
    .footer-social {
        text-align: center;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .footer-logo {
        margin: 0 auto 1.5rem;
    }
    .social-links {
        justify-content: center;
    }
    .storia-img-wrapper {
        min-height: 300px;
    }
    .storia {
        padding-top: 0;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}
