:root {
    --primary-color: #333;
    --secondary-color: #f4f4f4;
    --text-color: #555;
    --header-font: 'Montserrat', sans-serif;
    --body-font: 'Roboto', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.7;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

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

.nav-logo {
    font-family: var(--header-font);
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #aaa;
}

.nav-button {
    background-color: white;
    color: #111;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #ddd;
}

/* --- SEZIONE HERO CON VIDEO --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    background-color: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(17,17,17,1) 100%);
    z-index: -1;
}

.hero-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    border-radius: 16px;
    z-index: 1;
}

.hero-content h1 {
    font-family: var(--header-font);
    font-size: 4em;
    margin: 0.1em 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content .subtitle {
    font-size: 1.5em;
    font-weight: 300;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2.5em;
    text-decoration: none;
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

/* --- SEZIONI DI CONTENUTO --- */
.content-section {
    padding: 80px 20px;
    text-align: center;
}

.content-section-dark {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

h2 {
    font-family: var(--header-font);
    font-size: 2.5em;
    margin-bottom: 20px;
}

.section-lead {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.content-section-dark .section-lead {
    color: white;
}

/* --- ANIME.JS HIDE --- */
.anime-hide {
    opacity: 0;
}

/* --- ABOUT GRID --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    text-align: left;
    align-items: center;
}

.about-header h2 {
    font-size: 3em;
    line-height: 1.1;
    margin-bottom: 15px;
}

.about-header .section-lead {
    font-size: 1.4em;
    margin-bottom: 0;
}

.about-text {
    font-size: 1.1em;
    line-height: 1.8;
}

.highlight {
    background: linear-gradient(120deg, rgba(200,200,200,0.5) 0%, rgba(200,200,200,0) 100%);
    padding: 0 5px;
    font-weight: bold;
    border-radius: 4px;
}

/* --- GRIGLIA SERVIZI --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.service-card {
    background: #2a2a2a;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    background: #333;
}

.service-icon {
    font-size: 3em;
    color: #fff;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-family: var(--header-font);
    margin-top: 0;
    color: white;
    font-size: 1.4em;
}

/* --- FOOTER & CONTATTI --- */
.site-footer {
    background: #111;
    color: #fff;
    padding: 60px 20px 20px;
    text-align: left;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-family: var(--header-font);
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 10px;
}

.footer-info p {
    color: #aaa;
    max-width: 300px;
}

.footer-contacts h4 {
    font-family: var(--header-font);
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: white;
    background: #222;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    transform: translateY(-5px);
}

.footer-socials a[title="WhatsApp"]:hover { background: #25D366; }
.footer-socials a[title="Instagram"]:hover { background: #E4405F; }
.footer-socials a[title="Telefono"]:hover { background: #34B7F1; }
.footer-socials a[title="Email"]:hover { background: #666; }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9em;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-info p {
        margin: 0 auto;
    }
    .footer-socials {
        justify-content: center;
    }
    .hero-content {
        padding: 30px 20px;
        margin: 0 20px;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content .subtitle {
        font-size: 1.1em;
    }
    h2 {
        font-size: 2em;
    }
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}
.liquid-ether-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.promo-section {
    background: linear-gradient(135deg, #111, #1c1c1c);
    color: #fff;
    text-align: center;
}

.promo-section .section-lead {
    color: #ccc;
}

.promo-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #ffffff;
    color: #111;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.promo-button:hover {
    background-color: #ddd;
    transform: translateY(-2px);
}

