          * {
            margin: 0;
            padding: 0;
            font-family: Verdana, Geneva, Tahoma, sans-serif;
            color: black;
            box-sizing: border-box;
        }

        /* Header */
        header {
            width: 100%;
            height: 100px;
            background-color: bisque;
            border-bottom: 3px solid grey;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        nav {
            display: flex;
            align-items: center;
            float: left;
        }

        h3#brand {
            font-family: Arial, Helvetica, sans-serif;
            color: white;
            margin-left: 10px;
            text-shadow:
                -1px -1px 0 black,
                1px -1px 0 black,
                -1px 1px 0 black,
                1px 1px 0 black;
        }

        img#logo {
            height: 50px;
        }

        ul#sezione-menu {
            list-style: none;
            display: flex;
            gap: 30px;
            margin-right: 20px;
        }

        li.menu {
            position: relative;
            display: inline;
        }

        a.menu-link {
            text-decoration: none;
        }

        a.menu-link:hover {
            color: red;
        }

        /* Carosello */
        #sezione-carosello {
            width: 100%;
            background-color: bisque;
            padding: 50px 0;
        }

        .carosello-container {
            max-width: 3600px;            
            margin: 0 auto;
            position: relative;
            overflow: hidden;
            border: 5px solid grey;
        }

        .carosello-slides {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .slide {
            min-width: 100%;
            width: 1200px;
            height: 1000px;
            position: relative;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .slide-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 20px;
            text-align: center;
            font-size: 1.5em;
        }

        .carosello-container{

            position: relative;
        }

        .carosello-btn {
            position:absolute;                      
            top: 50%;            
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 20px;
            font-size: 2em;
            cursor: pointer;
            transition: background 0.3s;
            z-index: 10;
        }

        .carosello-btn:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        .btn-prev {
            left: 0;
        }

        .btn-next {
            right: 0;
        }

        .carosello-indicators {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            border: 2px solid white;
            cursor: pointer;
            transition: background 0.3s;
        }

        .indicator.active {
            background: white;
        }

        /* Galleria */
        #sezione-galleria {
            width: 100%;
            background-color: bisque;
            padding: 50px 20px;
        }

        .galleria-title {
            text-align: center;
            font-size: 2.5em;
            margin-bottom: 40px;
            color: black;
        }

        .galleria-grid {
            max-width: 1700px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            padding: 20px;
        }

        .galleria-item {
            width: 800px;
            height: 600px;
            overflow: hidden;
            border: 5px solid grey;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
        }

        .galleria-item:hover {
            transform: scale(1.02);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .galleria-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .galleria-item:hover img {
            transform: scale(1.1);
        }

        /* Modal Fullscreen */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.95);
            animation: fadeIn 0.3s;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            position: relative;
            margin: auto;
            padding: 0;
            width: 90%;
            max-width: 1400px;
            top: 50%;
            transform: translateY(-50%);
        }

        .modal-content img {
            width: 100%;
            height: auto;
            border: 5px solid grey;
        }

        .close-modal {
            position: absolute;
            top: 15px;
            right: 35px;
            color: white;
            font-size: 50px;
            font-weight: bold;
            cursor: pointer;
            z-index: 1001;
            transition: color 0.3s;
        }

        .close-modal:hover {
            color: #bbb;
        }

        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            padding: 20px;
            font-size: 3em;
            cursor: pointer;
            transition: background 0.3s;
        }

        .modal-nav:hover {
            background: rgba(255, 255, 255, 0.4);
        }

        .modal-prev {
            left: 20px;
        }

        .modal-next {
            right: 20px;
        }

        /* Footer */
        footer {
            width: 100%;
            min-height: 400px;
            background-color: rgb(180, 227, 227);
            padding: 50px 20px;
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
        }

        .card-footer {
            flex: 1;
            min-width: 250px;
            padding: 20px;
        }

        #logo-footer {
            width: 60px;
            margin-bottom: 15px;
        }

        h2#nome-footer {
            margin-bottom: 20px;
        }

        ul#card-1,
        ul#card-2,
        ul#card-3 {
            list-style-type: none;
            padding-top: 10px;
            font-size: 18px;
        }

        ul#card-1 li,
        ul#card-3 li {
            line-height: 30px;
        }

        ul#card-2 li {
            line-height: 30px;
        }

        ul#card-2 a {
            text-decoration: none;
        }

        ul#card-2 a:hover {
            color: red;
        }

        @media (max-width: 1700px) {
            .galleria-grid {
                grid-template-columns: 1fr;
                justify-items: center;
            }
        }

        @media (max-width: 768px) {
            .galleria-item {
                width: 100%;
                height: auto;
                aspect-ratio: 4/3;
            }

            ul#sezione-menu {
                flex-direction: column;
                gap: 10px;
            }

            header {
                height: auto;
                padding: 15px;
            }

            .slide {
                height: 400px;
            }

            .galleria-title {
                font-size: 2em;
            }
        }