    :root {
        --primary: #FF2800; /* Rosso Ferrari */
        --secondary: #003366; /* Blu scuro */
        --accent: #FFC107; /* Giallo caldo */
        --light: #F8F9FA;
        --dark: #212529;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Montserrat', sans-serif;
    }

    body {
        color: var(--dark);
        line-height: 1.6;
    }

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

    /* Header */
    header {
        background-color: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        position: fixed;
        width: 100%;
        z-index: 1000;
        border-bottom: 3px solid var(--primary);
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
    }

    .logo img {
        height: 60px;
    }

    nav ul {
        display: flex;
        list-style: none;
    }

    nav ul li {
        margin-left: 20px;
    }

    nav ul li a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        transition: color 0.3s;
        text-transform: uppercase;
        font-size: 14px;
    }

    nav ul li a:hover {
        color: var(--primary);
    }

    .mobile-menu {
        display: none;
        font-size: 24px;
        cursor: pointer;
    }

    /* CSS per il selettore di lingua */
    .language-switcher {
        position: relative;
        margin-left: 20px;
        z-index: 1100;
    }

    .current-language {
        display: flex;
        align-items: center;
        cursor: pointer;
        padding: 5px 10px;
        border-radius: 20px;
        background-color: #f5f5f5;
        transition: background-color 0.3s;
    }

    .current-language:hover {
        background-color: #e9e9e9;
    }

    .flag-icon {
        width: 18px;
        height: 12px;
        margin-right: 5px;
        object-fit: cover;
    }

    .current-language span {
        margin: 0 5px;
        font-weight: 500;
        font-size: 14px;
    }

    .language-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        width: 150px;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        list-style: none;
        padding: 10px 0;
        margin-top: 10px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s;
    }

    .language-switcher:hover .language-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .language-dropdown li a {
        display: flex;
        align-items: center;
        padding: 8px 15px;
        text-decoration: none;
        color: var(--dark);
        transition: background-color 0.3s;
    }

    .language-dropdown li a:hover,
    .language-dropdown li a.active {
        background-color: #f5f5f5;
        color: var(--primary);
    }

    .language-dropdown li a img {
        width: 20px;
        height: 14px;
        margin-right: 10px;
        object-fit: cover;
    }

    @media (max-width: 768px) {
        .language-switcher {
            margin-right: 40px;
        }
    }

    /* Hero Section */
    .hero {
        position: relative;
        height: 100vh;
        display: flex;
        align-items: center;
        padding-top: 80px;
        overflow: hidden;
    }

    .hero video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 0;
    }

    .hero-content {
        position: relative;
        z-index: 1;
        color: white;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 48px;
        margin-bottom: 20px;
        font-weight: 800;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .video-text-container {
        position: relative;
        width: 100%;
        height: 120px;
        margin: 10px 0;
        overflow: hidden;
    }

    .static-text {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
        color: transparent;
        -webkit-text-stroke: 1px white;
        font-size: 60px;
    }

    .inner-video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 1;
        -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><text x="50%" y="50%" font-family="Montserrat" font-weight="800" font-size="60" text-anchor="middle" dominant-baseline="middle">la Gelateria e la pasticceria</text></svg>');
        mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><text x="50%" y="50%" font-family="Montserrat" font-weight="800" font-size="60" text-anchor="middle" dominant-baseline="middle">la Gelateria e la pasticceria</text></svg>');
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }

    .text-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-content p {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .btn {
        display: inline-block;
        padding: 12px 30px;
        background-color: var(--primary);
        color: white;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s;
        border: 2px solid var(--primary);
    }

    .btn:hover {
        background-color: transparent;
        color: white;
    }

    .btn-outline {
        background-color: transparent;
        color: white;
        border: 2px solid white;
        margin-left: 15px;
    }

    .btn-outline:hover {
        background-color: white;
        color: var(--primary);
    }

    .section-title {
        text-align: center;
        margin-bottom: 60px;
    }

    .section-title h2 {
        font-size: 36px;
        color: var(--secondary);
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
    }

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

    /* Cataloghi Section */
    .products {
        padding: 100px 0;
    }

    .product-categories {
        display: none; /* Nascosto */
    }

    .catalog-container {
        overflow-x: visible;
    }

    .catalog-row {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
        gap: 30px;
    }

    .catalog-row .product-card {
        width: 200px;
        flex: 0 0 200px;
    }

    .catalog-row .product-image {
        height: 150px;
    }

    .product-card {
        background-color: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s, box-shadow 0.3s;
        height: 320px; /* Altezza aumentata */
        display: flex;
        flex-direction: column;
        position: relative;
        border: 1px solid #eee;
    }

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(255, 40, 0, 0.1);
    }

    .product-image {
        height: 220px;
        overflow: hidden;
        position: relative;
    }

    .product-image::after {
        display: none;
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

    .product-card:hover .product-image img {
        transform: scale(1.1);
    }

    .product-info {
        padding: 15px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        padding-bottom: 60px; /* Spazio aggiuntivo per il bottone */
    }

    .product-info p {
        margin-bottom: 10px;
        color: #6c757d;
        font-size: 13px;
        line-height: 1.4;
    }

    .product-info h3 {
        margin-bottom: 5px;
        color: var(--secondary);
        font-size: 16px;
    }

    .product-info .btn {
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        padding: 8px 0;
        font-size: 14px;
        width: 140px;
        text-align: center;
        white-space: nowrap;
        border-radius: 50px;
        background-color: #FF2400;
        border: none;
        color: white;
        font-weight: 600;
        transition: background-color 0.3s;
    }

    .product-info .btn:hover {
        background-color: #D01F00;
        color: white;
    }

    @media (max-width: 992px) {
        .catalog-row {
            justify-content: center;
        }
    }

    @media (max-width: 700px) {
        .catalog-row {
            flex-wrap: wrap;
            overflow-x: auto;
            padding-bottom: 15px;
            justify-content: flex-start;
        }

        .catalog-row .product-card {
            flex-shrink: 0;
        }
    }

    /* Dove Siamo Section */
    .dove-siamo {
        padding: 100px 0;
        background-color: var(--light);
    }

    .location-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        align-items: stretch;
    }

    .map-container {
        flex: 1 1 55%;
        min-width: 300px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border: 1px solid #eee;
    }

    .location-info {
        flex: 1 1 35%;
        min-width: 300px;
    }

    .address-card {
        background-color: white;
        border-radius: 10px;
        padding: 30px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        height: 100%;
        border-left: 4px solid var(--primary);
    }

    .address-card h3 {
        color: var(--primary);
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .address-card .btn {
        margin-top: 15px;
    }

    /* Footer */
    footer {
        background-color: var(--dark);
        color: white;
        padding: 60px 0 30px;
        position: relative;
    }

    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: var(--primary);
    }

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

    .footer-column h3 {
        margin-bottom: 20px;
        color: var(--accent);
        font-size: 18px;
    }

    .footer-column ul {
        list-style: none;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .footer-column ul li a {
        color: white;
        text-decoration: none;
        transition: color 0.3s;
    }

    .footer-column ul li a:hover {
        color: var(--accent);
    }

    .footer-column p {
        margin-bottom: 15px;
    }

    .social-icons {
        display: flex;
        gap: 15px;
    }

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255,255,255,0.1);
        border-radius: 50%;
        color: white;
        text-decoration: none;
        transition: all 0.3s;
    }

    .social-icons a:hover {
        background-color: var(--primary);
        transform: translateY(-5px);
    }

    .footer-bottom {
        text-align: center;
        padding-top: 30px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .footer-bottom p {
        font-size: 14px;
    }

    /* Responsive */
    @media (max-width: 768px) {
        nav ul {
            display: none;
        }

        .mobile-menu {
            display: block;
        }

        .hero-content h1 {
            font-size: 36px;
        }

        .hero-content p {
            font-size: 18px;
        }

        .catalog-row .product-card {
            width: 200px;
            flex: 0 0 165px;
        }
    }
