/* 
* Casa Famiglia Quercia - Hero Section Styles
* 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;
}

/* 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 scuro per leggibilità */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Contenuto Hero */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    text-align: center;
    padding: 1rem;
}

/* Tipografia */
h1 {
    font-size: 2.2rem; /* Mobile: 2.2rem */
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h2 {
    font-size: 1.2rem; /* Mobile: 1.2rem */
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Bottone CTA */
.cta-button {
    display: inline-block;
    background-color: #88B04B;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.cta-button:hover, .cta-button:focus {
    background-color: #6e8f3a;
}

/* 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 12px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

/* Media queries per responsive design */
@media screen and (min-width: 768px) {
    .hero-content {
        max-width: 80%;
    }
    
    h1 {
        font-size: 3.2rem; /* Desktop: 3.2rem */
    }
    
    h2 {
        font-size: 1.6rem; /* Desktop: 1.6rem */
    }
    
    /* Disattiva sticky CTA su desktop */
    .cta-sticky {
        position: static;
        transform: none;
        width: auto;
        box-shadow: none;
    }
}

/* 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 calda, accogliente e familiare
*/

/* Layout base e contenitore */
.about-section {
    background-color: #FDF8E2; /* Colore crema chiaro */
    padding: 40px 0; /* Padding verticale su mobile */
    color: #333; /* Grigio carbone per il testo */
}

.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: 2rem;
}

/* Stili testo */
.about-text h2 {
    font-family: "Merriweather", serif;
    color: #556B2F; /* Verde oliva scuro */
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Stile citazione callout */
.quote-callout {
    background-color: #fff;
    border-left: 4px solid #88B04B;
    padding: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    font-family: "Merriweather", serif;
    font-size: 1.1rem;
    line-height: 1.6;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Immagine responsive */
.about-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.01); /* Leggero effetto hover */
}

/* Media query per tablet e desktop */
@media screen and (min-width: 768px) {
    .about-section {
        padding: 80px 0; /* Padding verticale più grande su desktop */
    }
    
    .about-content {
        flex-direction: row; /* Layout a due colonne su desktop */
        align-items: center;
    }
    
    .about-text {
        flex: 1;
        padding-right: 2rem;
    }
    
    .about-image {
        flex: 1;
    }
    
    .about-text p {
        font-size: 1.2rem; /* Testo più grande su desktop */
    }
    
    .about-text h2 {
        font-size: 2.4rem; /* Titolo più grande su desktop */
    }
}

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

/* Background pattern decorativo per la sezione */
.services-section {
    background-color: #fff;
    padding: 70px 0 50px; /* Più spazio sopra */
    color: #333;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(136, 176, 75, 0.03) 25%, transparent 25%, transparent 50%, rgba(136, 176, 75, 0.03) 50%, rgba(136, 176, 75, 0.03) 75%, transparent 75%);
    background-size: 60px 60px;
    opacity: 0.8;
    z-index: 0;
}

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

/* Intestazione con stile letterpress sottile */
.services-header {
    text-align: left;
    margin-bottom: 4rem;
    max-width: 850px;
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid #88B04B;
}

.services-header h2 {
    font-family: "Merriweather", serif;
    color: #556B2F;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8), -1px -1px 0 rgba(0, 0, 0, 0.05); /* Effetto letterpress sottile */
}

.services-header p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
    font-weight: 400;
    max-width: 700px;
}

/* Layout griglia asimmetrica per un aspetto più dinamico */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 3.5rem;
}

/* Card servizi ripensate completamente */
.service-card {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
    align-items: start;
    text-align: left;
    position: relative;
    transition: transform 0.3s ease;
}

/* Contenitore colore solo dietro l'icona */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background-color: rgba(253, 248, 226, 0.8);
    border-radius: 12px;
    z-index: -1;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateX(6px);
}

.service-card:hover::before {
    background-color: rgba(253, 248, 226, 1);
    box-shadow: 0 6px 12px rgba(85, 107, 47, 0.1);
    transform: scale(1.1) rotate(3deg);
}

/* Icone servizi */
.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(1px 1px 0 rgba(255, 255, 255, 0.8));
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    filter: drop-shadow(2px 3px 3px rgba(0, 0, 0, 0.1));
}

/* Contenitore testo */
.service-card-content {
    display: flex;
    flex-direction: column;
}

/* Titoli con stile più elegante e distintivo */
.service-card h3 {
    font-family: "Merriweather", serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #556B2F;
    position: relative;
    padding-bottom: 0;
    letter-spacing: -0.01em;
}

/* Rimuoviamo la linea dopo il titolo per un look più pulito */
.service-card h3::after {
    display: none;
}

/* Testo più grande e leggibile */
.service-card p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-top: 0.3rem;
}

/* CTA Section */
.services-cta {
    background-color: #fffbe9; /* Crema più leggero come nello screenshot */
    padding: 60px 40px;
    border-radius: 0;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(85, 107, 47, 0.1);
    border-bottom: 1px solid rgba(85, 107, 47, 0.1);
    box-shadow: none;
}

.services-cta h3 {
    font-family: "Merriweather", serif;
    color: #556B2F;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

.location-highlight {
    display: block;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: #556B2F;
    font-weight: 600;
}

.location-highlight strong {
    font-weight: 700;
    font-size: 1.05rem;
}

/* Bottoni CTA */
.services-cta .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 340px;
    margin: 0 auto;
}

.services-cta .btn-call {
    background-color: #556B2F;
    border-radius: 6px;
    box-shadow: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 20px;
    letter-spacing: normal;
}

.services-cta .btn-call:hover {
    background-color: #465825;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(85, 107, 47, 0.2);
}

.services-cta .btn-call::before {
    content: none;
}

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

.services-cta .btn-outline {
    border: 1px solid #556B2F;
    color: #556B2F;
    background-color: transparent;
    border-radius: 6px;
    font-size: 1rem;
    padding: 14px 20px;
    box-shadow: none;
}

.services-cta .btn-outline:hover {
    background-color: rgba(85, 107, 47, 0.05);
    transform: translateY(-2px);
}

.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: #64802e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(85, 107, 47, 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: #F3F8F3; /* Verde molto chiaro */
    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: #88B04B;
    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 12px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Icona citazione */
.quote-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.2rem;
    opacity: 0.85;
}

/* Testo testimonianza */
.testimonial-card p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* 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(136, 176, 75, 0.3);
    background-color: #eee; /* Placeholder color */
}

.testimonial-author {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

/* CTA Finale */
.testimonial-cta {
    background-color: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #88B04B, #556B2F);
    border-radius: 16px 16px 0 0;
}

.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 Contatti
* Layout elegante, accogliente e informativo
*/

.contact-section {
    background-color: #F3F8F3; /* Verde chiaro molto tenue */
    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;
}

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

.contact-list li a:hover {
    color: #88B04B;
    text-decoration: underline;
}

.whatsapp-link {
    color: #25D366 !important;
    background-color: rgba(37, 211, 102, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.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(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    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: #88B04B;
    box-shadow: 0 0 0 2px rgba(136, 176, 75, 0.2);
}

/* Footer Style */
.site-footer {
    background-color: #EAEAEA;
    padding: 60px 0 20px;
    color: #555;
}

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

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

.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: #556B2F;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

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

.footer-col ul li a {
    color: #555;
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #88B04B;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(85, 107, 47, 0.2);
    padding-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: #777;
}

.footer-credits a {
    color: #556B2F;
    text-decoration: none;
}

.footer-credits a:hover {
    text-decoration: underline;
}

/* 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-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    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.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    background-color: #1ebf5a;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-8px) scale(1.05);
}

.whatsapp-float:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 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;
    }
}

/* 
* Sezione Contatti - Segue alla sezione FAQ 
*/

