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

body {
    font-family: 'Montserrat', Arial, sans-serif; /* Font moderno e pulito */
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9; /* Sfondo chiaro e moderno */
}

/* Contenitore principale con margini sinistro e destro */
.container {
    max-width: 1200px; /* Larghezza massima per un layout equilibrato */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

/* Header con effetto wow */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298); /* Gradiente moderno */
    background-size: cover;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1.5s ease-in-out; /* Animazione di ingresso */
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/hero-image.jpg') no-repeat center;
    background-size: cover;
    opacity: 0.3; /* Sfondo immagine attenuato */
    z-index: 0;
}

.header > .container {
    position: relative;
    z-index: 1;
}

.logo {
    max-width: 250px; /* Logo più grande per impatto */
    margin-bottom: 20px;
    transition: transform 0.3s ease; /* Animazione al passaggio del mouse */
}

.logo:hover {
    transform: scale(1.1); /* Effetto zoom al hover */
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Ombra per leggibilità */
}

.header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Sezioni con margini e stili moderni */
.villa-section, .suite-section, .map-section, .booking-section, .contact-section {
    padding: 60px 0;
    background-color: white;
    border-radius: 10px; /* Angoli arrotondati */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Ombra leggera */
    margin-bottom: 30px;
    animation: slideUp 1s ease-out; /* Animazione di entrata */
}

.villa-section h2, .suite-section h2, .map-section h2, .booking-section h2, .contact-section h2 {
    font-size: 2rem;
    color: #2a5298;
    margin-bottom: 30px;
    text-align: center;
}

/* Caroselli con effetto wow */
.carousel-item img {
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease; /* Transizione per zoom */
}

.carousel-item:hover img {
    transform: scale(1.05); /* Zoom al passaggio del mouse */
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(42, 82, 152, 0.8); /* Colore coordinato */
    border-radius: 50%;
}

/* Suites layout */
.suite-section .col-md-4 {
    padding: 15px;
}

.suite-section h3 {
    font-size: 1.5rem;
    color: #1e3c72;
    margin-bottom: 15px;
}

/* Mappa */
.map-section iframe {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Prenotazioni */
.booking-section select, .booking-section input {
    margin-bottom: 15px;
}

.booking-section button {
    background-color: #2a5298;
    border: none;
    padding: 10px 20px;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.booking-section button:hover {
    background-color: #1e3c72;
}

/* Contatti */
.contact-section form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-section .whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-section .whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
}

/* Footer */
footer {
    background-color: #1e3c72;
    color: white;
    padding: 20px 0;
    margin-top: 30px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #f9f9f9;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #25D366;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    background-color: #2a5298;
    color: white;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    animation: slideUp 1s ease-out;
}

#cookie-banner button {
    background-color: #25D366;
    border: none;
    padding: 5px 15px;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#cookie-banner button:hover {
    background-color: #1ebe57;
}

/* Animazioni */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 60px 0;
    }
    .logo {
        max-width: 180px;
    }
    .header h1 {
        font-size: 2rem;
    }
    .header p {
        font-size: 1rem;
    }
    .villa-section, .suite-section, .map-section, .booking-section, .contact-section {
        padding: 40px 0;
    }
    .carousel-item img {
        max-height: 250px;
    }
    .contact-section .whatsapp-btn {
        bottom: 10px;
        right: 10px;
        padding: 10px 20px;
    }
}