/* ==============================
   VARIABLES & RESET
   ============================== */
:root {
    --bg-dark: #0a0a0a;
    --bg-light: #161618;
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --accent: #d32f2f; /* Pizza Red */
    --accent-hover: #f44336;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center; /* Centered universally */
}

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

.eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.storia-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}

/* ==============================
   NAVIGATION
   ============================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: background-color 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.navbar nav ul {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.navbar nav a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar nav a:hover {
    color: var(--accent);
}

/* ==============================
   HERO SECTION
   ============================== */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.4) 60%, rgba(10,10,10,1) 100%);
    z-index: 2;
    transform: translate3d(0, 0, 0);
}

.hero-content {
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 3;
    transform: translate3d(0, 0, 0);
}

.hero-title {
    font-family: 'Playbill', 'Alfa Slab One', serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
    line-height: 0.85;
}

.hero-title .top-line {
    font-size: min(3vw, 2rem);
    letter-spacing: 2px;
    margin-right: -2px; /* Fix for letter-spacing offset */
    display: block;
    width: 100%;
    word-break: break-word;
}

.hero-title .bottom-line {
    font-size: min(7vw, 5rem);
    letter-spacing: 0px;
    margin-top: 5px;
    display: block;
    width: 100%;
}

.hero-title span {
    color: #ffffff;
    /* Bordo rosso brillante */
    -webkit-text-stroke: 3px #d10000;
    paint-order: stroke fill;
    /* Ombra 3D spessa e scura verso il basso/destra */
    text-shadow: 
        2px 2px 0 #520000,
        3px 3px 0 #520000,
        4px 4px 0 #520000,
        5px 5px 0 #520000,
        6px 6px 0 #520000,
        7px 7px 0 #520000,
        8px 8px 0 #520000,
        9px 9px 0 #520000,
        10px 10px 0 #520000,
        12px 12px 20px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 2.2rem;
    color: #ffffff;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 2px;
    margin-right: -2px;
    text-align: center;
    width: 100%;
    text-transform: none;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    margin-top: 5rem;
}

.footer-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    color: #bbb;
}

/* Pulsante Menu stile Pizza */
.pizza-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 40px;
    border-radius: 50px;
    background: #ffffff;
    color: #d32f2f;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    border: 5px solid #ffffff; /* Bordo bianco come richiesto */
    box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 0 20px rgba(255, 255, 255, 0.4);
    animation: heartbeat 2s infinite ease-in-out;
    transition: all 0.3s ease;
    z-index: 10;
}



.pizza-btn .pizza-icon {
    font-size: 1.5rem;
    color: #d32f2f;
    transition: transform 0.5s ease;
}

.pizza-btn:hover {
    transform: scale(1.1);
    border-color: #f5f5f5; /* Bordo bianco al passaggio */
    box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 30px rgba(255, 255, 255, 0.8);
    background: #f5f5f5;
    color: #b71c1c;
    animation: none; /* Si ferma quando ci passi sopra */
}

.pizza-btn:hover .pizza-icon {
    color: #b71c1c;
    transform: rotate(360deg) scale(1.2); /* La fetta gira */
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    10% { transform: scale(1.05); }
    20% { transform: scale(1); }
    30% { transform: scale(1.05); }
    40% { transform: scale(1); }
    100% { transform: scale(1); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.7;
}

.scroll-indicator p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-primary);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ==============================
   STORIA SECTION
   ============================== */

/* ==============================
   LOGO CON CHEF LATERALI
   ============================== */
.logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
}

.chef-container {
    width: 80px;
    height: 80px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.chef-container img {
    position: absolute;
    top: 0;
    height: 100%;
    width: auto;
    max-width: none;
    filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.8));
}

.left-chef-container img {
    left: 0;
}

.right-chef-container img {
    right: 0;
}

/* Testo del logo in sostituzione all'immagine */
.logo-text {
    font-family: 'Playbill', 'Alfa Slab One', serif;
    color: var(--accent);
    text-align: center;
    line-height: 1;
    letter-spacing: 2px;
    filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.8));
    display: inline-block;
    white-space: nowrap;
}

.loader-logo .logo-text {
    font-size: 5rem;
}

.loader-logo .chef-container {
    width: 120px;
    height: 120px;
}

.navbar .site-logo .logo-text {
    font-size: 2.8rem;
}

.navbar .site-logo .chef-container {
    width: 60px;
    height: 60px;
}

.footer-brand .site-logo .logo-text {
    font-size: 3.5rem;
}

.footer-brand .site-logo .chef-container {
    width: 80px;
    height: 80px;
}

.storia {
    padding: 10rem 0;
    background-color: var(--bg-dark);
}

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

.storia-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.storia-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.storia-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0 1px var(--glass-border);
    border-radius: 20px;
    pointer-events: none;
}

.storia-image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.1); /* For parallax */
}

/* ==============================
   MENU SECTION
   ============================== */
.menu {
    padding: 8rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--glass-border);
}

.menu-header {
    margin-bottom: 5rem;
}

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

.menu-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, background 0.4s ease;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.card-img-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.menu-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--accent);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: scale(1.05);
}

.menu-special {
    background: linear-gradient(135deg, rgba(216, 92, 54, 0.1) 0%, rgba(216, 92, 54, 0.02) 100%);
    border: 1px solid rgba(216, 92, 54, 0.3);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.special-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.special-content p {
    color: var(--text-secondary);
    max-width: 600px;
}

.feature-icon {
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.8;
}

/* ==============================
   SERVIZI SECTION
   ============================== */
.servizi {
    padding: 10rem 0;
    background-color: var(--bg-dark);
}

.servizi-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.servizio-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.servizio-item:hover {
    transform: translateY(-10px);
    border-color: rgba(216, 92, 54, 0.3);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(216, 92, 54, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
    color: var(--accent);
}

.icon-wrapper .icon {
    font-size: 2rem;
}

.servizio-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.servizio-item p {
    color: var(--text-secondary);
}

/* ==============================
   MENU TABS & FILTERS
   ============================== */
.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    position: sticky;
    top: 80px; /* Sotto la navbar */
    z-index: 900;
    background: var(--bg-dark);
    padding: 1rem 0;
}

.tab-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: 'Playbill', sans-serif;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.pizza-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.pizza-filters.hidden {
    display: none;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.filter-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.menu-category {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-category.hidden {
    display: none;
}

/* ==============================
   LOCATION SECTION
   ============================== */
.location {
    padding: 6rem 0 2rem;
    background-color: var(--bg-dark);
}

.map-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: sepia(100%) hue-rotate(320deg) saturate(150%) opacity(0.8);
    transition: filter 0.3s ease;
}

.map-wrapper iframe:hover {
    filter: sepia(100%) hue-rotate(320deg) saturate(200%) opacity(1);
}

.map-filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Rimosso background solido per non affaticare la vista */
}

/* ==============================
   FOOTER
   ============================== */
.contatti {
    background-color: #050505;
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-brand p {
    color: var(--text-secondary);
}

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

.footer-hours, .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-info h3, .footer-hours h3, .footer-links h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-info h3 { text-align: center; }
.footer-hours h3 { text-align: center; }
.footer-links h3 { text-align: center; }

.footer-info p, .footer-hours p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info p {
    justify-content: center;
    text-align: center;
}

.footer-hours p {
    justify-content: center;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-size: 1rem;
}

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

@media (min-width: 993px) {
    .footer-links {
        padding-top: 0;
    }
}

.footer-info a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: #666;
    font-size: 0.875rem;
}

/* ==============================
   MEDIA QUERIES & MOBILE MENU
   ============================== */
.mobile-nav-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
}

.hamburger-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

.mobile-logo-link {
    z-index: 1001;
}

@media (max-width: 992px) {
    .storia-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .storia-image-wrapper {
        order: -1;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-card[style] {
        margin-top: 0 !important;
    }
    
    .servizi-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 3rem;
    }

    .footer-brand, .footer-info, .footer-hours, .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .footer-info p, .footer-hours p {
        justify-content: center;
        width: 100%;
    }
}

/* Mobile elements hidden on desktop */
.logo-mobile {
    display: none;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.hamburger-btn:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
        padding: 0 !important;
        display: block;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--glass-border);
    }

    .navbar.scrolled {
        padding: 0 !important;
    }

    .logo-mobile {
        display: block;
        position: absolute;
        left: 2rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .logo-mobile img {
        max-height: 45px !important;
    }

    .hamburger-btn {
        display: block;
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .logo-item {
        display: none !important;
    }

    .navbar nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0), visibility 0.4s;
        z-index: 1000;
        padding: 0;
    }

    .navbar nav.active {
        transform: translateX(0);
        visibility: visible;
    }

    .navbar nav ul {
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        gap: 2.5rem !important;
        width: 100%;
    }

    .navbar nav ul li {
        width: 100%;
        text-align: center;
    }

    .navbar nav ul li a {
        font-size: 1.5rem !important;
        letter-spacing: 2px !important;
        display: inline-block;
        padding: 0.5rem 1rem;
        font-family: var(--font-heading);
    }


    

    


    .hero-content {
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .hero-title span {
        -webkit-text-stroke: 1.5px #d10000 !important;
        text-shadow: 
            1px 1px 0 #520000,
            2px 2px 0 #520000,
            3px 3px 0 #520000,
            4px 4px 0 #520000 !important;
    }
    
    .hero-title .top-line {
        font-size: 4.5vw;
        letter-spacing: 0px;
        text-align: center;
        display: block;
        width: 100%;
        word-break: break-word;
    }

    .hero-title .bottom-line {
        font-size: 11vw;
        text-align: center;
        display: block;
        width: 100%;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-top: 4rem;
        margin-bottom: 1.5rem;
    }
    
    .pizza-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        border-width: 1.5px;
        width: max-content;
    }

    .section-title {
        font-size: 2.2rem;
    }
    
    .menu-special {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    /* Preloader Mobile Fix */
    .loader-logo {
        max-width: 90vw;
        max-height: 80px;
        height: auto;
    }
    
    .loader-pizza {
        width: 100px;
        height: 100px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .navbar ul li a {
        font-size: 0.55rem;
    }
    .hero-title span {
        -webkit-text-stroke: 1px #d10000 !important;
        text-shadow: 
            1px 1px 0 #520000,
            2px 2px 0 #520000 !important;
    }
    .hero-title .top-line {
        font-size: 5.5vw;
        letter-spacing: 0;
    }
    .hero-title .bottom-line {
        font-size: 13vw;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .pizza-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
}

/* ==============================
   PROMO FLOATING PANELS
   ============================== */
.hero-promo {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0; /* Rimosso gap per consentire sovrapposizione */
    z-index: 10;
    pointer-events: auto;
    animation: floatPromo 6s ease-in-out infinite;
}

.promo-left {
    left: 4%;
}

.promo-right {
    right: 4%;
    animation-delay: 3s; /* Offset float animation */
}

.promo-left .promo-chef-wrapper {
    margin-left: -50px; /* Avvicina e sovrappone lo chef al cartellone */
    z-index: 11;
}

.promo-right .promo-chef-wrapper {
    margin-right: -50px; /* Avvicina e sovrappone lo chef al cartellone */
    z-index: 11;
}

/* Chef Promo Silhouette (No border/frame, transparent background) */
.promo-chef-wrapper {
    width: 230px; /* Chef più grande */
    height: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.65)); /* beautiful 3D outline shadow */
}

.promo-chef {
    width: 100%;
    height: auto;
    display: block;
}

.promo-chef.mirrored {
    transform: scaleX(-1);
}

/* Golden Board (Cartellone) */
.promo-board-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 235px; /* Cartellone rimpicciolito di poco */
    flex-shrink: 0;
    transition: transform 0.3s ease;
    z-index: 10;
}

.promo-gold-board {
    width: 100%;
    /* Sfondo dorato semi-trasparente per lasciar intravedere il video di sfondo */
    background: radial-gradient(circle, rgba(255, 224, 130, 0.35) 0%, rgba(255, 193, 7, 0.35) 70%, rgba(255, 179, 0, 0.45) 100%);
    border: 8px solid #c62828; /* Thick red outer border */
    border-radius: 18px;
    padding: 1.2rem 0.9rem;
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.5), 
        inset 0 0 10px rgba(255, 255, 255, 0.4);
    position: relative;
    text-align: center;
    border-style: double;
    border-width: 9px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Thin golden inner border */
.promo-gold-board::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 2px solid rgba(255, 152, 0, 0.6);
    pointer-events: none;
    border-radius: 10px;
}

.board-inner {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
    z-index: 2;
}

/* Board Stand Base */
.board-stand {
    width: 75%;
    height: 16px;
    background: linear-gradient(to bottom, rgba(66, 66, 66, 0.6) 0%, rgba(33, 33, 33, 0.7) 100%);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    margin-top: -2px;
    border: 1px solid rgba(17, 17, 17, 0.5);
}

/* Text styles inside the board */
.board-inner span {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 900;
    line-height: 1.15;
    margin: 0;
    text-transform: uppercase;
    display: block;
}

/* White text style with black drop shadow */
.board-txt-white {
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-shadow: 
        2px 2px 0px #000, 
        -1.5px -1.5px 0px #000, 
        1.5px -1.5px 0px #000, 
        -1.5px 1.5px 0px #000, 
        2px 4px 5px rgba(0,0,0,0.6);
}

.board-txt-white-sub {
    color: #ffffff;
    font-size: 0.85rem;
    text-transform: none !important;
    text-shadow: 
        1.5px 1.5px 0px #000, 
        -1px -1px 0px #000, 
        1px -1px 0px #000, 
        -1px 1px 0px #000;
}

/* Red text style with white stroke and black drop shadow */
.board-txt-red {
    color: #d32f2f;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    text-shadow: 
        2px 2px 0px #ffffff, 
        -2px -2px 0px #ffffff, 
        2px -2px 0px #ffffff, 
        -2px 2px 0px #ffffff,
        3px 5px 6px rgba(0,0,0,0.6);
}

.board-txt-red-large {
    color: #d32f2f;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    text-shadow: 
        2.5px 2.5px 0px #ffffff, 
        -2.5px -2.5px 0px #ffffff, 
        2.5px -2.5px 0px #ffffff, 
        -2.5px 2.5px 0px #ffffff,
        3px 6px 8px rgba(0,0,0,0.7);
}

/* Float animation */
@keyframes floatPromo {
    0%, 100% {
        transform: translateY(-50%) translateY(0);
    }
    50% {
        transform: translateY(-50%) translateY(-12px);
    }
}

/* Responsive constraints */
@media (max-width: 1250px) {
    .promo-left {
        left: 2%;
    }
    .promo-right {
        right: 2%;
    }
    .promo-left .promo-chef-wrapper {
        margin-left: -35px; /* Sovrapposizione ridotta su schermi medi */
    }
    .promo-right .promo-chef-wrapper {
        margin-right: -35px;
    }
    .promo-board-container {
        width: 190px; /* Rimpicciolito proporzionalmente */
    }
    .promo-gold-board {
        border-width: 7px;
        border-radius: 14px;
        padding: 0.9rem 0.6rem;
    }
    .promo-chef-wrapper {
        width: 170px; /* Chef un po' più grande rispetto a prima */
    }
    .board-txt-white {
        font-size: 0.95rem;
    }
    .board-txt-red {
        font-size: 1.2rem;
    }
    .board-txt-red-large {
        font-size: 1.5rem;
    }
}

@media (max-width: 1024px) {
    /* Mostra le promozioni all'interno della sezione Hero una a destra e una a sinistra in basso */
    .hero {
        position: relative;
        height: 100dvh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    
    .hero-content {
        z-index: 5;
    }
    
    /* Rimpicciolimento ulteriore del pulsante Menu su mobile */
    .pizza-btn {
        padding: 8px 20px !important;
        font-size: 0.88rem !important;
        border-width: 3px !important;
        margin-top: 1.2rem !important;
    }
    
    .hero-promo {
        position: absolute;
        bottom: 25px;
        top: auto;
        transform: none;
        animation: floatPromoMobile 5s ease-in-out infinite;
        display: flex;
        align-items: center;
        z-index: 10;
        width: auto;
    }
    
    .promo-left {
        left: 2%;
        right: auto;
    }
    
    .promo-right {
        right: 2%;
        left: auto;
        animation-delay: 2.5s;
    }

    /* Ridimensionamento specifico per mobile dei cartelloni e degli chef (leggermente ingranditi) */
    .promo-board-container {
        width: 170px !important;
    }
    
    .promo-chef-wrapper {
        width: 150px !important;
    }
    
    .promo-left .promo-chef-wrapper {
        margin-left: -30px !important;
    }
    
    .promo-right .promo-chef-wrapper {
        margin-right: -30px !important;
    }
    
    .promo-gold-board {
        border-width: 6px !important;
        border-radius: 14px !important;
        padding: 0.8rem 0.6rem !important;
    }
    
    .board-txt-white {
        font-size: 0.85rem !important;
    }
    
    .board-txt-white-sub {
        font-size: 0.7rem !important;
    }
    
    .board-txt-red {
        font-size: 1.1rem !important;
    }
    
    .board-txt-red-large {
        font-size: 1.3rem !important;
    }
    
    @keyframes floatPromoMobile {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-8px);
        }
    }
}

/* Scalatura aggiuntiva e riposizionamento per smartphone stretti */
@media (max-width: 600px) {
    .promo-left {
        left: -12px !important;
        bottom: 15px !important;
        transform: scale(0.72) !important; /* Scalatura leggermente aumentata per cartelloni più grandi */
        transform-origin: bottom left;
    }
    
    .promo-right {
        right: -12px !important;
        bottom: 15px !important;
        transform: scale(0.72) !important;
        transform-origin: bottom right;
    }
    
    .hero-title .top-line {
        font-size: 1.2rem !important;
    }
    .hero-title .bottom-line {
        font-size: 2.8rem !important;
    }
    .hero-subtitle {
        font-size: 1.5rem !important;
        margin-top: 1.5rem !important;
    }
}

/* Mobile Promos Container styling (disattivato, ora sono nella Hero) */
.promos-mobile-wrapper {
    display: none !important;
}

.promo-mobile-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0; /* Rimosso gap per consentire sovrapposizione */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.25rem 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.promo-mobile-card .promo-board-container {
    width: 200px; /* Cartellone rimpicciolito di poco su mobile */
    z-index: 1;
}

.promo-mobile-chef {
    width: 120px; /* Chef più grande su mobile */
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
    margin-right: -25px; /* Avvicina e sovrappone parzialmente lo chef al cartellone */
    z-index: 2;
    position: relative;
}

.promo-mobile-chef.mirrored-chef {
    transform: scaleX(-1);
}

@media (max-width: 1024px) {
    .promos-mobile-wrapper {
        display: block;
    }
    
    .promos-mobile-wrapper .container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (min-width: 600px) and (max-width: 1024px) {
    .promos-mobile-wrapper .container {
        flex-direction: row;
        justify-content: center;
    }
    .promo-mobile-card {
        flex: 1;
    }
}

