/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #1b7a5a;       /* Brand Green */
    --color-primary-light: #25a178; /* Bright Brand Green */
    --color-dark: #121212;          /* Matte Charcoal */
    --color-dark-surface: #1e1e1e;  /* Cards/Modules background */
    --color-light: #FFFDF9;         /* Creamy White */
    --color-light-surface: #F5F1E9; /* Warm Light Cream */
    --color-text-dark: #2B2118;     /* Dark Cocoa */
    --color-text-light: #F5F5F5;    /* Soft White */
    --color-text-muted: #8D6E63;    /* Light Cocoa Muted */
    --color-danger: #D32F2F;        /* Italian Red Accent */
    --color-success: #388E3C;       /* Italian Green Accent */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Shadows & Borders */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.25);
    --border-radius: 12px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   SPLASH SCREEN (INTRO) - SPECIALE ED EFFETTI
   ========================================================================== */
#intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0c0806;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-light);
    overflow: hidden;
    transition: opacity 1.2s cubic-bezier(0.77, 0, 0.175, 1), visibility 1.2s;
}

#intro-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Slideshow Background Styles */
.intro-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.intro-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.15);
    transition: opacity 2s ease-in-out, transform 8s ease-out;
}

.intro-slideshow .slide.active {
    opacity: 1;
    transform: scale(1.02);
}

/* Darkening Overlay for readability */
.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 8, 6, 0.55) 0%, rgba(12, 8, 6, 0.70) 100%);
    z-index: 2;
}

.intro-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    filter: blur(50px);
    animation: floatingGlow 10s ease-in-out infinite alternate;
    z-index: 3;
}

.intro-content {
    position: relative;
    text-align: center;
    z-index: 10;
    max-width: 600px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Tricolore Ribbon/Badge */
.italian-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(27, 122, 90, 0.95) 0%, rgba(16, 76, 56, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.flag-stripe {
    width: 12px;
    height: 8px;
    border-radius: 2px;
}
.flag-stripe.green { background-color: #009246; }
.flag-stripe.white { background-color: #F1F2F1; }
.flag-stripe.red { background-color: #CE2B37; }

.badge-text {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: #ffffff;
}

/* Logo 3D Glow and Shimmer - Sfera sfumata in verde, logo in bianco */
.intro-logo-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    padding: 35px;
    background: radial-gradient(circle, rgba(27, 122, 90, 0.85) 0%, rgba(27, 122, 90, 0.45) 50%, transparent 75%);
    filter: drop-shadow(0 0 25px rgba(27, 122, 90, 0.6));
    animation: pulseLogo 4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    overflow: hidden; /* Clips the shimmer inside the circle */
}

.intro-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
    animation: logoEntrance 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-shimmer {
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    animation: shimmerEffect 4s infinite;
}

.ottini-artistic-text {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #FFEB3B; /* Beautiful yellow */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 235, 59, 0.4);
    margin: 1.5rem 0 2rem;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.5s;
    letter-spacing: 2px;
}

.intro-title {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff 30%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.intro-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.medal-stamp {
    font-size: 0.95rem;
    color: #4ef0b9; /* Bright brand green */
    border: 1px dashed #4ef0b9; /* Bright brand green dashed border */
    padding: 0.4rem 1rem;
    border-radius: 4px;
    margin-bottom: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Pulsing Entrance Button with Beam of Light - Green Theme */
.pulse-button {
    position: relative;
    padding: 1.2rem 3.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #104c38 100%);
    border-radius: 50px;
    font-weight: 700;
    color: var(--color-text-light);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 0 25px rgba(27, 122, 90, 0.5);
    z-index: 1;
    overflow: hidden;
}

.pulse-button span {
    position: relative;
    z-index: 3;
}

.pulse-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: var(--color-primary);
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
    animation: buttonPulseWave 2s infinite;
    z-index: -1;
}

.pulse-button:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), linear-gradient(to right, #009246 33.3%, #ffffff 33.3%, #ffffff 66.6%, #ce2b37 66.6%);
    box-shadow: 0 0 40px rgba(0, 146, 70, 0.5);
}

.pulse-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Responsive adjustments for mobile intro screen */
@media (max-width: 768px), (max-height: 800px) {
    .intro-logo-container {
        width: 160px;
        height: 160px;
        padding: 15px;
        margin-bottom: 0.8rem;
    }
    .italian-badge {
        padding: 0.3rem 0.8rem;
        margin-bottom: 1rem;
    }
    .badge-text {
        font-size: 0.7rem;
    }
    .ottini-artistic-text {
        font-size: 2.2rem;
        margin: 0.5rem 0 1rem;
    }
    .intro-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        padding: 0 10px;
    }
    .medal-stamp {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
        padding: 0.3rem 0.8rem;
    }
    .pulse-button {
        padding: 0.9rem 2.5rem;
        font-size: 0.95rem;
    }
}

/* Animations Keyframes */
@keyframes floatingGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes pulseLogo {
    0%, 10% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(27, 122, 90, 0.5)); }
    25% { transform: scale(1.08); filter: drop-shadow(0 0 35px rgba(27, 122, 90, 0.8)); }
    40%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(27, 122, 90, 0.5)); }
}

@keyframes logoEntrance {
    from { opacity: 0; transform: scale(0.5) rotate(-15deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes shimmerEffect {
    0% { left: -150%; opacity: 0; }
    10% { opacity: 1; }
    30% { opacity: 1; }
    40%, 100% { left: 150%; opacity: 0; }
}

@keyframes buttonPulseWave {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}


/* ==========================================================================
   MAIN HEADER / NAVIGATION / STICKY BAR
   ========================================================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75); /* 25% transparency (75% opacity) */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    padding: 0.8rem 0;
}

#main-header.scrolled {
    background: rgba(255, 255, 255, 0.55); /* 45% transparency (55% opacity) */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo {
    height: 95px; /* Increased logo size */
    width: auto;
    transition: var(--transition-smooth);
}

#main-header.scrolled .nav-logo {
    height: 70px; /* Increased scrolled logo size */
}

/* Beautiful Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: rgba(27, 122, 90, 0.05);
    border: 1px solid rgba(27, 122, 90, 0.15);
    border-radius: 50px;
    padding: 0.2rem 0.5rem 0.2rem 1.2rem;
    width: 250px;
    transition: var(--transition-smooth);
}

.search-box:focus-within {
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(27, 122, 90, 0.15);
    width: 280px;
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-text-dark);
    width: 100%;
}

.search-btn {
    color: var(--color-primary);
    padding: 0.5rem;
    font-size: 0.95rem;
}

.search-btn:hover {
    color: var(--color-primary-light);
    transform: scale(1.1);
}

/* Parallax Fiore Busso Banner */
.banner-fiore {
    position: relative;
    height: 350px;
    background-image: url('fiore  busso.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 253, 249, 0.85) 0%, rgba(27, 122, 90, 0.65) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.banner-quote {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 600;
    color: #123326; /* Dark green quote text */
    text-shadow: 0 1px 3px rgba(255,255,255,0.8);
    line-height: 1.4;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center; /* Center menu items in height */
}

.nav-link {
    font-size: 0.81rem; /* Reduced font size by 15% */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap; /* Prevents menu items from wrapping into two lines */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-btn {
    font-size: 1.4rem;
    color: var(--color-text-dark);
    position: relative;
}

.cart-btn:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--color-text-dark);
}


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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Mixed Hero Video + Images Slideshow Background */
.hero-slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.hero-item.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-item-img {
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 6.5s ease-out;
    will-change: opacity, transform;
}

.hero-item-img.active {
    transform: scale(1.15);
}

.hero-item-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.4) 0%, rgba(18, 18, 18, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--color-text-light);
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    /* Rich radial gradient mimicking the sphere logo's shading */
    background: radial-gradient(circle, #1e8f69 0%, #156247 60%, #0c3d2c 100%);
    font-weight: 700;
    margin-bottom: 1.8rem;
    display: inline-block;
    padding: 0.7rem 2.2rem;
    border-radius: 50px;
    /* Soft white outer/inner glow and shadow */
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        inset 0 0 12px rgba(255, 255, 255, 0.25);
    /* Soft text glow matching the logo white text */
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease, tagFloat 4s ease-in-out infinite 1.2s;
}

/* Light glare / shimmer reflection effect matching the logo sphere highlight */
.hero-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 80px; /* Wider, softer sheen */
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: shimmerGlare 5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shimmerGlare {
    0% { left: -150%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

@keyframes tagFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.2s ease;
}

.hero-desc {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1.4s ease;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInUp 1.6s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.primary-btn:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    color: #ffffff;
}

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

.secondary-btn:hover {
    background-color: var(--color-text-light);
    color: var(--color-dark);
    transform: translateY(-2px);
}


/* ==========================================================================
   STORIA SECTION
   ========================================================================== */
.storia-section {
    padding: 8rem 0;
    background-color: var(--color-light-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.subheading {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    font-weight: 700;
}

.heading {
    font-size: 3rem;
    margin-top: 0.5rem;
    color: var(--color-text-dark);
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 1.5rem auto 0;
}

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

.storia-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.storia-text p {
    color: #4e3e30;
    margin-bottom: 1.5rem;
}

.storia-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.storia-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.storia-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.storia-img:hover {
    transform: scale(1.05);
}

.storia-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.badge-stemma {
    height: 40px;
}

.storia-badge p {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}


/* ==========================================================================
   PRODOTTI / CATALOGO SHOP
   ========================================================================== */
.prodotti-section {
    padding: 8rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 4px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(27, 122, 90, 0.12);
    border-top-color: var(--color-primary);
}

.product-img-holder {
    position: relative;
    height: 260px;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem; /* Increased padding (cornice interna) to shrink images */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.08); /* Dynamic scale on hover */
    filter: brightness(1.03);
}

.product-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-family: 'Great Vibes', cursive !important;
    font-size: 2.3rem !important;
    font-weight: 400 !important;
    color: var(--color-primary) !important; /* Verde della pasticceria */
    text-align: center;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    min-height: 60px;
    height: auto;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.btn-add-to-cart {
    background-color: var(--color-dark);
    color: var(--color-text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-add-to-cart:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: scale(1.1);
}

/* ==========================================================================
   DYNAMIC SHOP LAYOUT & SIDEBAR FILTERS (Fedele agli Screenshot)
   ========================================================================== */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
}

.shop-sidebar {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.sidebar-search-box {
    position: relative;
    margin-bottom: 1.8rem;
}

.sidebar-search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid #111111;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}

.sidebar-search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #111111;
    font-size: 1.1rem;
}

.filter-accordion {
    margin-bottom: 1.2rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
}

.filter-accordion:last-child {
    border-bottom: none;
}

.filter-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Calibri', sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    font-style: italic;
    color: #111111;
    margin-bottom: 0.8rem;
    user-select: none;
}

.filter-accordion-header i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.filter-accordion-header.collapsed i {
    transform: rotate(180deg);
}

.filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-left: 0.2rem;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: #444;
    cursor: pointer;
}

.filter-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.price-range-slider {
    width: 100%;
    margin: 1rem 0 0.5rem;
    accent-color: #111111;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    color: #111111;
}

/* Availability Badge & Weight Select (Screenshot 2) */
.product-availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.8rem 0;
}

.product-availability.available {
    color: #27ae60;
}

.product-availability.unavailable {
    color: #e74c3c;
}

.availability-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.available .availability-dot {
    background-color: #27ae60;
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.5);
}

.unavailable .availability-dot {
    background-color: #e74c3c;
}

.weight-select-container {
    margin-top: 1rem;
}

.weight-select {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 2px solid #27ae60;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #111111;
    background-color: #fff;
    outline: none;
    cursor: pointer;
}

.weight-select:focus {
    border-color: var(--color-primary);
}

/* ==========================================================================
   CONFEZIONE REGALO (BOX BUILDER)
   ========================================================================== */
.box-builder-section {
    padding: 8rem 0;
    background-color: var(--color-light-surface);
}

.builder-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.box-preview-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
}

/* 3D Box Styling */
.box-3d {
    position: relative;
    width: 320px;
    height: 200px;
    background: linear-gradient(135deg, #8d6e63 0%, #3e2723 100%);
    border-radius: 12px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5), 0 15px 35px rgba(0,0,0,0.3);
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-lid {
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    background: radial-gradient(circle, #ecd06f 0%, #bda23c 100%);
    border: 3px solid #8d6e63;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    transition: var(--transition-smooth);
}

.box-3d:hover .box-lid {
    transform: translateY(-40px) rotateX(15deg);
    box-shadow: 0 25px 30px rgba(0,0,0,0.35);
}

.box-lid-logo {
    height: 60px;
    margin-bottom: 0.5rem;
}

.box-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #3e2723;
}

.box-interior {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 0.8rem;
    opacity: 0.8;
}

.box-empty-prompt {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    text-align: center;
}

.box-item-dot {
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    animation: scaleUp 0.3s ease;
}

.box-summary {
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1.5rem;
}

.box-summary h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.box-summary p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.box-summary .price {
    font-weight: 700;
}

.box-summary button {
    width: 100%;
    margin-top: 1.5rem;
}

/* Builder controls and list */
.builder-controls h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.builder-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.builder-item-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: #fff;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.builder-item-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.b-info {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-light-surface);
}

.qty-btn:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

.qty-val {
    padding: 0 0.8rem;
    font-weight: 700;
}


/* ==========================================================================
   INGREDIENTS ACCORDION
   ========================================================================== */
.ingredients-section {
    padding: 8rem 0;
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: left;
    color: var(--color-text-dark);
}

.accordion-header i {
    transition: var(--transition-smooth);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-body p {
    padding-bottom: 1.5rem;
    color: var(--color-text-muted);
}


/* ==========================================================================
   CONTATTI & MAP
   ========================================================================== */
.contatti-section {
    padding: 8rem 0;
    background-color: var(--color-light-surface);
}

.contatti-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-column h3, .form-column h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.address, .phone, .email {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.address i, .phone i, .email i {
    color: var(--color-primary);
}

.orari {
    margin: 2.5rem 0;
}

.orari h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.orari ul {
    list-style: none;
}

.orari li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.map-embed {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.form-column {
    background-color: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.submit-btn {
    width: 100%;
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
}

.form-feedback.success {
    background-color: #e8f5e9;
    color: var(--color-success);
}

.form-feedback.error {
    background-color: #ffebee;
    color: var(--color-danger);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: #ffffff;
    color: #333333;
    padding: 4rem 0 3rem;
    border-top: 1px solid #e5e5e5;
    font-family: var(--font-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    justify-content: space-between;
    gap: 2rem;
    text-align: left;
}

.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-col-left {
    align-items: flex-start;
}

.footer-col-center {
    align-items: center;
    justify-content: center;
}

.footer-col-right {
    align-items: flex-end;
    text-align: right;
}

.footer-leaf-logo {
    max-height: 180px;
    width: auto;
    object-fit: contain;
}

.footer-group h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000000;
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555555;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

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

.footer-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.footer-socials a {
    font-size: 1.5rem;
    color: #333333;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.footer-group-bottom {
    margin-top: 3rem;
    font-size: 0.82rem;
    color: #666666;
    line-height: 1.6;
}

.footer-group-bottom a {
    color: #666666;
    transition: var(--transition-fast);
}

.footer-group-bottom a:hover {
    color: var(--color-primary);
}

.footer-col-left .footer-group-bottom p {
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
}

.footer-col-right .footer-group-bottom p {
    margin-bottom: 0.3rem;
}

.footer-col-right .footer-group-bottom .piva {
    font-weight: 700;
    color: #111111;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-col-left, .footer-col-center, .footer-col-right {
        align-items: center;
        text-align: center;
    }
    
    .footer-group-bottom {
        margin-top: 1.5rem;
    }
    
    .footer-socials {
        justify-content: center;
    }
}


/* ==========================================================================
   SHOPPING CART DRAWER (SIDE BAR)
   ========================================================================== */
.cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.cart-drawer.open {
    visibility: visible;
}

.cart-drawer-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.cart-drawer.open .cart-drawer-overlay {
    opacity: 1;
}

.cart-drawer-content {
    position: absolute;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100%;
    background-color: #fff;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.cart-drawer.open .cart-drawer-content {
    right: 0;
}

.cart-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.4rem;
}

.close-btn {
    font-size: 2rem;
    color: var(--color-text-dark);
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-empty-message {
    text-align: center;
    color: var(--color-text-muted);
    margin-top: 3rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 1rem;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-details h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.cart-item-details .price {
    font-weight: 700;
}

.cart-item-remove {
    font-size: 1.2rem;
    color: var(--color-danger);
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    background-color: var(--color-light-surface);
}

.cart-totals {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.checkout-btn {
    width: 100%;
}


/* ==========================================================================
   ANIMATIONS & EFFECTS & UTILITIES
   ========================================================================== */
.hidden {
    display: none !important;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes scaleUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}



/* Parallax Parallasse.jpg Banner Showcase */
.banner-parallasse {
    position: relative;
    height: 480px;
    background-image: url('Parallasse.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 5rem 0;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
}

.banner-parallasse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.banner-parallasse-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    padding: 3.5rem 5rem; /* Wider padding to fit text inside the ellipse */
    background: linear-gradient(135deg, #12523c 0%, #ffffff 100%);
    border: 2px solid #12523c;
    border-radius: 50% / 50%; /* Perfect elliptical shape */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-parallasse-content.active {
    transform: translateY(0);
    opacity: 1;
}

.banner-parallasse-content h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.2rem;
    font-weight: 400; /* Set to normal weight to avoid inherit bold */
    color: #ffffff; /* White script text for high contrast on green top */
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.banner-parallasse-content h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem; /* Reduced size as requested */
    font-weight: 700;
    text-transform: none; /* Removed uppercase */
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    color: #0f3627; /* Dark green for excellent contrast on white bottom */
}

.banner-parallasse-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #2b453a; /* Readability text color */
    font-weight: 600;
}

@media (max-width: 768px) {
    .banner-parallasse {
        height: auto;
        padding: 4rem 1.5rem;
        background-attachment: scroll; /* fallback for mobile parallax */
    }
    
    .banner-parallasse-content {
        padding: 3rem 2rem;
        border-radius: 40px; /* Responsive rounded corners to prevent overflow in narrow widths */
    }
    
    .banner-parallasse-content h3 {
        font-size: 2.5rem;
    }
    
    .banner-parallasse-content h2 {
        font-size: 1.7rem;
    }
}

/* Extra premium micro-interactions */
.btn.primary-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn.primary-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
    z-index: -1;
}

.btn.primary-btn:hover::after {
    left: 125%;
}

.logo-link img {
    transition: transform 0.5s ease;
}

.logo-link:hover img {
    transform: scale(1.05) rotate(-2deg);
}

/* ==========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .storia-grid, .builder-container, .contatti-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none; /* simple hidden for menu simplicity */
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .intro-title {
        font-size: 2.5rem;
    }
    
    .cart-drawer-content {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==========================================================================
   CHI SIAMO PAGE: HERO SLIDESHOW & LAYOUTS
   ========================================================================== */
.hero-slideshow-section {
    position: relative;
    width: 100%;
    height: 550px;
    margin-top: 80px;
    overflow: hidden;
    background-color: #0c0806;
}

.hero-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.slideshow-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    color: #ffffff;
    width: 90%;
    max-width: 800px;
}

.slideshow-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 0.8s ease forwards;
}

.slideshow-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

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

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slide-dot.active {
    background: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Chef Card & Badge */
.chef-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
}

.chef-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.chef-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    color: #ffffff;
}

.chef-badge h4 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.chef-badge p {
    font-size: 0.9rem;
    color: #f1f5f3;
    opacity: 0.95;
    margin: 0;
}

/* Custom Lists */
.azienda-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.azienda-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: #2b453a;
    line-height: 1.6;
}

.azienda-list i {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-top: 0.2rem;
    transition: transform 0.3s ease;
}

.azienda-list li:hover i {
    transform: scale(1.2);
}

.portfolio-list i {
    color: #cda851; /* Premium gold accent for business portfolio list */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-slideshow-section {
        height: 400px;
    }
    
    .slideshow-title {
        font-size: 2.8rem;
    }
    
    .slideshow-subtitle {
        font-size: 1.1rem;
    }
    
    .storia-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

/* ==========================================================================
   ACQUISTO SICURO DROPDOWN MENU
   ========================================================================== */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #ffffff;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-item:hover {
    background-color: rgba(18, 82, 60, 0.05);
    color: var(--color-primary);
    padding-left: 1.8rem;
}

.dropdown-item.active {
    color: var(--color-primary) !important;
    font-weight: 700;
}

/* ==========================================================================
   ACQUISTO SICURO SUBPAGES: 2-COLUMN GRID & SIDEBAR
   ========================================================================== */
.acquisto-sicuro-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 4rem;
    align-items: start;
}

.sicuro-content {
    background: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.03);
}

.sicuro-content h3.section-subtitle-accent {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.sicuro-content hr {
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 2.5rem 0;
}

.sicuro-sidebar {
    position: sticky;
    top: 120px;
    background: #ffffff;
    padding: 2.2rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 0.6rem;
}

.sidebar-link {
    display: block;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    background: rgba(18, 82, 60, 0.05);
    color: var(--color-primary);
}

.sidebar-link.active {
    background: var(--color-primary);
    color: #ffffff !important;
}

.return-home-wrapper {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    text-align: center;
}

.return-home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.return-home-link:hover {
    color: var(--color-primary);
}

.return-home-link img {
    height: 18px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.return-home-link:hover img {
    opacity: 1;
}

/* Responsive navigation adjustments */
@media (max-width: 992px) {
    .nav-dropdown {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .dropdown-toggle {
        justify-content: center;
        width: auto;
    }
    
    .dropdown-menu {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        width: 100% !important;
        min-width: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        padding-left: 0;
        background: transparent !important;
        margin-top: 0.5rem;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block !important;
    }
    
    .dropdown-item {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        opacity: 1 !important;
        visibility: visible !important;
        color: var(--color-text-dark) !important;
        text-align: center !important;
        padding: 0.8rem 1rem !important;
    }
    
    .acquisto-sicuro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sicuro-sidebar {
        position: static;
        margin-top: 1rem;
    }
}

/* Optimize header layout space on medium screens to prevent menu items wrapping */
@media (max-width: 1200px) {
    .header-container {
        gap: 0.8rem;
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 0.8rem;
    }
    
    .search-box {
        width: 170px;
    }
    
    .search-box:focus-within {
        width: 200px;
    }
    
    .nav-link {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
}

/* ==========================================================================
   PAGE HEADER SLIDESHOW (ACQUISTO SICURO SUBPAGES)
   ========================================================================== */
.page-header-slideshow {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 80px;
    overflow: hidden;
    background-color: #0c0806;
}

.page-header-slideshow .header-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.page-header-slideshow .header-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s ease-in-out;
}

.page-header-slideshow .header-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Global Modal System */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease-out forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 650px;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

/* Holiday Theme Announcement & Decorations */
.holiday-banner {
    background: rgb(192, 0, 0); /* Rosso scuro RGB 192,0,0 for Christmas */
    color: #ffffff;
    text-align: center;
    padding: 0.5rem 2rem;
    height: 80px; /* 50% taller */
    z-index: 100000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.theme-easter .holiday-banner {
    background: #FFD700; /* Warm Giallo/Gold for Easter */
    color: #2B2118; /* Dark Cocoa text for readability */
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.holiday-banner-text {
    font-family: 'Great Vibes', cursive !important;
    font-size: 2.2rem !important; /* Larger and classic like Paolo Ottini */
    font-weight: 400 !important;
    line-height: 1.2;
}

/* Push navigation bar down if theme is active */
body.theme-christmas {
    padding-top: 80px;
}
body.theme-easter {
    padding-top: 80px;
}

body.theme-christmas #main-header {
    top: 80px;
}
body.theme-easter #main-header {
    top: 80px;
}

/* Overflowing Banner Icons */
.holiday-icon {
    height: 110px; /* Big and highly visible */
    width: auto;
    object-fit: contain;
    position: relative; /* Inside flexbox, never covers text */
    top: 20px; /* Hangs down a cavallo */
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.25));
    z-index: 100001;
    flex-shrink: 0;
}

@media(max-width: 768px) {
    .holiday-banner {
        height: 70px;
        gap: 1rem;
        padding: 0.5rem 1rem;
    }
    body.theme-christmas { padding-top: 70px; }
    body.theme-easter { padding-top: 70px; }
    body.theme-christmas #main-header { top: 70px; }
    body.theme-easter #main-header { top: 70px; }
    
    .holiday-banner-text {
        font-size: 1.5rem !important;
    }
    .holiday-icon {
        height: 75px;
        top: 15px;
    }
}

/* Heading Accents */
.theme-christmas .heading::after {
    content: " 🎄";
    font-size: 1.4rem;
}
.theme-christmas .heading::before {
    content: "🎄 ";
    font-size: 1.4rem;
}
.theme-easter .heading::after {
    content: " 🐣";
    font-size: 1.4rem;
}
.theme-easter .heading::before {
    content: "🐣 ";
    font-size: 1.4rem;
}

/* Ornaments decoration on hero title for Christmas */
.theme-christmas .hero-title::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url('Bussolano Zucchi/Natale/biglie.png') no-repeat center/contain;
    vertical-align: middle;
    margin-left: 15px;
}
.theme-christmas .hero-title::before {
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url('Bussolano Zucchi/Natale/biglie.png') no-repeat center/contain;
    vertical-align: middle;
    margin-right: 15px;
}
.theme-easter .hero-title::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url('Bussolano Zucchi/Pasqua/camp.png') no-repeat center/contain;
    vertical-align: middle;
    margin-left: 15px;
}
.theme-easter .hero-title::before {
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url('Bussolano Zucchi/Pasqua/camp.png') no-repeat center/contain;
    vertical-align: middle;
    margin-right: 15px;
}



