/* --- RESET & CUSTOM PROPERTIES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #1a252f; /* Leggermente più scuro ed elegante */
    --accent-color: #b8860b; /* Goldenrod - Colore oro */
    --accent-hover: #966f0a;
    --text-color: #333333;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-soft: 0 15px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.12);
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    height: 80px;
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.nav-right {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 25px;
}

.nav-links {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
    flex-shrink: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Selettore Lingua con Bandiere */
.lang-selector-flags {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: 10px;
    border-left: 1px solid var(--border-color);
    padding-left: 20px;
}

.lang-flag img {
    width: 22px;
    height: auto;
    display: block;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, opacity 0.3s, box-shadow 0.3s;
    opacity: 0.5;
}

.lang-flag:hover img {
    transform: translateY(-2px);
    opacity: 0.8;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.lang-flag.active img {
    opacity: 1;
    transform: scale(1.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: 0.4s;
}

/* --- SEZIONI GENERALI --- */
section {
    padding: 100px 8% 60px 8%;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-alt { background-color: var(--bg-light); }

.section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    margin-top: 15px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

/* --- CAROSELLO HERO (BENVENUTI) --- */
#benvenuti {
    position: relative;
    min-height: 90vh;
    padding-top: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 3;
    pointer-events: none;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s ease-in-out, transform 5s linear;
    transform: scale(1.05); /* Effetto Ken Burns leggero */
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev { left: 40px; }
.carousel-arrow.next { right: 40px; }

.carousel-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

/* ==========================================
   --- FORM DI PRENOTAZIONE (MOLTO ELEGANTE) ---
   ========================================== */
.booking-container {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 1100px;
    margin: -80px auto 60px auto;
    z-index: 20;
    position: relative;
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Stile raffinato per le Label */
.form-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--accent-color);
    font-size: 14px;
}

/* Stile raffinato per Input e Select (Minimal/Material) */
.form-group input, 
.form-group select {
    padding: 12px 16px;
    border: none;
    border-bottom: 2px solid var(--border-color);
    background-color: #fafafa;
    border-radius: 6px 6px 0 0;
    font-size: 15px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    width: 100%;
    appearance: none; /* Rimuove lo stile di default del browser */
}

/* Effetto Focus Elegante */
.form-group input:focus, 
.form-group select:focus {
    outline: none;
    background-color: var(--bg-light);
    border-bottom-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.08); /* Bagliore dorato leggerissimo */
}

/* Customizzazione Select per far apparire la freccia */
.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8860b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

/* Sezione Camere all'interno del form */
.rooms-section-title {
    margin: 20px 0 15px 0;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rooms-section-title i {
    color: var(--accent-color);
}

.room-selection-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 15px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.room-selection-row:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.camera-select-group { flex: 3; }
.ospiti-counter-group { flex: 1; min-width: 120px; }
.actions-group { flex: 0; padding-bottom: 8px; }

/* Contatore ospiti */
.counter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
    border-bottom: 2px solid var(--border-color);
    border-radius: 6px 6px 0 0;
    padding: 5px 10px;
}

.btn-counter {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--primary-color);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s, color 0.3s;
}

.btn-counter:not(:disabled):hover {
    background: var(--accent-color);
    color: var(--white);
}

.guests-count-display {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Pulsanti Form */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 30px; /* Bottone a pillola per eleganza */
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.4);
}

.btn-secondary {
    background-color: #e2e8f0;
    color: var(--text-color);
}

.btn-secondary:hover:not(:disabled) {
    background-color: #cbd5e1;
    transform: translateY(-2px);
}

.btn-remove-room {
    background: #fff;
    color: #e74c3c;
    border: 1px solid #fee2e2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-room:hover {
    background: #e74c3c;
    color: #fff;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.2);
}

/* --- FACILITIES --- */
.facilities-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-left: 3px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.facility-item:hover {
    transform: translateX(5px);
}

.facility-item i {
    font-size: 22px;
    color: var(--accent-color);
    width: 30px;
    text-align: center;
}

.facility-item span {
    font-weight: 500;
    color: var(--primary-color);
}

/* --- GRIGLIE LE CAMERE & IL BAR --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 30px;
}

.card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.02);
}

.card:hover { 
    transform: translateY(-10px); 
    box-shadow: var(--shadow-hover);
}

.card-img-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.card-gallery-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-gallery-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    cursor: zoom-in;
}

.card-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0; /* Visibile solo all'hover sulla card */
}

.card:hover .card-arrow { opacity: 1; }
.card-arrow:hover { background: var(--accent-color); color: var(--white); }
.card-arrow.prev { left: 15px; }
.card-arrow.next { right: 15px; }

.card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.card-content h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-features {
    list-style: none;
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-muted);
}

.card-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features i {
    color: var(--accent-color);
    font-size: 16px;
}

/* --- DOVE SIAMO / REGOLE --- */
.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
    align-items: start;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.airport-box {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.airport-box:hover {
    transform: translateX(5px);
}

.airport-box.main { 
    border-left-color: var(--accent-color); 
}

.airport-box h3 {
    font-size: 17px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.airport-box h3 i { color: var(--accent-color); }

.airport-list { list-style: none; }
.airport-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Nasconde la freccia standard di Safari/Chrome per details */
details summary::-webkit-details-marker { display: none; }
details summary { outline: none; }
details[open] summary .fa-chevron-down { transform: rotate(180deg); transition: transform 0.3s ease; }

/* --- LIGHTBOX (FOTO INGRANDITA) --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active { display: flex; opacity: 1; }

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    object-fit: contain;
}

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

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 3200;
    transition: color 0.3s, transform 0.3s;
}

.lightbox-close:hover { color: var(--accent-color); transform: scale(1.1); }

/* --- FOOTER --- */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 8% 30px 8%;
    font-size: 15px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-col ul li a:hover { 
    color: var(--white); 
    padding-left: 5px;
}

.footer-col i {
    margin-right: 12px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #718096;
    font-size: 14px;
}

/* ==========================================
   --- MEDIA QUERIES DISPOSITIVI MOBILI ---
   ========================================== */

@media screen and (min-width: 769px) and (max-width: 1300px) {
    .navbar { padding: 15px 3%; }
    .logo-text { font-size: 17px; }
    .nav-right { gap: 15px; }
    .nav-links li { margin-left: 15px; }
    .nav-links a { font-size: 13px; letter-spacing: 0.3px; }
    .lang-selector-flags { gap: 8px; padding-left: 12px; }
}

@media screen and (max-width: 992px) {
    .navbar { padding: 0 5%; }
    section { padding: 90px 5% 50px 5%; }
    .booking-container {
        width: 92%;
        padding: 30px;
        margin: -50px auto 40px auto;
    }
    .user-details-row { flex-direction: column; gap: 15px; }
}

@media screen and (max-width: 768px) {
    .navbar { height: 70px; padding: 0 20px; }
    .logo-text { font-size: 16px; }
    
    .menu-toggle { display: flex; }
    .nav-right {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 30px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .nav-right.active { right: 0; }
    .nav-links { flex-direction: column; align-items: center; gap: 25px; }
    .nav-links li { margin: 0; }
    .lang-selector-flags { border-left: none; padding-left: 0; margin-left: 0; }

    /* Animazione Hamburger */
    .menu-toggle.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

    /* Riduzione spazi ai bordi su tablet/mobile */
    section { padding: 85px 20px 40px 20px; }
    .section-title { font-size: 28px; }
    .section-subtitle { margin-bottom: 25px; }

    /* Form Mobile */
    .booking-container { width: 94%; padding: 25px 18px; margin: -40px auto 30px auto; }
    .room-selection-row { flex-direction: column; align-items: stretch; gap: 15px; padding: 15px; }
    .btn { width: 100%; }
    .booking-actions-row { flex-direction: column; }
    .btn-remove-room { align-self: flex-end; }

    .grid-container, .facilities-list-grid { grid-template-columns: 1fr; gap: 20px; }
    .card-content { padding: 20px; }
    .location-container { grid-template-columns: 1fr; gap: 20px; }
    .map-wrapper { min-height: 280px; order: 2; }
    .airport-box { padding: 18px; }

    /* Frecce carosello e card più vicine al bordo per non sprecare spazio */
    .carousel-arrow { width: 40px; height: 40px; font-size: 15px; }
    .carousel-arrow.prev { left: 12px; }
    .carousel-arrow.next { right: 12px; }
    .carousel-dots { bottom: 25px; }

    .card-arrow { width: 32px; height: 32px; opacity: 1; }
    .card-arrow.prev { left: 8px; }
    .card-arrow.next { right: 8px; }

    /* Lightbox più compatta sui bordi */
    .lightbox-content { max-width: 96%; max-height: 80vh; }
    .lightbox-close { top: 15px; right: 15px; font-size: 32px; }

    /* Footer */
    footer { padding: 60px 20px 25px 20px; }
    .footer-container { gap: 35px; margin-bottom: 35px; }
}

@media screen and (max-width: 480px) {
    .navbar { padding: 0 15px; }
    .logo-text { font-size: 14px; }

    section { padding: 75px 15px 30px 15px; }
    .section-title { font-size: 24px; }

    .booking-container { width: 96%; padding: 20px 14px; margin: -30px auto 25px auto; }
    .room-selection-row { padding: 12px; }

    .card-content { padding: 16px; }
    .airport-box { padding: 15px; }
    .map-wrapper { min-height: 220px; }

    .carousel-arrow { width: 34px; height: 34px; font-size: 13px; }
    .carousel-arrow.prev { left: 8px; }
    .carousel-arrow.next { right: 8px; }

    .lightbox-close { top: 10px; right: 10px; font-size: 28px; }
    .lightbox-arrow { width: 38px; height: 38px; }
    .lightbox-arrow.prev { left: 8px; }
    .lightbox-arrow.next { right: 8px; }

    footer { padding: 50px 15px 20px 15px; }
    .footer-container { gap: 25px; margin-bottom: 25px; }
}
/* --- RESET & CUSTOM PROPERTIES --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

:root {
    --primary-color: #1a252f;
    --accent-color: #b8860b;
    --accent-hover: #966f0a;
    --text-color: #333333;
    --white: #ffffff;
    --shadow-soft: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* ==========================================
   --- BANNER COOKIE GDPR COMPLIANT ---
   ========================================== */
.cookie-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 47, 0.85); /* Usa il primary color con opacità */
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cookie-banner-overlay.show {
    display: flex;
    opacity: 1;
}

.cookie-banner-content {
    background: var(--white);
    color: var(--text-color);
    width: 90%;
    max-width: 650px;
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-color);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.cookie-banner-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-banner-content p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.cookie-banner-content .btn {
    padding: 12px 20px;
    font-size: 13px;
    flex: 1;
    min-width: 140px;
}

.btn-text {
    background: transparent;
    color: var(--text-muted);
    border: none;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.btn-text:hover {
    color: var(--primary-color);
}

.cookie-option {
    background: #fafafa;
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: box-shadow 0.3s;
}

.cookie-option:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.cookie-option label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    margin: 0;
}

.cookie-option label strong {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-option label p {
    margin: 0 0 0 28px;
    font-size: 14px;
    margin-bottom: 0;
}

.cookie-option input[type="checkbox"] {
    accent-color: var(--accent-color);
    width: 16px;
    height: 16px;
}

.cookie-policy-text {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 15px;
    font-size: 14px;
    color: var(--text-muted);
}

.cookie-policy-text p {
    margin-bottom: 15px;
}

/* Stile scrollbar interna per il testo */
.cookie-policy-text::-webkit-scrollbar { width: 6px; }
.cookie-policy-text::-webkit-scrollbar-track { background: var(--bg-light); border-radius: 10px; }
.cookie-policy-text::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
/* --- FRECCE LIGHTBOX (Stile Unificato) --- */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-arrow:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.lightbox-arrow.prev { left: 40px; }
.lightbox-arrow.next { right: 40px; }

/* --- LIGHTBOX (Struttura) --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
}

.lightbox.active { display: flex; }

.lightbox-content {
    max-width: 80%;
    max-height: 80vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 3200;
}

/* --- CAROSELLO HERO (Mantenuto) --- */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.carousel-arrow.prev { left: 40px; }
.carousel-arrow.next { right: 40px; }

/* --- SEZIONI DI TESTO (Esempio) --- */
section { padding: 100px 8%; }
.section-title { color: var(--primary-color); font-size: 36px; margin-bottom: 20px; }
.section-title::after { content: ''; display: block; width: 50px; height: 2px; background: var(--accent-color); margin-top: 15px; }

/* Aggiungi qui il resto dei tuoi stili per card, navbar, ecc. */

/* ==========================================
   --- MEDIA QUERIES MOBILE (aggiunte per coerenza con il file principale) ---
   ========================================== */
@media screen and (max-width: 768px) {
    .cookie-banner-content { padding: 22px 18px; width: 92%; }
    .lightbox-close { top: 15px; right: 15px; font-size: 32px; }
    .lightbox-content { max-width: 96%; }
    .lightbox-arrow { width: 40px; height: 40px; }
    .lightbox-arrow.prev { left: 10px; }
    .lightbox-arrow.next { right: 10px; }
    .carousel-arrow { width: 40px; height: 40px; }
    .carousel-arrow.prev { left: 12px; }
    .carousel-arrow.next { right: 12px; }
    section { padding: 85px 20px; }
}

@media screen and (max-width: 480px) {
    .cookie-banner-content { padding: 18px 14px; }
    .cookie-option { padding: 12px 15px; }
    section { padding: 75px 15px; }
    .section-title { font-size: 24px; }
}

/* ==========================================
   --- BANNER CONFERMA PRENOTAZIONE INVIATA ---
   ========================================== */
.success-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 47, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.success-banner-overlay.show {
    display: flex;
    opacity: 1;
}

.success-banner-content {
    background: var(--white);
    color: var(--text-color);
    width: 100%;
    max-width: 500px;
    padding: 45px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    text-align: center;
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.success-banner-overlay.show .success-banner-content {
    transform: scale(1);
}

.success-banner-icon {
    font-size: 54px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.success-banner-content h3 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.success-banner-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.success-banner-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 22px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.success-banner-phone i { color: var(--accent-color); }

.success-banner-phone:hover {
    background-color: var(--bg-light);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

@media screen and (max-width: 480px) {
    .success-banner-content { padding: 30px 22px; }
    .success-banner-icon { font-size: 44px; }
    .success-banner-content h3 { font-size: 20px; }
}

/* --- VARIANTE ERRORE (stessa struttura del banner di successo) --- */
.error-banner-icon {
    color: #c0392b;
}

.error-banner-overlay .success-banner-phone {
    border-color: #f5c6cb;
}

.error-banner-overlay .success-banner-phone:hover {
    background-color: #fdf2f2;
    border-color: #c0392b;
}

/* --- MOSTRA SOLO LE PRIME 3 INFO NELLE CARD CAMERE, ESPANDIBILI --- */
.card-features li:nth-child(n+4) {
    display: none;
}

.card-features.expanded li {
    display: flex;
}

.btn-toggle-features {
    background: none;
    border: none;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 0;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.btn-toggle-features:hover {
    color: var(--accent-hover);
}

.btn-toggle-features i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.btn-toggle-features.expanded i {
    transform: rotate(180deg);
}
/* --- AVVISO CONFERMA PRENOTAZIONE --- */
.booking-notice {
    margin-top: 20px;
    padding: 12px 15px;
    background-color: rgba(184, 134, 11, 0.05); /* Tonalità dorata leggermente trasparente */
    border: 1px dashed var(--accent-color);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 13.5px;
    text-align: center;
    line-height: 1.5;
}

.booking-notice i {
    color: var(--accent-color);
    margin-right: 6px;
    font-size: 16px;
    vertical-align: middle;
}

.booking-notice strong {
    color: var(--primary-color);
}
/* Contenitore principale della riga */
.additional-details-row {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* Contenitore del singolo campo */
.additional-details-row .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Spazio tra l'etichetta e il campo di input */
    flex: 1;
    min-width: 250px; /* Assicura che i campi non diventino troppo stretti */
}

/* Stile per dare più spazio alla textarea rispetto alla tendina degli orari */
.additional-details-row .form-group:nth-child(2) {
    flex: 2;
}

/* Stile delle etichette (labels) */
.additional-details-row label {
    font-weight: 600;
    color: #333333;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px; /* Distanza tra l'icona e il testo */
}

/* Stile per l'icona FontAwesome nell'etichetta */
.additional-details-row label i {
    color: #666666; /* Un grigio leggermente più chiaro per l'icona */
}

/* Stile base unificato per menu a tendina (select) e textarea */
.additional-details-row select,
.additional-details-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 6px; /* Bordi leggermente arrotondati */
    font-family: inherit; /* Eredita il font del sito */
    font-size: 1rem;
    color: #444444;
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Animazione morbida al click */
    box-sizing: border-box; 
    cursor: pointer; /* Fa apparire la manina su tutto il campo select, indicando interattività */
}

/* Regole specifiche per la textarea (sovrascrive il cursore pointer) */
.additional-details-row textarea {
    cursor: text;
    resize: vertical; /* Permette all'utente di ridimensionarla solo in altezza */
    min-height: 80px;
}

/* Aspetto quando il campo è selezionato (focus) */
.additional-details-row select:focus,
.additional-details-row textarea:focus {
    outline: none;
    border-color: #0056b3; /* Sostituisci questo blu con il colore principale del tuo tema */
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15); /* Effetto alone colorato */
}

/* Adattamento per dispositivi mobili */
@media (max-width: 600px) {
    .additional-details-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .additional-details-row .form-group {
        min-width: 100%; /* I campi occupano tutta la larghezza su smartphone */
    }
}