: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;
}

/* --- SEZIONE HERO CON VIDEO --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    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: -1;
    background-color: #f0f0f0; /* Colore di sfondo se il video non carica */
}

.hero-content {
    background: rgba(0, 0, 0, 0.4); /* Overlay scuro per leggibilità testo */
    padding: 40px;
    border-radius: 10px;
}

.hero-content h1 {
    font-family: var(--header-font);
    font-size: 3.5em;
    margin: 0.2em 0;
    letter-spacing: 2px;
}

.hero-content .subtitle {
    font-size: 1.4em;
    font-weight: 300;
    margin: 0;
}

/* --- 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;
}

/* --- GRIGLIA SERVIZI --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.service-card {
    background: #444;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.service-card h3 {
    font-family: var(--header-font);
    margin-top: 0;
    color: white;
}

/* --- SEZIONE CONTATTI NUOVA --- */
.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2em;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #000;
}

.contact-item i {
    font-size: 1.5em;
    margin-right: 15px;
    width: 30px; /* Allinea le icone */
    text-align: center;
}

/* Colori specifici per le icone */
.fa-whatsapp { color: #25D366; }
.fa-instagram { color: #E4405F; }
.fa-phone { color: #34B7F1; }
.fa-envelope { color: #666; }


/* --- FOOTER --- */
.site-footer {
    background: #222;
    color: #aaa;
    text-align: center;
    padding: 20px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content .subtitle {
        font-size: 1.1em;
    }
    h2 {
        font-size: 2em;
    }
    .contact-item {
        font-size: 1em; /* Riduce la dimensione del testo su schermi piccoli */
    }

}
.liquid-ether-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  touch-action: none;
}
