/* ========================================
   RESET E VARIABILI GLOBALI
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colori principali */
    --verde-ottanio: #0f3b46;     
    --verde-scuro: #1a1a1a;       
    --verde-chiaro: #5fa5a7;     
    --bianco: #ffffff;
    --bianco-sporco: #f8f8f8;
    --grigio-chiaro: #e0e0e0;
    --grigio: #666666;
    --nero: #333333;
    --colore-accento-oro: #FFD700; /* Nuovo colore d'accento suggerito */

    /* Font e dimensioni */
    --font-principale: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-titoli: 'Georgia', serif;
    --transizione: all 0.3s ease;
}

/* ========================================
   STILI BASE
   ======================================== */
body {
    font-family: var(--font-principale);
    line-height: 1.6;
    color: var(--nero);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titoli);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transizione);
}

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

/* ========================================
   LAYOUT E COMPONENTI GLOBALI
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--verde-ottanio);
    color: var(--bianco);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transizione);
    text-align: center;
}

.btn:hover {
    background-color: var(--verde-scuro);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 122, 94, 0.3);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--verde-ottanio);
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--verde-ottanio);
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--verde-ottanio);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 122, 94, 0.3);
    transition: all 0.3s ease;
    height: 60px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 60px;
    padding: 0 20px;
    position: relative;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bianco);
}

.nav-desktop {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 60px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    display: flex;
    align-items: center;
}

.nav-list a {
    color: var(--bianco);
    font-weight: 500;
    font-size: 1rem;
    padding: 6px 18px;
    border-radius: 20px;
    transition: background 0.2s;
}

.nav-list a:hover {
    background: rgba(255,255,255,0.18);
}

/* ========================================
   HAMBURGER
   ======================================== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    height: 44px;
    width: 44px;
}

.bar1, .bar2, .bar3 {
    width: 32px;
    height: 4px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.4s;
    border-radius: 2px;
}

.bar1 { top: 10px; }
.bar2 { top: 20px; }
.bar3 { top: 30px; }

.active .bar1 {
    top: 20px;
    transform: translateX(-50%) rotate(45deg);
}
.active .bar2 {
    opacity: 0;
}
.active .bar3 {
    top: 20px;
    transform: translateX(-50%) rotate(-45deg);
}

/* MOBILE NAV MENU */
.mobile-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #004236;
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
    padding: 28px 0 28px 0;
    z-index: 1001;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    animation: slideDown 0.3s ease;
}

.mobile-nav.active { 
    display: block; 
}

/* MODIFICA: Link del menu mobile con distanze proporzionate più ampie */
.mobile-nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 24px;
    width: 100%;
}

.mobile-nav a {
    display: block;
    width: auto;
    min-width: 90px;
    padding: 16px 20px;
    color: var(--bianco);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1rem;
    background: #003025;
    text-align: center;
    transition: background 0.18s;
    white-space: nowrap;
    flex: 0 0 auto;
}

.mobile-nav a:hover {
    background: #00241b;
}

/* ========================================
   INTRODUZIONE MENU PIZZE
   ======================================== */
.menu-intro {
    padding: 60px 20px 40px;
    text-align: center;
    background-color: var(--bianco-sporco);
}

.menu-title {
    font-family: var(--font-titoli);
    font-size: 2.5rem;
    color: var(--verde-scuro);
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.menu-subtitle {
    font-family: var(--font-principale);
    font-size: 1.1rem;
    color: var(--grigio);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   CAROSELLO PIZZE - STRUTTURA PRINCIPALE DESKTOP
   ======================================== */
.carousel-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    background: var(--bianco);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 430px;
}

.carousel-side-area {
    flex: 0 0 80px;
    background: #f5f5f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
}

.carousel-side-area.left {
    border-right: 1px solid #e8e8e8;
}

.carousel-side-area.right {
    border-left: 1px solid #e8e8e8;
}

.carousel-main {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    display: flex;
    transition: transform 0.4s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
}

.pizza-image-wrapper {
    height: 350px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.pizza-center {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pizza-img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--verde-ottanio);
    box-shadow: 0 4px 16px rgba(0, 122, 94, 0.2);
}

.pizza-info {
    padding: 30px;
    background: var(--bianco);
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pizza-name {
    font-size: 1.8rem;
    color: var(--verde-ottanio);
    margin-bottom: 12px;
    font-weight: 600;
}

.pizza-ingredients {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.carousel-btn {
    background: transparent;
    color: var(--verde-ottanio);
    border: 2px solid var(--verde-ottanio);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.carousel-btn:hover {
    transform: scale(1.1);
}

.carousel-btn svg {
    stroke: var(--verde-ottanio);
    transition: none;
}

.carousel-btn:hover svg {
    stroke: var(--verde-ottanio);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    margin-top: 60px;
    min-height: calc(100vh - 60px);
    background-image: url(img/sfondo.webp);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bianco);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    z-index: 1;
    animation: fadeInUp 1s ease;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ========================================
   SEZIONI CONTENUTO
   ======================================== */
.description {
    background-color: var(--bianco-sporco);
    text-align: center;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--grigio);
}

/* ================
   SEZIONE ORARI 
   ================*/
.orari-section {
    margin-top: 30px;
    background: linear-gradient(135deg, var(--verde-ottanio), var(--verde-chiaro));
    color: var(--bianco);
    text-align: center;
    padding: 30px 0;
}

.orari-content h3 {
    font-size: 2.5rem;
    font-family: var(--font-titoli);
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.orari-phrase {
    font-size: 1.6rem;
    font-family: 'Great Vibes', cursive;
    font-weight: normal; 
    line-height: 1.3;
    margin-top: 0;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.2); 
}

.orario-highlight {
    font-size: 1.2em;
    font-style: normal;
    color: var(--colore-accento-oro); 
    letter-spacing: 1px;
}

/* ========================================
   PULSANTE TELEFONO FISSO
   ======================================== */
.phone-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--verde-ottanio), var(--verde-chiaro));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 122, 94, 0.4);
    cursor: pointer;
    transition: var(--transizione);
    z-index: 1000;
    text-decoration: none;
    border: 2px solid var(--colore-accento-oro);
}

.phone-button:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 20px rgba(0, 122, 94, 0.6);
    background: linear-gradient(135deg, var(--verde-chiaro), var(--verde-ottanio));
}

.phone-button:active {
    transform: scale(0.95);
}

.phone-button svg {
    color: var(--bianco);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30%, 50%, 70% {
        transform: rotate(-10deg);
    }
    20%, 40%, 60%, 80% {
        transform: rotate(10deg);
    }
}

.phone-button:hover svg {
    animation: ring 1s ease-in-out;
}

/* ========================================
   PAGINE SPECIFICHE
   ======================================== */
.location-section,
.news-section,
.contact-section {
    padding-top: 140px;
    min-height: 100vh;
}

/* LOCATION */
.location-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.location-image {
    background: linear-gradient(45deg, #DEB887, #D2691E);
    border-radius: 10px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bianco);
    font-size: 1.5rem;
    transition: var(--transizione);
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.location-image:hover {
    transform: scale(1.05);
}

.map-container {
    background-color: var(--bianco-sporco);
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
}

.map-container h2{
    color: var(--verde-ottanio);
     margin-bottom: 20px; 
     text-align: center;
}

.map-placeholder {
    height: 400px;
    border-radius: 10px;
    overflow: hidden; 
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none !important;
}

.address-info {
    margin-top: 30px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--grigio);
}

/* NEWS */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    margin-top: 40px;
}

.instagram-post-link {
    text-decoration: none; 
    color: inherit;
    display: block; 
}

.instagram-placeholder {
    position: relative;
    background-color: var(--grigio-chiaro);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column; 
    height: 100%; 
}

.instagram-placeholder:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.post-preview-img {
    width: 100%;
    flex-grow: 1;
    object-fit: cover; 
    height: 400px; 
}

.post-info {
    background-color: var(--verde-ottanio); 
    color: var(--bianco);
    padding: 20px 15px; 
    flex-shrink: 0; 
    width: 100%;
    text-align: center;
}

.post-description {
    font-size: 1rem;
    font-weight: bold;
    margin: 0; 
    line-height: 1.4;
}

/* CONTATTI*/
.hero-contatti {
    margin-top: 10rem; 
    padding: 2rem 1rem; 
    background: linear-gradient(135deg, var(--verde-ottanio) 0%, var(--verde-scuro) 100%);
    color: var(--bianco);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-contatti h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.hero-contatti p {
    font-size: 1.1rem; 
    opacity: 0.95;
}

.contacts {
    padding: 4rem 2rem; 
    background: var(--bianco-sporco);
}

.contacts .section-title {
    text-align: center;
    font-size: 2.2rem; 
    color: var(--verde-scuro);
    margin-bottom: 2.5rem; 
    position: relative;
    padding-bottom: 1rem;
}

.contacts .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--verde-ottanio), var(--colore-accento-oro));
    border-radius: 2px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem; 
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    background: var(--bianco);
    border-radius: 12px;
    padding: 1.5rem; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 122, 94, 0.15);
    border-color: var(--verde-ottanio);
}

.contact-item a {
    display: flex;
    align-items: center;
    gap: 1rem; 
}

.contact-icon {
    width: 50px; 
    height: 50px;
    background: linear-gradient(135deg, var(--verde-ottanio), var(--verde-chiaro));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transizione);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bianco);
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--colore-accento-oro), #ffed4e);
    transform: rotate(10deg) scale(1.1);
}

.contact-details h3 {
    color: var(--verde-scuro);
    font-size: 1rem; 
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--grigio);
    font-size: 0.9rem; 
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--verde-ottanio);
    color: var(--bianco);
    text-align: center;
    padding: 0px 20px 20px 20px;
}

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

.footer-section h4 {
    color: var(--verde-chiaro);
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: var(--grigio-chiaro);
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--verde-chiaro);
}

.footer-bottom {
    border-top: 1px solid var(--grigio);
    padding-top: 20px;
    margin-top: 30px;
}

/* ========================================
   ANIMAZIONI
   ======================================== */
@keyframes slideDown {
    from { 
        opacity: 0; 
        transform: translateY(-12px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

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

@keyframes music-note {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-10px) rotate(10deg); 
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .nav-desktop { 
        display: none; 
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 72px;
        background: var(--verde-ottanio);
        z-index: 1000;
        box-shadow: 0 2px 20px rgba(0, 122, 94, 0.18);
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 72px;
        padding: 0 18px;
    }

    .logo {
        order: 1;
        margin: 0;
        position: static;
        left: auto;
        transform: none;
    }

    .logo-icon {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--bianco);
    }

    .hamburger {
        display: block;
        order: 2;
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
        z-index: 1002;
    }

    .hamburger span {
        display: block;
        width: 28px;
        height: 3px;
        margin: 6px 0;
        background: var(--bianco);
        border-radius: 2px;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        transform-origin: center;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .mobile-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--verde-scuro);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        z-index: 1001;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        padding: 28px 20px;
        animation: slideDown 0.3s ease;
    }

    .mobile-nav.active { 
        display: block; 
    }

    /* MODIFICA: Link del menu mobile con spaziatura migliorata */
    .mobile-nav ul {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0 10px;
        width: 100%;
    }

    .mobile-nav a {
        display: block;
        width: auto;
        min-width: 100px;
        padding: 16px 24px;
        color: var(--bianco);
        text-decoration: none;
        font-weight: 600;
        border-radius: 8px;
        font-size: 1rem;
        background: rgba(0, 48, 37, 0.6);
        text-align: center;
        transition: background 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
        white-space: nowrap;
        flex: 0 0 auto;
        margin: 0 8px;
    }

    .mobile-nav a:hover {
        background: rgba(0, 36, 27, 0.8);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .hero { 
        margin-top: 72px; 
    }
}


@media screen and (max-width: 768px) {
    .header,
    .header-container {
        height: 80px;
    }

    .logo-icon {
        width: 64px;
        height: 64px;
    }

    .hero {
        margin-top: 80px;
        min-height: calc(100vh - 80px);
        background-attachment: scroll;
    }

    .hero-content {
        padding: 0 15px;
    }

    .mobile-nav {
        padding: 24px 16px;
    }

    .mobile-nav ul {
        padding: 0 8px;
    }

    .mobile-nav a {
        font-size: 0.98rem; 
        padding: 16px 18px;
        margin: 0 6px;
        min-width: 95px;
    }

    .menu-intro {
        padding: 40px 20px 30px;
    }

    .menu-title {
        font-size: 2rem;
    }

    .menu-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }

    .phone-button {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .phone-button svg {
        width: 24px;
        height: 24px;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel {
        max-width: 100vw;
        min-width: 0;
        margin: 0 auto;
        border-radius: 0;
        box-shadow: none;
        height: auto;
    }

    .carousel-container {
        min-width: 100vw;
    }

    .carousel-slide {
        min-width: 100vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .pizza-image-wrapper {
        display: flex;
        flex-direction: row;
        height: 260px;
        background: none;
        align-items: center;
        justify-content: space-between;
        width: 100vw;
    }

    /* MODIFICA: Sfondo verde per le sezioni delle frecce su desktop */
    .pizza-side {
        flex: 0 0 70px;
        height: 100%;
        background: var(--verde-chiaro); /* MODIFICA: Sfondo verde come richiesto */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pizza-side.left {
        border-right: none;
    }

    .pizza-side.right {
        border-left: none;
    }

    .pizza-center {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        background: transparent;
    }

    .pizza-img {
        width: 220px;
        height: 220px;
        object-fit: cover;
        border-radius: 50%;
        border: 3px solid var(--verde-ottanio);
        box-shadow: 0 4px 16px rgba(0, 122, 94, 0.15);
    }

    .carousel-btn {
        background: transparent;
        color: var(--bianco-sporco);
        border: 2px solid var(--bianco-sporco);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
        margin: 0;
    }

    .carousel-btn svg {
        stroke: var(--bianco-sporco);
    }

    .pizza-info {
        padding: 24px 20px;
        background: var(--bianco);
        text-align: center;
    }

    .pizza-name {
        font-size: 1.4rem;
        color: var(--verde-ottanio);
        margin-bottom: 8px;
        font-weight: 600;
    }

    .pizza-ingredients {
        font-size: 0.95rem;
        color: #666;
        line-height: 1.6;
        max-width: 90%;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media screen and (max-width: 480px) {
    .mobile-menu {
        width: 100%;
    }

    .mobile-nav {
        padding: 22px 12px;
    }

    .mobile-nav ul {
        padding: 0 4px;
    }

    .mobile-nav a {
        min-width: 82px;
        padding: 14px 12px;
        font-size: 0.9rem;
        margin: 0 4px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    .carousel {
        max-width: 100vw;
        margin: 0;
    }

    .carousel-slide {
        min-width: 100vw;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .pizza-image-wrapper {
        height: 240px;
    }

    .pizza-side {
        flex: 0 0 60px;
    }

    .pizza-img {
        width: 220px;
        height: 220px;
        border: 2px solid var(--verde-ottanio);
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .pizza-info {
        padding: 20px 16px;
    }

    .pizza-name {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .pizza-ingredients {
        font-size: 0.9rem;
    }

    .menu-intro {
        padding: 30px 15px 20px;
    }

    .menu-title {
        font-size: 1.75rem;
    }

    .menu-subtitle {
        font-size: 0.95rem;
    }
}

/* CORREZIONI LAYOUT DESKTOP SPECIFICHE */
@media screen and (min-width: 1025px) {
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
        height: 60px;
        padding: 0 20px;
        position: relative;
    }

    .logo {
        position: static;
        left: auto;
        transform: none;
    }

    .nav-desktop {
        width: auto; 
        display: flex;
        justify-content: flex-end;
        flex: 1;
    }

    .nav-list {
        gap: 30px;
        list-style: none;
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .nav-list li {
        display: flex;
        align-items: center;
    }

    .hero-contatti {
        text-align: center;
        margin-top: 10rem;
        padding: 2rem 1rem;
        background: linear-gradient(135deg, var(--verde-ottanio) 0%, var(--verde-scuro) 100%);
        color: var(--bianco);
        position: relative;
        overflow: hidden;
    }

    .hero-contatti .hero-content {
        text-align: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .hero-contatti h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
        font-weight: 700;
        text-align: center;
    }

    .hero-contatti p {
        font-size: 1.1rem;
        opacity: 0.95;
        text-align: center;
    }

    /* MODIFICA DESKTOP: Sfondo verde per le sezioni delle frecce solo su desktop */
    .pizza-side {
        flex: 0 0 70px;
        height: 100%;
        background: var(--verde-chiaro); /* MODIFICA: Sfondo verde come richiesto */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pizza-image-wrapper {
        display: flex;
        flex-direction: row;
        height: 260px;
        background: none;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .carousel-btn {
        background: transparent;
        color: var(--bianco);
        border: 2px solid var(--bianco);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
        margin: 0;
    }

    .carousel-btn svg {
        stroke: var(--bianco);
    }

    .carousel-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.1);
    }
}