@font-face {
              font-family: "logo";
              src:   url("../fonts/orbitron.woff2");
            }

        @font-face {
              font-family: "body";
              src:   url("../fonts/proximanova.woff2");
            }

        @font-face {
              font-family: "hn";
              src:   url("../fonts/europa.woff2");
            }
        /* Reset e stili base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        :root {
            --primary: #078282;
            --secondary: #0aa3a3;
            --accent: #06b6b6;
            --light: #f0f9f9;
            --dark: #055757;
            --text: #333333;
            --text-light: #666666;
        }

        body {
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
        }

        body * {
            font-family: body;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        section {
            padding: 80px 0;
        }

        h1, h2, h3, h4 {
            margin-bottom: 1rem;
            line-height: 1.2;
            font-family: hn;

        }

        h1 {
            font-size: 2.8rem;
            font-weight: 700;
        }

        h2 {
            font-size: 2.2rem;
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }

        h2:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary);
        }
        .feature > h3 {position: relative;}
        .feature > h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary);
        }

        p {
            margin-bottom: 1.5rem;
        }

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

        .btn:hover {
            background: var(--light);
            color: var(--primary);
            transform: translateY(-3px);
        }

        .btn-secondary {
            background: var(--secondary);
        }

        .btn-secondary:hover {
            background: var(--light);
            color: var(--secondary);
        }

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

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

        .logo {
            display: flex;
            align-items: center;
        }
        .logo * {
            font-family: "logo" !important;
        }

        .logo h1 {
            font-size: 1.8rem;
            margin-bottom: 0;
            font-weight: normal;
            color: var(--primary);
        }

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

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

        nav ul li a {
            text-decoration: none;
            color: var(--text);
            font-weight: 500;
            transition: color 0.3s;
        }

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

        .mobile-menu {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            padding: 180px 0 100px;
            text-align: center;
        }

        .hero h1 {
            font-size: 3.2rem;
            margin-bottom: 1.5rem;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
            color: var(--text-light);
        }

        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 2rem;
        }

        /* Servizi */
        .services {
            background: var(--light);
        }

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
        .service-card {
             flex: 1 1 300px;
    max-width: calc(100% - 30px);
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-10px);
        }

        .service-icon {
            background: var(--primary);
            color: white;
            font-size: 2.5rem;
            padding: 25px;
            text-align: center;
        }

        .service-content {
            padding: 25px;
        }

        .service-content h3 {
            color: var(--primary);
            margin-bottom: 15px;
        }

        /* Perché Sceglierci */
        .why-us {
            background: white;
        }

        .features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

        .feature {
            width: 250px;
            text-align: center;
            padding: 30px 20px;
        }

        .feature i {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .feature h3 {
            margin-bottom: 15px;
        }

        /* Team */
        .team {
 
        }

        /*.team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }*/
        .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;   /* centra gli elementi dentro le celle */
}


        .team-member {
            background: white;
            border-radius: 10px;
            transition: 0.3s;
            max-width: 1000px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            text-align: center;
        }

        .member-img {
            height: 550px;
            background: #ddd;
            background-size: cover;
            background-position: right center;
        }

        .member-info {
            padding: 20px;
        }

        .member-info h3 {
            margin-bottom: 5px;
        }

        .member-info p {
            color: var(--text-light);
            margin-bottom: 15px;
        }

        /* Prenota */
        .booking {
            background: linear-gradient(rgba(23.9, 62.7, 62.7, 0.9), rgba(23.9, 62.7, 62.7, 0.9)), url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
        }

        .booking h2 {
            color: white;
        }

        .booking h2:after {
            background: white;
        }

        .booking p {
            max-width: 700px;
            margin: 0 auto 2rem;
        }

        .booking-form {
            max-width: 600px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.1);
            padding: 30px;
            border-radius: 10px;
            backdrop-filter: blur(10px);
        }

        .form-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: none;
            border-radius: 5px;
            background: rgba(255, 255, 255, 0.9);
        }

        .form-group textarea {
            height: 120px;
            resize: vertical;
        }

        /* Mappa */
        .map-section {
            background: var(--light);
            padding: 80px 0;
        }

        .map-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        #map {
            height: 400px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .map-info {
            padding: 20px;
        }

        .map-info h3 {
            color: var(--primary);
            margin-bottom: 20px;
        }

        .address-info {
            background: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .address-info p {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
        }

        .address-info i {
            color: var(--primary);
            margin-right: 15px;
            margin-top: 3px;
            width: 20px;
        }

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

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

        .footer-col h3 {
            color: white;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: var(--primary);
        }

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

        .footer-col ul li {
            margin-bottom: 12px;
        }

        .footer-col ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-col ul li a:hover {
            color: white;
        }

        .contact-info li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
        }

        .contact-info li i {
            margin-right: 10px;
            color: var(--primary);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

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

        .social-links a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #aaa;
            font-size: 0.9rem;
        }

        /* Icona telefono in sovrapposizione */
        .phone-float {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background-color: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            z-index: 999;
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }

        .phone-float:hover {
            background-color: var(--secondary);
            transform: scale(1.1);
        }

        .phone-float a {
            color: white;
            font-size: 24px;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
        }

        /* Banner GDPR */
        .gdpr-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--dark);
            color: white;
            padding: 20px;
            z-index: 1001;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .gdpr-banner.show {
            transform: translateY(0);
        }

        .gdpr-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }

        .gdpr-text {
            flex: 1;
        }

        .gdpr-text p {
            margin-bottom: 0;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .gdpr-buttons {
            display: flex;
            gap: 10px;
            flex-shrink: 0;
        }

        .gdpr-btn {
            padding: 8px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .gdpr-btn.accept {
            background: var(--primary);
            color: white;
        }

        .gdpr-btn.accept:hover {
            background: var(--secondary);
        }

        .gdpr-btn.settings {
            background: transparent;
            color: white;
            border: 1px solid white;
        }

        .gdpr-btn.settings:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(7, 130, 130, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(7, 130, 130, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(7, 130, 130, 0);
            }
        }

        /* Responsive */
        @media (max-width: 992px) {
            h1 {
                font-size: 2.4rem;
            }
            
            h2 {
                font-size: 2rem;
            }
            
            .hero h1 {
                font-size: 2.8rem;
            }

            .map-container {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .gdpr-content {
                flex-direction: column;
                text-align: center;
            }

            .gdpr-buttons {
                width: 100%;
                justify-content: center;
            }
            .member-img {
            height: 250px;
            background: #ddd;
            background-size: cover;
            background-position: right center;
        }
        }

        @media (max-width: 768px) {
            .mobile-menu {
                display: block;
            }
            
            nav {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 80%;
                height: calc(100vh - 70px);
                background: white;
                transition: all 0.3s ease;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            }
            
            nav.active {
                left: 0;
            }
            
            nav ul {
                flex-direction: column;
                padding: 30px;
            }
            
            nav ul li {
                margin: 0 0 20px 0;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                max-width: 250px;
                margin-bottom: 10px;
            }

            #map {
                height: 300px;
            }

            .gdpr-banner {
                padding: 15px;
            }

            .gdpr-buttons {
                flex-direction: column;
                width: 100%;
            }

            .gdpr-btn {
                width: 100%;
            }
        }

        @media (max-width: 576px) {
            section {
                padding: 60px 0;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            h2 {
                font-size: 1.8rem;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .phone-float {
                width: 50px;
                height: 50px;
                bottom: 15px;
                right: 15px;
            }
            
            .phone-float a {
                font-size: 20px;
            }

            #map {
                height: 250px;
            }
        }

 #google-reviews-widget {
    background: var(--light);
    padding: 80px 0;
}

.reviews-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.reviews-title {
    text-align: center;
}

.google-logo {
    height: 28px;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.rating strong {
    font-size: 1.8rem;
    color: #fbbc05;
}

.stars {
    font-size: 1.3rem;
    color: #fbbc05;
}

.review-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #078282;
    color: #fff;
    padding: 14px 22px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
.review-cta:hover{

    transform: translateY(-3px);

}

.review-cta img {
    height: 50px;
    background: transparent;
    padding: 3px;
    border-radius: 4px;
}

.reviews-list {
    display: flex;
    justify-content: space-evenly;
    gap: 25px;
    overflow-x: auto;
    padding: 20px 10px;
    width: 100%;
    scroll-behavior: smooth;
}

.review-card {
    min-width: 300px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}


.review-card:hover {
    transform: translateY(-3px);
}
.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-author {
    display: flex;
    gap: 12px;
    align-items: center;
}

.review-author img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.google-mini {
    height: 16px;
    width: 16px;
    opacity: .85;
}

.review-card p {
    font-size: .95rem;
    line-height: 1.5;
    color: #444;
}

.review-card small {
    display: block;
    margin-top: 10px;
    color: #777;
}

.image-popup {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.popup-content {
    position: relative;
    max-width: 100%;
}

.popup-content img {
 
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-popup {
    position: fixed;
    top: 0;
    right: 0;
    font-size: 55px;
    font-weight: bold;
    height: 60px;
    width: 60px;
text-shadow: 0px 0px 2px #000000;color: white;
    cursor: pointer;
    z-index: 999;
}