* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
body {
    background-color: #FFFFFF;
    color: #333333;
    line-height: 1.6;
}
header {
    background: linear-gradient(135deg, rgba(43,122,140,0.5) 0%, rgba(58,168,193,0.5) 100%), 
        url('Img/copertina.jpg') center/cover;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.logo { font-size: 4rem; margin-bottom: 1rem; }
.logo span { color: #F5E7C1; }
.tagline { font-size: 1.5rem; margin-bottom: 2rem; }

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    padding: 20px 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}
.logo-small { font-size: 1.5rem; color: #2B7A8C; }
.logo-small span { color: #FF7E6B; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { color: #2B7A8C; text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: #FF7E6B; }

.btn {
    display: inline-block;
    background: #FF7E6B;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    border: none;
}
.btn:hover { background: #ff5a42; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid white; margin-left: 15px; }
.btn-outline:hover { background: white; color: #2B7A8C; }

section { padding: 80px 30px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: #2b7a8c; }
.section-title h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #FF7E6B;
    margin: 15px auto 0;
}

.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image img { width: 100%; border-radius: 10px; }

.amenities { background: #F8F9FA; }
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.amenity-category { background: white; padding: 25px; border-radius: 10px; }
.amenity-category h3 { color: #2B7A8C; margin-bottom: 15px; }
.amenity-category h3 i { color: #FF7E6B; margin-right: 10px; }
.amenity-list { list-style: none; }
.amenity-list li { padding-left: 20px; margin-bottom: 8px; position: relative; }
.amenity-list li:before { content: '✓'; position: absolute; left: 0; color: #3AA8C1; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-item { height: 250px; overflow: hidden; border-radius: 10px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }

.location-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.distance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 20px; }
.distance-item { background: #F8F9FA; padding: 15px; text-align: center; border-radius: 8px; border-left: 3px solid #3AA8C1; }
.map-container iframe { width: 100%; height: 300px; border-radius: 10px; }
.calendar-date.disabled {
    background-color: #f0f0f0 !important;
    color: #b0b0b0 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    text-decoration: line-through;
}
.calendar-date.booked {
    background-color: #b0b0b0 !important;
    color: white !important;
    cursor: not-allowed !important;
}
.booking-section { background: #F8F9FA; }
.calendar-container { background: white; border-radius: 10px; padding: 30px; max-width: 900px; margin: 0 auto; }
.calendar-navigation { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.calendar-navigation button { background: #3AA8C1; color: white; border: none; padding: 8px 20px; border-radius: 5px; cursor: pointer; font-size: 1rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 20px; }
.calendar-day { text-align: center; padding: 10px; font-weight: bold; color: #2B7A8C; }
.calendar-date {
    padding: 12px;
    text-align: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
}
.calendar-date:hover:not(.booked) { background: #A8D8EA; }
.calendar-date.booked {
    background: #f8d7da;
    color: #721c24;
    text-decoration: line-through;
    cursor: not-allowed;
}
.calendar-date.selected {
    background: #3AA8C1;
    color: white;
}
.calendar-date.selected-range {
    background: #A8D8EA;
}
.calendar-date.empty { background: transparent; border: none; cursor: default; }

.total-price {
    background: #e8f4f8;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    font-size: 1.3rem;
}
.total-price span { font-weight: bold; color: #FF7E6B; font-size: 1.8rem; }
.price-note {
    font-size: 0.8rem;
    color: rgba(51, 51, 51, 0.35);
    margin-top: 5px;
    font-weight: normal;
}


.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; color: #000000; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; }

.faq-item { margin-bottom: 15px; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.faq-question { padding: 18px; background: white; cursor: pointer; display: flex; justify-content: space-between; font-weight: 500; }
.faq-question:hover { background: #A8D8EA; }
.faq-answer { padding: 0 18px; max-height: 0; overflow: hidden; transition: 0.3s; }
.faq-answer.show { padding: 18px; max-height: 300px; }

.contact-section { background: linear-gradient(135deg, rgba(58,168,193,0.8), rgba(58,168,193,0.8)), url('Img/fotofinale.jpg') center/cover; color: white; }
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info p { margin: 15px 0; display: flex; align-items: center; gap: 10px; }
.contact-form input, .contact-form textarea { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: white; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.7); }

footer { background: #2B7A8C; color: white; padding: 50px 30px 20px; }
.footer-content { max-width: 1200pxc; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.social-links a { display: inline-block; background: rgba(255,255,255,0.2); padding: 10px; border-radius: 50%; margin-right: 10px; color: white; }
.copyright { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); }

/* Correggi il colore dei testi nel form di contatto e della sezione Contattaci */
.contact-section .section-title h2 {
    color: #FFFFFF !important;
}

.contact-section .form-group label {
    color: #FFFFFF !important;
}

.contact-section h3 {
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .about-content, .location-content, .contact-container { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}