  /* --- VARIABILI COLORI E FONT --- */
        :root {
            --fioi-orange: #FF6600;
            --fioi-black: #0d0d0d;
            --fioi-white: #ffffff;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--fioi-white);
            color: var(--fioi-black);
            scroll-behavior: smooth;
        }

        /* --- NAVBAR E HAMBURGER --- */
        .navbar {
            background-color: rgba(0, 0, 0, 0.9) !important;
            padding: 15px 0;
        }
        .navbar-brand {
            color: var(--fioi-orange) !important;
            font-weight: 900;
            font-size: 1.8rem;
            letter-spacing: 2px;
        }
        .nav-link {
            color: var(--fioi-white) !important;
            text-transform: uppercase;
            font-weight: 700;
            margin-left: 15px;
            transition: 0.3s;
        }
        .nav-link:hover {
            color: var(--fioi-orange) !important;
        }
       
        .navbar-toggler {
            border-color: var(--fioi-orange);
        }
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 102, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
        }

        /* --- EFFETTO PARALLAX --- */
        .parallax {
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            position: relative;
        }
        /* Overlay scuro per far leggere il testo sui Parallax */
        .parallax-overlay {
            background-color: rgba(0, 0, 0, 0.7);
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
        }

        /* --- HOME PAGE --- */
        #home {
              /* CAMBIARE FOTO */
            background-image: url('https://fioiaps.it/img/homebackground.jpg');
            min-height: 100vh;
            display: flex;
            align-items: center;
            color: var(--fioi-white);
            text-align: center;
            padding-top: 50px;
        }

        @media (max-width: 768px) {
            #home {
            background-image: url("https://fioiaps.it/img/la_casetta.jpg"); 
            background-attachment: scroll; 
            height: 1080px; 
            }
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }
        .hero-title {
            color: var(--fioi-orange);
            font-weight: 900;
            text-transform: uppercase;
        }
        
        /* COUNTDOWN */
        .countdown-box {
            background-color: var(--fioi-orange);
            color: var(--fioi-black);
            padding: 10px;
            border-radius: 10px;
            display: inline-block;
            margin-top: 10px;
            text-decoration: none;
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }
        .countdown-box:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(255,102,0,0.5);
        }
        .countdown-timer span {
            font-size: 2rem;
            font-weight: 900;
            margin: 0 10px;
        }

        /* --- SEZIONI GENERALI --- */
        section { padding: 100px 0; }
        .section-title {
            font-size: 2.5rem;
            font-weight: 900;
            text-transform: uppercase;
            margin-bottom: 40px;
        }
        .text-orange { color: var(--fioi-orange) !important; }
        .bg-black { background-color: var(--fioi-black) !important; color: var(--fioi-white); }

        /* --- EVENTI --- */
        .card-evento {
            background-color: #222;
            border: none;
            color: white;
            transition: 0.3s;
        }
        .card-evento:hover {
            transform: translateY(-10px);
            border-bottom: 5px solid var(--fioi-orange);
        }
        
        /* --- PARALLAX SOCIO--- */
        #diventa-socio {
            /* CAMBIARE FOTO */
            background-image: url('https://fioiaps.it/img/socio.jpg');
            color: var(--fioi-white);
        }
        .btn-custom {
            background-color: var(--fioi-orange);
            color: var(--fioi-white);
            font-weight: bold;
            padding: 15px 30px;
            border-radius: 50px;
            text-transform: uppercase;
            border: none;
            transition: 0.3s;
        }
        .btn-cookies{
            background-color: var(--fioi-orange);
            color: var(--fioi-white);
            font-weight: bold;
            padding: 15px 30px;
            border-radius: 50px;
            text-transform: uppercase;
            border: none;
            transition: 0.3s;
        }
        .btn-custom:hover {
            background-color: #fff;
            color: var(--fioi-orange);
        }

        /* --- FOOTER --- */
        footer {
            background-color: var(--fioi-black);
            color: #aaa;
            padding: 50px 0 20px;
            border-top: 3px solid var(--fioi-orange);
        }

       
        .footer-logo {
            max-width: 180px; /* Puoi aumentare o diminuire questo valore per ingrandire/rimpicciolire il logo */
            height: auto;
            display: block;
            transition: transform 0.3s ease; /* Prepara l'animazione per l'hover */
        }

        /* Effetto opzionale: il logo si ingrandisce leggermente se ci passi sopra col mouse */
        .footer-logo:hover {
            transform: scale(1.05);
        }
        footer h5 { color: var(--fioi-white); font-weight: 700; }
        footer a { color: #aaa; text-decoration: none; transition: 0.3s; }
        footer a:hover { color: var(--fioi-orange); }
        .sponsor-logos img { width: 80px; margin: 10px; filter: grayscale(100%); transition: 0.3s; }
        .sponsor-logos img:hover { filter: grayscale(0%); }