  /* --- VARIABILI COLORI VOLLEY ALMESE --- */
        :root {
            --blu-principale: #0046ad; 
            --verde-accento: #39ff14;   
            --blu-scuro: #001f54;       
            --grigio-luce: #f4f7f6;
            --bianco: #ffffff;
        }

        /* --- RESET & BASE --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Roboto', sans-serif;
            font-weight: 400; 
            color: #222;
            line-height: 1.6;
            background-color: var(--bianco);
        }

        /* --- HEADER & NAV --- */
        header {
            background-color: var(--blu-scuro);
            padding: 10px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        .logo-container { display: flex; align-items: center; gap: 15px; }
        .logo-img { height: 60px; width: auto; display: block; filter: invert(1); mix-blend-mode: screen; }
        .logo-testo { color: var(--bianco); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: 1px; }
        .logo-testo span { color: var(--verde-accento); }
        
        /* Struttura Menu e Dropdown */
        nav { display: flex; align-items: center; }
        .menu-item { position: relative; margin-left: 20px; }
        nav a { color: var(--bianco); text-decoration: none; font-weight: 700; transition: color 0.3s; display: block; padding: 10px 0; }
        nav a:hover { color: var(--verde-accento); }

        /* Icona freccetta per i menu con sottomenu */
        .con-sottomenu > a::after {
            content: ' ▾';
            font-size: 0.8rem;
            vertical-align: middle;
        }

        /* Stile del Sottomenu a tendina */
        .sottomenu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background-color: var(--blu-scuro);
            min-width: 160px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.3);
            border-radius: 4px;
            padding: 5px 0;
            list-style: none;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        .sottomenu li a {
            padding: 10px 20px;
            font-size: 0.95rem;
            font-weight: 400;
            text-transform: none;
            white-space: nowrap;
        }
        .sottomenu li a:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--verde-accento);
        }

        /* Mostra il sottomenu al passaggio del mouse */
        .menu-item:hover .sottomenu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        /* --- STRUTTURA GENERICA PER SEZIONI CON FOTO DI SFONDO --- */
        .sezione-sfondo {
            position: relative;
            overflow: hidden;
            background-color: var(--blu-principale); 
        }
        
        .bg-foto-strutturale {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
        }
        
        .overlay-strutturale {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.4) 100%);
            z-index: 2;
        }
        
        .contenuto-sopra {
            position: relative;
            z-index: 3;
            width: 100%;
        }

        /* --- CONFIGURAZIONE SPECIFICA DELLE SEZIONI --- */
        section {
            padding: 90px 10%;
            text-align: center;
        }
        section h2 {
            font-size: 2.8rem;
            margin-bottom: 25px;
            color: var(--blu-scuro);
            font-weight: 700; 
            text-transform: uppercase;
            text-shadow: 1px 1px 10px rgba(255,255,255,0.8); 
        }
        section h2::after {
            content: '';
            display: block;
            width: 80px;
            height: 6px;
            background-color: var(--blu-principale);
            margin: 12px auto 0 auto;
            border-radius: 3px;
        }

        /* Sezione 1: Intro Societaria */
        .intro-societaria { min-height: 450px; }

        /* Sezione 2: Hero Video */
        .hero {
            position: relative;
            height: 80vh;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: var(--bianco);
            padding: 0 20px;
        }
        .hero-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -2; transform: translate(-50%, -50%); object-fit: cover; }
        .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0, 31, 84, 0.5), rgba(0, 15, 43, 0.85)); z-index: -1; }
        .hero-content { z-index: 1; width: 100%; }
        .hero h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; text-shadow: 2px 2px 10px rgba(0,0,0,0.6); }
        .hero p { font-size: 1.4rem; font-weight: 400; max-width: 750px; margin: 0 auto 40px auto; text-shadow: 1px 1px 5px rgba(0,0,0,0.6); }
        
        .btn {
            background-color: var(--verde-accento);
            color: var(--blu-scuro);
            padding: 18px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
            display: inline-block;
        }
        .btn:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(57, 255, 20, 0.7); }

        /* Sezione 3: Valori */
        .valori-intro { max-width: 850px; margin: 0 auto 60px auto; font-size: 1.2rem; color: #111; font-weight: 400; text-shadow: 1px 1px 5px rgba(255,255,255,0.8); }
        .griglia-valori { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
        .card-valore { background: rgba(255, 255, 255, 0.9); padding: 40px 30px; border-radius: 15px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); border-top: 5px solid var(--blu-principale); transition: transform 0.3s; }
        .card-valore:hover { transform: translateY(-5px); }
        .card-valore h3 { margin-bottom: 15px; color: var(--blu-scuro); font-size: 1.4rem; font-weight: 700; }

        /* Sezione 4: Galleria */
        .griglia-galleria { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
        .item-galleria { position: relative; overflow: hidden; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); background: #e0e0e0; display: flex; align-items: center; justify-content: center; }
        .item-galleria::before { content: ""; display: block; padding-top: 75%; }
        .item-galleria.video::before { padding-top: 177.77%; }
        .item-galleria img, .item-galleria video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
        .item-galleria:hover img { transform: scale(1.08); }
        .galleria-label { position: absolute; bottom: 15px; left: 15px; background: var(--blu-principale); color: var(--bianco); padding: 6px 14px; font-size: 0.85rem; font-weight: 700; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.3); z-index: 2; }

        /* Sezione 5: Prova Gratutita */
        .cta-prove p { font-size: 1.3rem; max-width: 750px; margin: 20px auto 40px auto; color: #111; font-weight: 400; text-shadow: 1px 1px 5px rgba(255,255,255,0.8); }

        /* --- FOOTER --- */
        footer { background-color: #000f2b; color: var(--bianco); padding: 60px 10% 20px 10%; font-size: 0.95rem; }
        .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; text-align: left; margin-bottom: 40px; }
        .footer-content h4 { color: var(--verde-accento); margin-bottom: 20px; font-size: 1.2rem; text-transform: uppercase; font-weight: 700; }
        .footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 25px; font-size: 0.85rem; opacity: 0.6; }

        /* --- RESPONSIVE MOBILE --- */
        @media (max-width: 900px) {
            .intro-societaria { min-height: 350px; }
        }
        @media (max-width: 768px) {
            .hero h1 { font-size: 2.3rem; }
            .hero p { font-size: 1.1rem; }
            section { padding: 60px 5%; }
            section h2 { font-size: 2.2rem; }
            header { flex-direction: column; gap: 15px; padding: 15px 5%; }
            nav { flex-wrap: wrap; justify-content: center; }
            .menu-item { margin: 5px 10px; }
            .sottomenu { position: static; transform: none; box-shadow: none; opacity: 1; visibility: visible; display: none; text-align: center; background-color: rgba(0,0,0,0.1); }
            .menu-item:hover .sottomenu { display: block; transform: none; }
        }

/* Rende l'header fisso in alto durante lo scrolling */
#header-placeholder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* Mantiene l'header sopra ogni altro elemento della pagina */
    background-color: #ffffff; /* Evita che i contenuti sotto si intravedano in trasparenza */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Aggiunge un'ombra leggera per staccarlo dai contenuti */
}

/* Evita che il contenuto della pagina finisca nascosto SOTTO l'header fisso */
body {
    padding-top: 80px; /* Regola questo valore (es. 70px, 90px) in base all'altezza reale del tuo header */
}