/* ============================= */
/* GENERALE / RESET */
/* ============================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Montserrat', sans-serif;
    color:#333;
    line-height:1.6;
    scroll-behavior:smooth;
}

/* ============================= */
/* HEADER / MENU */
/* ============================= */
header{
    background:#2e5d2e; /* verde scuro */
    padding:15px 0;
    position:sticky;
    top:0;
    z-index:1000;
    backdrop-filter: blur(6px); /* leggero effetto trasparenza */
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:90%;
    margin:auto;
}

.logo a{
    color:#e6f0e6; /* bianco verdastro chiaro */
    text-decoration:none;
    font-family:'Playfair Display', serif;
    font-size:22px;
    font-weight:600;
}

nav ul{
    list-style:none;
    display:flex;
    gap:25px;
}

nav ul li a{
    color:#e6f0e6;
    text-decoration:none;
    font-weight:500;
    transition:0.3s;
}

nav ul li a:hover{
    color:#a8d5a2; /* verde chiaro brillante */
}

/* Menu toggle hamburger per mobile */
.menu-toggle{
    display:none;
    font-size:28px;
    color:#e6f0e6;
    cursor:pointer;
}

/* ============================= */
/* HERO / SLIDER */
/* ============================= */
.hero{
    height:100vh;
    position:relative;
    overflow:hidden;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 1.5s ease-in-out;
}

.slide.active{opacity:1;}

.hero-overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.4);
}

.hero-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    color:white;
    text-align:center;
    z-index:2;
}

.hero-content h1{
    font-size:55px;
    font-family:'Playfair Display', serif;
}

.hero-content p{
    margin-top:20px;
    font-size:20px;
}

/* ============================= */
/* SECTIONS GENERALI */
/* ============================= */
section{
    padding:100px 10%;
}

.light{
    background:#f5f5f5;
}

h2, h1{
    font-family:'Playfair Display', serif;
    margin-bottom:30px;
}
h2{
    font-family:'Playfair Display', serif;
    margin-bottom:28px;
}
h3 {
    font-family: 'Montserrat', sans-serif; /* nuovo font */
    color: #2e485d; /* verde scuro */
    margin-bottom: 20px;
}

/* ============================= */
/* GALLERY */
/* ============================= */
.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.gallery img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:10px;
    transition:0.4s;
}

.gallery img:hover{
    transform:scale(1.05);
}

/* ============================= */
/* FORM CONTATTI */
/* ============================= */
form{
    max-width:600px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:20px;
    background:#f9f9f9;
    padding:30px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

input, textarea{
    padding:14px 16px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
    width:100%;
    transition:border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus{
    border-color:#2e5d2e;
    box-shadow:0 0 8px rgba(46,93,46,0.3);
    outline:none;
}

button{
    background:#2e5d2e;
    color:white;
    padding:14px;
    font-size:16px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
    font-weight:bold;
}

button:hover{
    background:#355c35;
}

/* ============================= */
/* MAP GOOGLE */
/* ============================= */
.map{
    margin-top:40px;
    border-radius:12px;
    overflow:hidden;
}

.map iframe{
    width:100%;
    height:350px;
    border:0;
    border-radius:12px;
}

/* ============================= */
/* FOOTER RIPROGETTATO */
/* ============================= */
footer{
    background:#1e3a1e; /* verde scuro elegante */
    color:#e6f0e6;      /* testo chiaro verdastro per contrasto */
    text-align:center;
    padding:40px 10%;
    border-top: 3px solid #355c35; /* piccolo dettaglio elegante */
    font-size: 14px;
    line-height:1.6;
}

/* Link nel footer */
footer a{
    color:#a8d5a2; /* verde chiaro */
    text-decoration:none;
    transition:0.3s;
}

footer a:hover{
    color:#f0fff0; /* leggero effetto chiaro */
}

/* Mobile responsive */
@media(max-width:768px){
    footer{
        padding:30px 5%;
        font-size:13px;
    }
}


/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media(max-width:768px){
    nav ul{
        display:none;
        flex-direction:column;
        background:#2e5d2e; /* verde mobile */
        position:absolute;
        top:60px;
        right:20px;
        padding:20px;
        border-radius:8px;
    }
    nav ul.show{display:flex;}
    .menu-toggle{display:block;}
    
    section{
        padding:60px 5%;
    }

    .hero-content h1{
        font-size:35px;
    }
}
/* HERO SLIDER */
.hero{
    height:100vh;
    position:relative;
    overflow:hidden;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 1.5s ease-in-out;
}

.slide.active{
    opacity:1;
}

.hero-overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.4);
}

.hero-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    color:white;
    text-align:center;
    z-index:2;
}

.hero-content h1{
    font-size:55px;
    font-family:'Playfair Display', serif;
}

.hero-content p{
    margin-top:20px;
    font-size:20px;
}
