/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body, html { 
    overflow-x: hidden; 
    font-family: 'Jost', sans-serif; 
    color: #333; 
    line-height: 1.6; 
    background: #fff;
    scroll-behavior: smooth;
}

/* NAVBAR DESKTOP (Ritorno all'originale) */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 2000;
    height: 100px; display: flex; align-items: center; transition: 0.4s;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.nav-scrolled { background: #fff !important; height: 80px; box-shadow: 0 2px 15px rgba(0,0,0,0.1); }
.nav-container { 
    display: grid; 
    grid-template-columns: 1fr auto 1fr; 
    width: 100%; 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 25px; 
    align-items: center; 
}

/* Menu Trigger Desktop: Icona e Scritta sulla stessa riga */
.menu-trigger { cursor: pointer; display: flex; align-items: center; gap: 12px; color: #003049; }
.burger-icon { width: 22px; height: 2px; background: #003049; position: relative; }
.burger-icon::before, .burger-icon::after { content: ''; position: absolute; width: 22px; height: 2px; background: #003049; left: 0; }
.burger-icon::before { top: -7px; } .burger-icon::after { top: 7px; }
.menu-text { text-transform: uppercase; letter-spacing: 1px; font-size: 13px; font-weight: 500; }

.logo img { height: 65px; transition: 0.3s; width: auto; }
.nav-scrolled .logo img { height: 50px; }

/* Destra Desktop: Telefono e Bottone sulla stessa riga */
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.nav-phone { font-weight: 600; font-size: 15px; color: #003049; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.nav-phone i { color: #00b4d8; }

.btn-cta-nav { background: #003049; color: #fff; padding: 10px 18px; border-radius: 4px; text-transform: uppercase; font-size: 11px; letter-spacing: 1px; font-weight: 600; cursor: pointer; border: none; transition: 0.3s; }
.btn-cta-nav:hover { background: #00b4d8; }

/* HERO SLIDER */
.hero { height: 100vh; width: 100%; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; color: white; text-align: center; background: #003049; }
.slide-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 1; }
.slide.active { opacity: 1; z-index: 2; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.35); z-index: 3; pointer-events: none; }
.hero-content { position: relative; z-index: 4; }
.hero-content h1 { font-family: 'Playfair Display'; font-size: 4.5rem; margin-bottom: 10px; text-shadow: 2px 2px 15px rgba(0,0,0,0.4); }
.hero-content p { font-size: 1.2rem; letter-spacing: 5px; text-transform: uppercase; font-weight: 300; }

/* SEZIONI & ALTRO */
.section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.sub-title { display: block; font-size: 14px; text-transform: uppercase; color: #00b4d8; letter-spacing: 3px; font-weight: 600; margin-bottom: 15px; }
h2 { font-family: 'Playfair Display'; font-size: 3rem; color: #003049; margin-bottom: 25px; line-height: 1.2; }
.description { font-size: 1.1rem; color: #666; margin-bottom: 40px; }
.split { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; }
.split-img { flex: 1; overflow: hidden; border-radius: 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.split-img img { width: 100%; display: block; }
.split-text { flex: 1; }
.footer { background: #003049; color: #fff; padding: 60px 20px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }

/* MODALI & SIDEBAR */
#sideMenu { position: fixed; top: 0; left: -100%; width: 320px; height: 100%; background: #fff; z-index: 4000; transition: 0.5s; padding: 40px 40px; }
#overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 3999; }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 5000; justify-content: center; align-items: center; }
.modal-content-iframe { background: #fff; width: 90%; max-width: 850px; height: 85vh; border-radius: 12px; position: relative; overflow: hidden; }

/* --- SOLO VERSIONE MOBILE --- */
@media (max-width: 768px) {
    .navbar { height: auto; padding: 10px 0; background: #fff !important; }
    .nav-container { 
        grid-template-columns: 1fr 1fr 1fr; 
        padding: 0 10px;
    }
    
    /* Sinistra Mobile: Icona sopra, Testo sotto */
    .nav-left { order: 1; }
    .menu-trigger { flex-direction: column; gap: 2px; align-items: center; }
    .burger-icon { margin-bottom: 10px; margin-top: 10px; } /* Spazio per la scritta sotto */
    .menu-text { font-size: 9px; letter-spacing: 0; }

    /* Centro Mobile: Logo */
    .nav-center { order: 2; display: flex; justify-content: center; }
    .logo img { height: 45px !important; }

    /* Destra Mobile: Telefono sopra, Bottone sotto */
    .nav-right { order: 3; flex-direction: column; gap: 5px; align-items: center; }
    .nav-phone { font-size: 11px; }
    .btn-cta-nav { padding: 6px 10px; font-size: 9px; width: 100%; text-align: center; }

    /* Reset Sezioni Mobile */
    .hero-content h1 { font-size: 2.5rem; }
    .split { flex-direction: column; gap: 30px; }
    .footer-grid { flex-direction: column; text-align: center; gap: 30px; }
}
/* --- SOLO VERSIONE MOBILE --- */
@media (max-width: 768px) {
    .navbar { 
        height: auto; 
        padding: 12px 0; 
        background: #fff !important; 
    }
    
    .nav-container { 
        grid-template-columns: 1fr 1.2fr 1fr; /* Logo centrale bilanciato */
        padding: 0 10px; /* Ridotto il margine laterale per spingere gli elementi ai bordi */
        align-items: center;
    }
    
    /* Sinistra Mobile: Allineato il più possibile a sinistra */
    .nav-left { 
        order: 1; 
        display: flex; 
        justify-content: flex-start; 
    }
    .menu-trigger { 
        flex-direction: column; 
        gap: 0px; 
        align-items: center; 
    }
    .burger-icon { 
        margin-bottom: 12px; /* Spazio per la scritta MENU sotto */
    }
    .menu-text { 
        font-size: 9px; 
        font-weight: 700;
        margin-top: -2px;
    }

    /* Centro Mobile: Logo */
    .nav-center { 
        order: 2; 
        display: flex; 
        justify-content: center; 
    }
    .logo img { 
        height: 42px !important; 
    }

    /* Destra Mobile: Numero e Preventivo allineati a destra */
    .nav-right { 
        order: 3; 
        flex-direction: column; 
        gap: 4px; 
        align-items: flex-end; /* Spinge tutto a destra */
    }
    .nav-phone { 
        font-size: 10px; 
        white-space: nowrap;
    }
    .nav-phone i {
        font-size: 9px;
    }
    
    /* Tasto Preventivo più stretto */
    .btn-cta-nav { 
        padding: 5px 8px; /* Ridotto il padding laterale per stringerlo */
        font-size: 9px; 
        width: auto; /* Non occupa tutto lo spazio, resta stretto intorno al testo */
        min-width: 80px;
        text-align: center;
    }

    /* Altri aggiustamenti Mobile */
    .hero-content h1 { font-size: 2.2rem; text-shadow: 1px 1px 2px black;}
    .section { padding: 60px 20px; }

.slide-container {height: 50vh;}

/* Forza la centratura totale del contenitore Hero */
    .hero {
        display: flex;
        align-items: center;    /* Centratura verticale */
        justify-content: center; /* Centratura orizzontale */
        height: 50vh;          /* Assicura che l'altezza sia l'intero schermo */
    }

    /* Centratura del contenuto interno */
    .hero-content {
        position: relative;     /* Rimuove eventuali posizionamenti assoluti del desktop */
        z-index: 5;
        width: 100%;
        text-align: center;
        padding: 0 20px;
        margin: 0;              /* Rimuove margini che potrebbero sbilanciare il centro */
	margin-top: 60%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

}
.info-utili-bg {
    background-color: #f4f7f9;
    padding: 80px 20px;
	max-width: 100%!important;
}

.container-info {
    max-width: 1100px;
    margin: 0 auto;
}

.info-header {
    text-align: center;
    margin-bottom: 50px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-bottom: 3px solid #00b4d8;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card.warning {
    border-bottom: 3px solid #e63946;
}

.info-icon {
    font-size: 28px;
    color: #003049;
    margin-bottom: 15px;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #003049;
}

.info-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Ottimizzazione Mobile */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr; /* Una card per riga su mobile */
    }
    
    .info-card {
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .info-utili-bg {
        padding: 50px 15px;
    }
}
:root {
    --primary: #003049;
    --accent: #00b4d8;
    --gold: #c19a6b;
    --text: #444;
    --bg-light: #f8fbff;
}

body { font-family: 'Jost', sans-serif; color: var(--text); }

.booking-section { padding: 20px; }

.form-wrapper {
    background: #fff;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.form-header { text-align: center; margin-bottom: 35px; }

.upper-title { 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 0.75rem; 
    color: var(--accent); 
    font-weight: 600;
}

.form-header h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.2rem; 
    margin: 10px 0; 
    color: var(--primary);
}

.decoration {
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 20px;
}

/* Griglia del Form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field-group { display: flex; flex-direction: column; }
.full-width { grid-column: span 2; }

.field-group label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.field-group label i { color: var(--accent); margin-right: 5px; width: 15px; }

.field-group input, 
.field-group select, 
.field-group textarea {
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.field-group input:focus, 
.field-group select:focus, 
.field-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

/* Pulsante */
.form-action { text-align: center; margin-top: 30px; }

.btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.3);
}

.privacy-text { font-size: 0.7rem; color: #999; margin-top: 15px; }

/* Alert Messaggi */
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.success { background: #d4edda; color: #155724; }
.error { background: #f8d7da; color: #721c24; }

/* Responsive Mobile */
@media (max-width: 650px) {
    .form-wrapper { padding: 25px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .form-header h2 { font-size: 1.8rem; }
    .btn-submit { width: 100%; justify-content: center; }
}

/* Animazione semplice */
.animate-fade {
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Stile per il tasto di chiusura (X) del Modal */
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    font-weight: 300;
    color: #003049; /* Colore primario dell'hotel */
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
    transition: all 0.3s ease;
    background: #fff; /* Sfondo bianco per staccare dall'iframe */
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.close-modal:hover {
    color: #00b4d8; /* Colore accent */
    transform: rotate(90deg);
    background: #f0f9ff;
}

/* Ottimizzazione per Mobile */
@media (max-width: 768px) {
    .close-modal {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 30px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    /* Assicura che il contenitore del modal non copra la X */
    .modal-content-iframe {
        padding-top: 50px; /* Spazio per non sovrapporre la X al contenuto */
        height: 95% !important;
        width: 95% !important;
    }
}