/* 
* Villa Ca' Lazzaroni - Residenza Assistenziale Anziani
* Mobile-first approach with responsive design
*/

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    overflow-x: hidden;
}

/* Scrollbar personalizzata */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: rgba(85, 107, 47, 0.6); /* Verde oliva con trasparenza */
    border-radius: 6px;
    border: 2px solid #f5f5f5;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.7); /* Oro brunito con trasparenza */
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Video Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#heroVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback per noscript */
.hero-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay per leggibilità e atmosfera elegante */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(85, 107, 47, 0.75) 0%, 
        rgba(30, 30, 30, 0.85) 100%
    ); /* Gradiente più intenso e sofisticato */
    z-index: 1;
}

/* Contenuto Hero */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 90%;
    text-align: center;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3); /* Sottile bordo dorato */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(212, 175, 55, 0.1);
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tipografia Hero Section */
.hero h1 {
    font-family: "Merriweather", serif;
    font-size: 2.4rem; /* Mobile: 2.4rem */
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.4), #D4AF37, rgba(212, 175, 55, 0.4)); /* Oro brunito con sfumatura */
    border-radius: 3px;
}

.hero h2 {
    font-family: "Open Sans", sans-serif;
    font-size: 1.3rem; /* Mobile: 1.3rem */
    font-weight: 400;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Bottone CTA */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #D4AF37, #c4a02e); /* Gradiente oro brunito */
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px; /* Bottoni arrotondati (raggio 50px) */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(212, 175, 55, 0.3);
    letter-spacing: 0.02em;
    min-width: 220px;
    text-transform: uppercase;
    font-family: "Open Sans", sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover, .cta-button:focus {
    background: linear-gradient(to right, #D4AF37, #dabb51); /* Gradiente oro più chiaro */
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(212, 175, 55, 0.2);
    color: #ffffff;
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(212, 175, 55, 0.15);
    transition: all 0.1s ease;
}

/* Effetto "shine" sui bottoni migliorato */
.cta-button::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(to right, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.1) 10%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0.1) 90%, 
        rgba(255,255,255,0) 100%
    );
    transform: rotate(35deg);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.cta-button:hover::before {
    opacity: 1;
    animation: luxuryShine 1.5s ease-in-out;
}

@keyframes luxuryShine {
    0% { left: -100%; opacity: 0; }
    10% { opacity: 0; }
    40% { opacity: 0.5; }
    50% { opacity: 0.7; }
    60% { opacity: 0.5; }
    100% { left: 100%; opacity: 0; }
}

/* CTA sticky su mobile */
.cta-sticky {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(85, 107, 47, 0.25), 0 2px 8px rgba(212, 175, 55, 0.2); /* Ombra combinata verde oliva e oro */
    z-index: 100;
    border: 2px solid rgba(212, 175, 55, 0.6); /* Bordo oro brunito */
    border-radius: 50px; /* Bordi molto arrotondati */
}

/* Decorazione elegante per hero section */
.hero-content::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23D4AF37"><path d="M12 2L9.2 8.6 2 9.2 7.5 14 5.8 22 12 17.3 18.2 22 16.5 14 22 9.2 14.8 8.6z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Media queries per responsive design */
@media screen and (min-width: 768px) {
    .hero-content {
        padding: 3rem;
        max-width: 800px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
        padding-bottom: 25px;
        margin-bottom: 2rem;
    }
    
    .hero h1::after {
        width: 100px;
        height: 4px;
    }
    
    .hero h2 {
        font-size: 1.6rem;
        margin-bottom: 3rem;
        transform: none;
        width: auto;
        box-shadow: none;
    }
}

@media screen and (max-width: 480px) {
    .hero-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .hero h1 {
        font-size: 2rem;
        padding-bottom: 15px;
    }
    
    .hero h2 {
        font-size: 1.1rem;
        margin-bottom: 0; /* Rimuovi il margine inferiore poiché non c'è più il bottone */
    }
    
    .hero-content::before {
        width: 40px;
        height: 40px;
        top: -20px;
    }
    
    .hero .cta-button {
        display: none; /* Nascondi il pulsante CTA nella hero su mobile */
    }
}

/* Supporto per preferenze di riduzione movimento */
@media (prefers-reduced-motion: reduce) {
    #heroVideo {
        display: none;
    }
    
    /* Mostra l'immagine fallback quando il video è nascosto */
    .hero-video-container::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('images/hero-fallback.jpg');
        background-size: cover;
        background-position: center;
        z-index: 0;
    }
}

/* 
* Sezione Chi Siamo
* Crea un'atmosfera elegante, raffinata e professionale
*/

/* Layout base e contenitore */
.about-section {
    background: linear-gradient(135deg, #FDF8E2 0%, #f9f3dc 40%, #FDF8E2 100%); /* Gradiente crema sottile */
    padding: 70px 0 60px; /* Padding verticale aumentato */
    color: #333; /* Grigio carbone per il testo */
    position: relative;
    overflow: hidden;
}

/* Elementi decorativi */
.about-section::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 0;
    width: 200px;
    height: 200px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23D4AF37" opacity="0.05"><path d="M12 2L9.2 8.6 2 9.2 7.5 14 5.8 22 12 17.3 18.2 22 16.5 14 22 9.2 14.8 8.6z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.08;
    transform: rotate(15deg) scale(8);
    pointer-events: none;
    z-index: 0;
}

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

/* Contenitore flessibile per layout responsive */
.about-content {
    display: flex;
    flex-direction: column; /* Stacked su mobile */
    gap: 3rem;
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(85, 107, 47, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(5px);
}

/* Stili testo */
.about-text h2 {
    font-family: "Merriweather", serif;
    color: #556B2F; /* Verde oliva scuro */
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    line-height: 1.4;
    position: relative;
    padding-bottom: 1rem;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
    letter-spacing: -0.02em;
}

.about-text h2::before {
    content: '"“'; /* Virgolette decorative */
    position: absolute;
    left: -20px;
    top: -30px;
    font-size: 3.5rem;
    font-family: "Merriweather", serif;
    color: rgba(212, 175, 55, 0.15); /* Oro brunito trasparente */
    z-index: -1;
    transform: rotate(-10deg);
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #D4AF37, rgba(212, 175, 55, 0.3)); /* Oro brunito sfumato */
    border-radius: 3px;
}

.about-text p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    color: #444;
    position: relative;
    padding-left: 12px;
    border-left: 2px solid rgba(212, 175, 55, 0.2); /* Sottile bordo oro */
    max-width: 650px;
}

.about-text p:first-of-type {
    font-size: 1.2rem;
    font-weight: 500;
    color: #556B2F; /* Verde oliva scuro */
}

/* Stile citazione callout */
.quote-callout {
    background: linear-gradient(to right, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02)); /* Gradiente oro sottile */
    border: none;
    position: relative;
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    font-style: italic;
    font-family: "Merriweather", serif;
    font-size: 1.15rem;
    line-height: 1.6;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    color: #556B2F; /* Verde oliva scuro */
    text-align: center;
    font-weight: 500;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.quote-callout::before,
.quote-callout::after {
    content: '\201C'; /* Virgolette aperte */
    position: absolute;
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    color: rgba(212, 175, 55, 0.25); /* Oro brunito con trasparenza */
}

.quote-callout::before {
    top: -15px;
    left: 10px;
}

.quote-callout::after {
    content: '\201D'; /* Virgolette chiuse */
    bottom: -40px;
    right: 10px;
}

/* Immagine responsive con stile migliorato */
.about-image {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    margin: 1.5rem auto;
    width: 100%;
    max-width: 100%; /* Rimuoviamo la limitazione di larghezza */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
    transform: translateZ(0);
    height: auto;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid rgba(212, 175, 55, 0.6); /* Bordo oro più visibile */
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2) inset, 0 20px 40px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    z-index: 2;
    pointer-events: none;
    transition: all 0.3s ease;
    animation: borderPulse 3s infinite alternate;
}

@keyframes borderPulse {
    0% {
        border-color: rgba(212, 175, 55, 0.5);
        box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15) inset, 0 20px 40px rgba(0, 0, 0, 0.2);
    }
    100% {
        border-color: rgba(212, 175, 55, 0.8);
        box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3) inset, 0 20px 40px rgba(0, 0, 0, 0.25);
    }
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, 
        rgba(85, 107, 47, 0.3), /* Verde oliva con trasparenza in basso */
        rgba(0, 0, 0, 0.1) 50%,
        rgba(212, 175, 55, 0.1) /* Oro brunito con trasparenza in alto */
    );
    z-index: 1;
    pointer-events: none;
    transition: all 0.4s ease;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: auto; /* Auto height per mantenere l'aspect ratio originale */
    min-height: 300px; /* Altezza minima per evitare immagini troppo piccole */
    display: block;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: saturate(1.05); /* Leggero aumento della saturazione */
}

.about-image:hover img {
    transform: scale(1.05); /* Effetto hover più evidente */
    filter: saturate(1.15) brightness(1.05); /* Aumenta saturazione e luminosità */
}

.about-image:hover::before {
    border-color: rgba(212, 175, 55, 0.8);
}

.about-image:hover::after {
    background: linear-gradient(to top, 
        rgba(85, 107, 47, 0.2),
        rgba(0, 0, 0, 0.05) 50%,
        rgba(212, 175, 55, 0.15)
    );
}

/* Media query per tablet e desktop */
@media screen and (min-width: 768px) {
    .about-section {
        padding: 100px 0 80px; /* Padding verticale più grande su desktop */
    }
    
    .about-content {
        flex-direction: row; /* Layout a due colonne su desktop */
        align-items: center;
        gap: 4rem;
        padding: 3.5rem;
    }
    
    .about-text {
        flex: 1; /* Cambiato a 1 per proporzione uguale */
        padding-right: 2rem;
    }
    
    .about-image {
        flex: 1; /* Cambiato a 1 per proporzione uguale */
        margin: 0;
        height: 100%;
        min-height: 400px;
        max-height: 500px;
    }
    
    .about-image img {
        min-height: 400px;
        height: 100%;
        object-position: center; /* Allineamento dell'immagine */
    }
    
    .about-text p {
        font-size: 1.15rem; /* Testo più grande su desktop */
        padding-left: 15px;
    }
    
    .about-text p:first-of-type {
        font-size: 1.25rem;
    }
    
    .about-text h2 {
        font-size: 2.6rem; /* Titolo più grande su desktop */
        margin-bottom: 2rem;
        padding-bottom: 1.2rem;
    }
    
    .about-text h2::before {
        font-size: 4.5rem;
        top: -40px;
        left: -30px;
    }
    
    .quote-callout {
        font-size: 1.3rem;
        padding: 2.5rem 3rem;
        max-width: 90%;
    }
}

/* Media query per schermi più grandi */
@media screen and (min-width: 1200px) {
    .about-section {
        padding: 120px 0 100px;
    }
    
    .about-content {
        gap: 6rem;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding: 4rem;
    }
    
    .about-text h2 {
        font-size: 2.8rem;
    }
    
    .about-image {
        min-height: 450px;
        max-height: 550px;
    }
    
    .about-image img {
        min-height: 450px;
    }
    
    .quote-callout {
        margin: 3rem auto;
    }
}

/* Ottimizzazione mobile specifica per l'immagine */
@media screen and (max-width: 767px) {
    .about-image {
        margin: 2.5rem auto 1rem;
        max-height: none;
        height: auto;
    }
    
    .about-image img {
        min-height: 250px;
        max-height: 450px;
    }
    
    .about-content {
        padding: 2rem 1.5rem;
    }
}

/* 
* Sezione Servizi Offerti
* Stile innovativo, originale e focalizzato sul testo
*/

/* Background elegante per la sezione servizi */
.services-section {
    background: linear-gradient(to bottom, #f9f6f0, #fff);
    padding: 90px 0 70px;
    color: #333;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 10%, rgba(212, 175, 55, 0.07) 5%, transparent 8%),
        radial-gradient(circle at 90% 90%, rgba(85, 107, 47, 0.06) 5%, transparent 8%),
        radial-gradient(circle at 60% 20%, rgba(212, 175, 55, 0.05) 3%, transparent 6%);
    background-size: 120px 120px;
    opacity: 0.8;
    z-index: 0;
    animation: backgroundPatternShift 20s infinite linear;
}

@keyframes backgroundPatternShift {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 120px 120px;
    }
}

/* Contenitore con sfondo trasparente per garantire la leggibilità del testo */
.services-section .container {
    position: relative;
    z-index: 1;
}

/* Intestazione con stile elegante e distintivo */
.services-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 950px;
    position: relative;
    padding: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.services-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.7), transparent);
    border-radius: 3px;
}

.services-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.7), transparent);
    border-radius: 3px;
}

.services-header h2 {
    font-family: "Merriweather", serif;
    color: #556B2F;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8), -1px -1px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    padding-bottom: 1.2rem;
    display: inline-block;
}

.services-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 2px;
    background: rgba(212, 175, 55, 0.5);
}

.services-header p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Layout griglia con card eleganti e moderne */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin: 3rem auto 4.5rem;
    max-width: 1200px;
}

/* Card servizi ripensate con design elegante e raffinato */
.service-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 5px rgba(0, 0, 0, 0.02);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.8rem;
    align-items: start;
    text-align: left;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(212, 175, 55, 0.05);
    overflow: hidden;
}

/* Effetto decorativo sul bordo delle card */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.7), rgba(85, 107, 47, 0.5));
    transition: all 0.3s ease;
}

/* Contenitore colore dietro l'icona */
.service-card::after {
    content: '';
    position: absolute;
    top: 1.8rem;
    left: 1.8rem;
    width: 80px;
    height: 80px;
    background-color: rgba(212, 175, 55, 0.1); /* Oro brunito con trasparenza */
    border-radius: 50%; /* Icone SVG/PNG tonde in oro */
    z-index: 0;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(0, 0, 0, 0.03);
    border-color: rgba(212, 175, 55, 0.15);
}

.service-card:hover::before {
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.8), rgba(85, 107, 47, 0.6));
}

.service-card:hover::after {
    background-color: rgba(212, 175, 55, 0.15); /* Oro brunito con trasparenza maggiore al hover */
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2), 0 6px 12px rgba(85, 107, 47, 0.05); /* Effetto glow dorato */
    transform: scale(1.15);
}

/* Icone servizi eleganti */
.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0px 3px 5px rgba(212, 175, 55, 0.25));
    /* Filter per dare un tono dorato alle icone */
    filter: sepia(30%) saturate(1100%) hue-rotate(5deg) brightness(100%);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(3deg);
    filter: sepia(30%) saturate(1300%) hue-rotate(5deg) brightness(110%) drop-shadow(0px 4px 8px rgba(212, 175, 55, 0.35));
    animation: iconShine 1.5s infinite alternate;
}

@keyframes iconShine {
    0% {
        filter: sepia(30%) saturate(1300%) hue-rotate(5deg) brightness(110%) drop-shadow(0px 4px 8px rgba(212, 175, 55, 0.35));
    }
    100% {
        filter: sepia(30%) saturate(1350%) hue-rotate(8deg) brightness(115%) drop-shadow(0px 5px 10px rgba(212, 175, 55, 0.45));
    }
}

/* Contenitore testo */
.service-card-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Titoli con stile più elegante e raffinato */
.service-card h3 {
    font-family: "Merriweather", serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #556B2F;
    position: relative;
    padding-bottom: 0.8rem;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

/* Linea decorativa sotto il titolo */
.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.8), rgba(212, 175, 55, 0.3));
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: #3c4e14; /* Verde più scuro e ricco al passaggio del mouse */
}

.service-card:hover h3::after {
    width: 70px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.9), rgba(212, 175, 55, 0.4));
}

/* Paragrafi più eleganti e leggibili */
.service-card p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 0;
    padding-left: 10px;
    border-left: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.service-card:hover p {
    color: #333; /* Testo più scuro al passaggio del mouse per maggiore leggibilità */
    border-left-color: rgba(212, 175, 55, 0.4);
}

/* CTA Section elegante */
.services-cta {
    background: linear-gradient(135deg, #fcf8ee, #f8f3df);
    padding: 70px 40px;
    border-radius: 16px;
    text-align: center;
    margin: 5rem auto 3rem;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 20px 50px rgba(85, 107, 47, 0.15), 0 8px 20px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.8), rgba(85, 107, 47, 0.4), rgba(212, 175, 55, 0.8));
    z-index: 1;
}

.services-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M20 1 L22 18 L39 20 L22 22 L20 39 L18 22 L1 20 L18 18 Z" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="1"/></svg>');
    background-size: 100px 100px;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
}

.services-cta h3 {
    font-family: "Merriweather", serif;
    color: #556B2F;
    font-size: 2.3rem;
    margin-bottom: 1.8rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    z-index: 1;
}

.services-cta h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.8), transparent);
}

.services-cta p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.18rem;
    line-height: 1.8;
    margin-bottom: 2.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #333;
    position: relative;
    z-index: 1;
}

.location-highlight {
    display: block;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: #556B2F;
    font-weight: 600;
    padding: 1rem;
    border-top: 1px dashed rgba(212, 175, 55, 0.3);
    border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
    background-color: rgba(255, 255, 255, 0.5);
    display: inline-block;
}

.location-highlight strong {
    font-weight: 700;
    font-size: 1.15rem;
    color: #3c4e14;
}

/* Bottoni CTA */
.services-cta .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 2rem auto 0;
    position: relative;
    z-index: 1;
}

.services-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.services-cta .btn-call {
    background: linear-gradient(135deg, #D4AF37, #b38d22);  /* Oro brunito */
    color: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25), 0 5px 10px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    color: #FFF;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.services-cta .btn-call:hover {
    background: linear-gradient(135deg, #c4a02e, #a58218);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.35), 0 8px 15px rgba(0, 0, 0, 0.08);
}

/* Effetto shine migliorato sui bottoni */
.services-cta .btn-call::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.services-cta .btn-call:hover::before {
    opacity: 1;
    left: 100%;
    animation: luxuryShine 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.services-cta .btn-call i {
    margin-right: 8px;
}

.services-cta .btn-outline {
    border: 2px solid rgba(85, 107, 47, 0.7);
    color: #3c4e14;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.services-cta .btn-outline:hover {
    background-color: rgba(85, 107, 47, 0.1);
    transform: translateY(-5px);
    border-color: rgba(85, 107, 47, 1);
    color: #2a3808;
    box-shadow: 0 10px 25px rgba(85, 107, 47, 0.2), 0 5px 10px rgba(0, 0, 0, 0.05);
}

/* Effetto shine sui bottoni outline */
.services-cta .btn-outline::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(85, 107, 47, 0) 0%, rgba(85, 107, 47, 0.1) 50%, rgba(85, 107, 47, 0) 100%);
    transform: rotate(30deg);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.services-cta .btn-outline:hover::before {
    opacity: 1;
    animation: shine 1.5s ease-in-out;
}

.contact-info .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 400px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-call {
    background-color: #556B2F;
    color: #fff;
    box-shadow: 0 4px 12px rgba(85, 107, 47, 0.2);
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    padding: 18px 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50px;
    text-align: center;
    width: 100%;
    font-weight: 600;
    z-index: 1;
    letter-spacing: 0.5px;
}

.btn-call::before {
    content: '\f095'; /* Telefono FontAwesome */
    font-family: 'Font Awesome 5 Free';
    margin-right: 10px;
}

.btn-call::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    z-index: -1;
}

.btn-call:hover {
    background-color: #c4a02e; /* Oro brunito più scuro */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-call:hover::after {
    animation: btn-shine 1.5s ease-in-out;
}

@keyframes btn-shine {
    100% {
        transform: translateX(100%);
    }
}

.btn-call:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(85, 107, 47, 0.3);
    transition: all 0.1s ease;
}

.btn-outline {
    border: 2px solid #556B2F;
    color: #556B2F;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #556B2F;
    color: #fff;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 18px 24px;
    font-size: 1.1rem;
    position: relative;
    font-weight: 600;
    border-radius: 50px;
    text-align: center;
    width: 100%;
    line-height: 1.3;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    letter-spacing: 0.5px;
}

.btn-whatsapp::before {
    content: '\f232'; /* WhatsApp Icon FontAwesome */
    font-family: 'Font Awesome 5 Brands';
    margin-right: 10px;
}

.btn-whatsapp::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    z-index: -1;
}

.btn-whatsapp:hover {
    background-color: #1ebf5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover::after {
    animation: btn-shine 1.5s ease-in-out;
}

.btn-whatsapp:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
    transition: all 0.1s ease;
}

/* Rimosso selettore duplicato */

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.btn-whatsapp:hover {
    background-color: #1ebf5a;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp:active::after {
    animation: ripple 0.6s ease-out;
}

.btn-whatsapp:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.4);
    transition: all 0.1s ease;
}

/* CTA sticky su mobile */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    justify-content: center;
}

/* Media query per tablet */
@media screen and (min-width: 768px) {
    .services-section {
        padding: 65px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* Due colonne su tablet */
        gap: 2rem;
    }
    
    .services-header h2 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        max-width: 450px;
    }
    
    .mobile-cta {
        display: none !important; /* Nascondi su tablet e desktop */
    }
}

/* Media query per desktop */
@media screen and (min-width: 1024px) {
    .services-section {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* Tre colonne su desktop */
    }
    
    .services-header h2 {
        font-size: 2.4rem;
    }
    
    .services-header p {
        font-size: 1.2rem;
    }
    
    .services-cta {
        padding: 50px;
    }
}

/* Media query per mobile - CTA sticky */
@media screen and (max-width: 767px) {
    .mobile-cta {
        display: flex;
    }
    
    body {
        padding-bottom: 60px; /* Spazio per la CTA sticky */
    }
}

/* 
* Sezione Testimonianze - Dicono di noi
* Stile caldo, autentico ed emozionale
*/

.testimonials-section {
    background-color: #FDF8E2; /* Crema chiaro come richiesto */
    padding: 70px 0 50px;
    position: relative;
}

/* Intestazione sezione */
.testimonials-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-header h2 {
    font-family: "Merriweather", serif;
    color: #556B2F;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.testimonials-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #D4AF37; /* Oro brunito */
    border-radius: 2px;
}

.testimonials-header p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
}

/* Griglia testimonianze */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

/* Card testimonianze */
.testimonial-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 6px 15px rgba(85, 107, 47, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border-left: 3px solid #D4AF37; /* Bordo oro brunito */
    background-image: linear-gradient(145deg, #fff, #FDF8E2 80%); /* Sfondo con sfumatura crema */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(85, 107, 47, 0.12);
    border-left: 5px solid #D4AF37; /* Bordo oro brunito più marcato */
}

/* Icona citazione */
.quote-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.2rem;
    opacity: 0.85;
    filter: sepia(60%) saturate(1500%) hue-rotate(10deg) brightness(90%); /* Filtro per dare un tono dorato alle icone */
}

/* Testo testimonianza */
.testimonial-card p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 10px; /* Spazio per la barra decorativa */
}

.testimonial-card p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background-color: rgba(212, 175, 55, 0.3); /* Barra verticale oro con trasparenza */
    border-radius: 2px;
}

/* Meta informazioni (autore e avatar) */
.testimonial-meta {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.4); /* Oro brunito con trasparenza */
    background-color: #eee; /* Placeholder color */
}

.testimonial-author {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    color: #556B2F; /* Verde oliva scuro */
    font-size: 0.95rem;
}

/* CTA Finale */
.testimonial-cta {
    background-color: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(85, 107, 47, 0.12);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border: none; /* Rimuoviamo il bordo precedente */
    background-image: linear-gradient(170deg, #FDF8E2, #fff); /* Sfumatura crema verso bianco */
}

.testimonial-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #D4AF37, #556B2F, #D4AF37); /* Gradiente oro-verde-oro */
    border-radius: 16px 16px 0 0;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3); /* Ombra dorata */
}

.testimonial-cta h3 {
    font-family: "Merriweather", serif;
    color: #556B2F;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.testimonial-cta p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 1.8rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Media query per tablet */
@media screen and (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-header h2 {
        font-size: 2.4rem;
    }
    
    .testimonial-cta {
        padding: 3rem;
    }
}

/* Media query per desktop */
@media screen and (min-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 
* Sezione FAQ - Domande Frequenti
* Stile pulito, sobrio ed elegante
*/

.faq-section {
    background-color: #fff;
    padding: 70px 0 60px;
    position: relative;
}

/* Intestazione sezione */
.faq-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-header h2 {
    font-family: "Merriweather", serif;
    color: #556B2F;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.faq-header p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

/* Contenitore FAQ */
.faq-container {
    max-width: 850px;
    margin: 0 auto 3rem;
}

/* Singolo item FAQ */
.faq-item {
    border-bottom: 1px solid rgba(85, 107, 47, 0.2);
    margin-bottom: 0.5rem;
}

/* Stile della domanda */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    font-family: "Open Sans", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #556B2F;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #88B04B;
}

.faq-question:focus {
    outline: none;
    color: #88B04B;
}

/* Icona + / - */
.faq-question .icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 1rem;
    font-weight: 300;
    color: #D4AF37; /* Oro brunito */
}

/* Rotazione icona quando espansa */
.faq-question[aria-expanded="true"] .icon {
    transform: rotate(45deg);
}

/* Contenitore risposta */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1rem 0 0;
    opacity: 0;
}

/* Stile risposta espansa */
.faq-answer.active {
    max-height: 250px; /* Altezza massima della risposta */
    opacity: 1;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    max-width: 700px;
}

/* CTA finale */
.faq-cta {
    text-align: center;
    padding: 2.5rem;
    max-width: 750px;
    margin: 4rem auto 0;
    border-top: 2px solid rgba(212, 175, 55, 0.3); /* Oro brunito con trasparenza */
    background-color: rgba(253, 248, 226, 0.3); /* Sfondo crema chiaro con trasparenza */
    border-radius: 10px;
}

.faq-cta h3 {
    font-family: "Merriweather", serif;
    color: #556B2F;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.faq-cta p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 1.8rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive tweaks */
@media screen and (max-width: 768px) {
    .faq-question {
        padding: 1.25rem 0;
        font-size: 1.1rem;
    }
    
    .faq-answer p {
        font-size: 1rem;
    }
    
    .faq-cta {
        padding: 2rem 1rem;
    }
}

/* 
* Sezione Contatti
* Layout elegante, accogliente e informativo
*/

.contact-section {
    background-color: #FDF8E2; /* Crema chiaro come richiesto */
    padding: 70px 0 60px;
    position: relative;
}

/* Wrapper contatti a due colonne */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Contenitore info contatti */
.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-family: "Merriweather", serif;
    color: #556B2F;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.contact-info p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Lista contatti */
.contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.contact-list li {
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    filter: sepia(20%) saturate(1000%) hue-rotate(10deg) brightness(95%); /* Filtro per dare un tono dorato alle icone */
}

.contact-list li a {
    color: #556B2F; /* Verde oliva scuro */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-list li a:hover {
    color: #D4AF37; /* Oro brunito */
    text-decoration: underline;
    transform: translateY(-1px);
}

.whatsapp-link {
    color: #25D366 !important;
    background-color: rgba(37, 211, 102, 0.1);
    padding: 4px 10px;
    border-radius: 50px; /* Bottoni arrotondati (raggio 50px) */
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(37, 211, 102, 0.15);
}

.whatsapp-link:hover {
    background-color: rgba(37, 211, 102, 0.2);
    color: #1da851 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* Foto contatti */
.contact-photo {
    flex: 1;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.contact-photo img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.contact-photo:hover img {
    transform: scale(1.03);
}

.contact-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(85, 107, 47, 0.9), rgba(85, 107, 47, 0)); /* Gradiente verde oliva */
    padding: 20px;
    box-sizing: border-box;
}

.contact-photo-caption p {
    color: #fff;
    margin: 0;
    font-family: "Merriweather", serif;
    font-size: 1.2rem;
    font-style: italic;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Modulo contatti opzionale (nascosto di default) */
.contact-form {
    display: none; /* Nascosto per impostazione predefinita */
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 500px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid rgba(85, 107, 47, 0.3);
    border-radius: 8px;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #D4AF37; /* Oro brunito */
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3); /* Leggera ombra oro */
}

/* Footer Style */
.site-footer {
    background-color: #556B2F; /* Verde oliva scuro */
    padding: 60px 0 20px;
    color: #FDF8E2; /* Crema chiaro */
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    font-family: "Merriweather", serif;
    color: #D4AF37; /* Oro brunito */
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-info p {
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-col h4 {
    font-family: "Merriweather", serif;
    color: #D4AF37; /* Oro brunito */
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: rgba(212, 175, 55, 0.5); /* Oro brunito con trasparenza */
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #FDF8E2; /* Crema chiaro */
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-col ul li a:before {
    content: '›';
    position: absolute;
    left: 0;
    color: rgba(212, 175, 55, 0.7); /* Oro brunito */
    font-size: 1.2rem;
    line-height: 0.8;
}

.footer-col ul li a:hover {
    color: #D4AF37; /* Oro brunito */
    text-decoration: none;
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.3); /* Oro brunito con trasparenza */
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.footer-bottom p {
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    color: rgba(253, 248, 226, 0.8); /* Crema chiaro con trasparenza */
}

.footer-credits a {
    color: #D4AF37; /* Oro brunito */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-credits a:hover {
    text-decoration: none;
    color: #FDF8E2; /* Crema chiaro al passaggio del mouse */
    text-shadow: 0 0 3px rgba(212, 175, 55, 0.5); /* Leggero bagliore oro */
}

/* Media query per tablet e desktop */
@media screen and (min-width: 768px) {
    .contact-wrapper {
        flex-direction: row;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 4rem;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .whatsapp-text {
        display: inline-block;
    }
}

/* Pulsante WhatsApp Flottante */
.whatsapp-float {
    position: fixed;
    width: auto;
    height: auto;
    padding: 14px 22px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(to right, #D4AF37, #c4a02e); /* Gradiente oro brunito sostituisce il verde WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(212, 175, 55, 0.3); /* Ombra con bordo dorato */
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5), 0 0 0 0 rgba(212, 175, 55, 0.3);
    }
    40% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0), 0 0 0 5px rgba(212, 175, 55, 0.1);
    }
    80% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0), 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0), 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.whatsapp-float:hover {
    background: linear-gradient(to right, #dabb51, #D4AF37); /* Gradiente oro brunito inverso */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(212, 175, 55, 0.3); /* Ombra con bordo dorato più marcato */
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
}

.whatsapp-float:active {
    transform: translateY(-2px);
    background: linear-gradient(to right, #c4a02e, #b38d22); /* Gradiente oro brunito più scuro */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(212, 175, 55, 0.2);
    transition: all 0.1s ease;
}

.whatsapp-icon {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
}

.whatsapp-text {
    display: none;
}

@media screen and (max-width: 480px) {
    .whatsapp-float {
        padding: 10px;
        border-radius: 50%;
        right: 20px;
        bottom: 20px;
    }
}

/* 
* Sezione Galleria Fotografica
* Stile per una galleria semplice e responsive 
*/

.gallery-section {
    padding: 70px 0;
    background-color: #f9f9f9;
    position: relative;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header h2 {
    font-family: "Merriweather", serif;
    color: #556B2F;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.gallery-header p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    color: #444;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 0;
    padding-bottom: 70%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.03);
}

/* Media query per tablet (2 colonne) */
@media screen and (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Media query per desktop (3 colonne) */
@media screen and (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .gallery-header h2 {
        font-size: 2.5rem;
    }
}

/* Fine della sezione galleria */

/* Lightbox per la galleria fotografica */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 10px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    max-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.lightbox.active .lightbox-image {
    transform: scale(1);
    opacity: 1;
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    padding: 10px 0;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.active .lightbox-caption {
    opacity: 1;
    transform: translateY(0);
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    transition: 0.3s ease;
    z-index: 10;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0.7;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    opacity: 1;
    background-color: rgba(85, 107, 47, 0.8);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover, .lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Assicurarsi che le immagini della galleria abbiano il cursore a puntatore */
.gallery-item {
    cursor: pointer;
}

/* Responsive per mobile */
@media screen and (max-width: 768px) {
    .lightbox-content {
        width: 95%;
    }
    
    .lightbox-close, .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
    }
}
