/* ==========================================================================
   1. RESET, COMFORT E SICUREZZA MOBILE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #0B111E;
    color: #E2E8F0;
    font-family: 'Outfit', sans-serif;
}

.hero { 
    background-attachment: fixed; 
}
@media (max-width: 1024px) {
    .hero { background-attachment: scroll; }
}

/* ==========================================================================
   2. NAVBAR CON LOGO SQUALO
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 17, 30, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 9999;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #F8FAFC;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.2));
}

.text-sky {
    color: #38BDF8;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #94A3B8;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #38BDF8;
}

/* ==========================================================================
   3. TITOLI E STRUTTURE COMUNI
   ========================================================================== */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.title-box {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.title-box h2 {
    font-size: 2.8rem;
    color: #F1F5F9;
}

.title-box p {
    color: #38BDF8;
    font-size: 1rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sea-line {
    width: 80px;
    height: 2px;
    background-color: #38BDF8;
    margin: 0 auto 2.5rem auto;
}

.sea-line-small {
    width: 40px;
    height: 2px;
    background-color: #38BDF8;
    margin: 1.5rem auto 0 auto;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1rem 2rem 1rem; /* Padding rialzato per navbar */
    position: relative;
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=1920') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 17, 30, 0.75), #0B111E);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.beach-badge {
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    background-color: rgba(56, 189, 248, 0.05);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: #F8FAFC;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #CBD5E1;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.15rem;
    color: #94A3B8;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-sea, .btn-sky {
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-sea {
    background-color: #38BDF8;
    color: #0B111E;
}
.btn-sea:hover {
    background-color: #0EA5E9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}

.btn-sky {
    border: 1px solid rgba(255,255,255,0.2);
    color: #F8FAFC;
}
.btn-sky:hover {
    border-color: #38BDF8;
    background-color: rgba(56, 189, 248, 0.05);
    transform: translateY(-2px);
}

/* ==========================================================================
   5. SEZIONE STABILIMENTO BALNEARE (I BAGNI)
   ========================================================================== */
.beach-services { 
    background-color: #0B111E; 
    padding: 7rem 2rem; 
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Griglia fluida responsive */
    gap: 2rem; 
    max-width: 1100px; 
    margin: 3rem auto 0 auto; 
}

.service-card { 
    background: #1E293B; 
    padding: 2.5rem 1.5rem; 
    border-radius: 8px; 
    text-align: center; 
    border: 1px solid rgba(56, 189, 248, 0.05); 
    transition: all 0.3s ease; 
}
.service-card:hover { 
    transform: translateY(-5px); 
    border-color: #38BDF8; 
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.05); 
}

.service-icon { 
    font-size: 3rem; 
    margin-bottom: 1rem; 
    display: block; 
}

.service-card h3 { 
    font-family: 'Outfit', sans-serif; 
    font-size: 1.3rem; 
    color: #FFF; 
    margin-bottom: 0.8rem; 
}

.service-card p { 
    color: #94A3B8; 
    font-size: 0.88rem; 
    line-height: 1.5; 
}

/* ==========================================================================
   6. SEZIONE MENU DIGITALE INTERATTIVO (STILE MODERN CARDS)
   ========================================================================== */
.menu-section {
    padding: 7rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-tabs { 
    display: flex; 
    justify-content: center; 
    gap: 1.2rem; 
    margin-bottom: 4rem; 
    flex-wrap: wrap;
}

.tab-btn { 
    background: rgba(30, 41, 59, 0.4); 
    border: 1px solid rgba(56, 189, 248, 0.2); 
    color: #94A3B8; 
    padding: 0.9rem 2.5rem; 
    border-radius: 50px; 
    cursor: pointer; 
    font-family: inherit; 
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    letter-spacing: 1.5px; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
}

.tab-btn:hover {
    color: #FFF;
    border-color: rgba(56, 189, 248, 0.6);
    background: rgba(30, 41, 59, 0.8);
}

.tab-btn.active { 
    background-color: #38BDF8; 
    color: #0B111E; 
    border-color: #38BDF8; 
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3); 
}

.menu-category { 
    display: none; 
    animation: fadeIn 0.5s ease;
}

.menu-category.active { 
    display: block; 
}

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

.menu-subcategory-title { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.8rem; 
    color: #FFF; 
    margin: 3.5rem 0 1.8rem 0; 
    padding-left: 0.5rem;
    position: relative;
}

.menu-subcategory-title::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 15%;
    height: 70%;
    width: 4px;
    background-color: #38BDF8;
    border-radius: 2px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.8rem;
}

.menu-item { 
    background: #131C2E; 
    padding: 2rem; 
    border-radius: 12px; 
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease; 
}

.menu-item:hover { 
    background: #1E293B; 
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.menu-info { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    margin-bottom: 0.8rem; 
    gap: 1.5rem; 
}

.menu-item h3 { 
    font-family: 'Outfit', sans-serif; 
    font-size: 1.25rem; 
    font-weight: 600; 
    color: #F8FAFC; 
    margin: 0; 
    line-height: 1.3;
}

.menu-price { 
    font-family: 'Outfit', sans-serif; 
    font-size: 1.05rem; 
    color: #38BDF8; 
    font-weight: 600; 
    background: rgba(56, 189, 248, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    white-space: nowrap; 
}

.menu-item p { 
    font-size: 0.9rem; 
    color: #94A3B8; 
    margin: 0; 
    line-height: 1.5; 
}

/* ==========================================================================
   7. SEZIONE RECENSIONI
   ========================================================================== */
.reviews-section {
    background-color: #0F172A;
    padding: 7rem 2rem;
}

.reviews-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background-color: #1E293B;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    gap: 0.5rem;
}

.review-header strong {
    font-size: 1.1rem;
    color: #F1F5F9;
}

.review-source {
    font-size: 0.8rem;
    color: #38BDF8;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.review-card p {
    color: #CBD5E1;
    font-style: italic;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==========================================================================
   8. INTERMEZZO INSTAGRAM BANNER
   ========================================================================== */
.instagram-banner { 
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); 
    padding: 3.5rem 2rem; 
    text-align: center; 
    color: #FFF; 
}

.instagram-banner h2 { 
    font-family: 'Outfit', sans-serif; 
    font-size: 1.8rem; 
    font-weight: 800; 
    margin-bottom: 0.5rem; 
}

.instagram-banner p { 
    font-size: 1rem; 
    opacity: 0.9; 
    margin-bottom: 1.5rem; 
}

.btn-insta { 
    background: #FFF; 
    color: #C13584; 
    padding: 0.7rem 2rem; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 0.9rem; 
    display: inline-block; 
    transition: transform 0.3s; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}
.btn-insta:hover { 
    transform: scale(1.05); 
}

/* ==========================================================================
   9. SEZIONE PRENOTAZIONE (CANALI DIRETTI)
   ========================================================================== */
.booking-section {
    padding: 7rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.booking-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.booking-info p {
    color: #94A3B8;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.booking-channels { 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
    margin-top: 2rem; 
}

.contact-card { 
    display: flex; 
    align-items: center; 
    gap: 1.5rem; 
    background: #1E293B; 
    padding: 1.5rem; 
    border-radius: 8px; 
    border: 1px solid rgba(56, 189, 248, 0.1); 
    text-decoration: none; 
    color: inherit; 
    transition: transform 0.3s, border-color 0.3s; 
}
.contact-card:hover { 
    transform: translateY(-3px); 
    border-color: #38BDF8; 
}

.contact-icon { 
    font-size: 2.5rem; 
    background: rgba(56, 189, 248, 0.1); 
    width: 60px; 
    height: 60px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50px; 
    color: #38BDF8; 
    flex-shrink: 0;
}

.contact-text h3 { 
    font-family: 'Outfit', sans-serif; 
    font-size: 1.2rem; 
    color: #FFF; 
    margin-bottom: 0.2rem; 
}

.contact-text p { 
    color: #94A3B8; 
    font-size: 0.9rem; 
}

.contact-text span { 
    color: #38BDF8; 
    font-weight: 600; 
    font-size: 1.1rem; 
    display: block; 
    margin-top: 0.3rem; 
}

/* ==========================================================================
   10. SEZIONE INFO, ORARI & GOOGLE MAPS
   ========================================================================== */
.info-section { 
    background-color: #0F172A; 
    padding: 5rem 2rem; 
    border-top: 1px solid rgba(255,255,255,0.02); 
}

.info-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; 
    max-width: 1100px; 
    margin: 0 auto; 
    align-items: center; 
}

.info-text h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.2rem; 
    color: #FFF; 
    margin-bottom: 1.5rem; 
}

.hours-box { 
    background: rgba(30, 41, 59, 0.5); 
    padding: 1.5rem; 
    border-radius: 6px; 
    border-left: 4px solid #38BDF8; 
    margin-bottom: 1.5rem; 
}

.hours-row { 
    display: flex; 
    justify-content: space-between; 
    padding: 0.4rem 0; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    font-size: 0.95rem; 
}
.hours-row:last-child { 
    border-bottom: none; 
}
.hours-row span:first-child { 
    color: #94A3B8; 
}
.hours-row span:last-child { 
    color: #FFF; 
    font-weight: 600; 
}

.map-wrapper { 
    width: 100%; 
    height: 350px; 
    border-radius: 8px; 
    overflow: hidden; 
    border: 1px solid rgba(56, 189, 248, 0.2); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}
.map-wrapper iframe { 
    width: 100%; 
    height: 100%; 
    border: none; 
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
footer { 
    background-color: #0B111E; 
    padding: 2rem; 
    text-align: center; 
    color: #64748B; 
    font-size: 0.85rem; 
    border-top: 1px solid rgba(255,255,255,0.05); 
}

/* ==========================================================================
   12. MEDIA QUERIES (RESPONSIVE COMPLETO)
   ========================================================================== */
@media (max-width: 968px) {
    .services-grid, .info-container { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    .menu-grid { 
        grid-template-columns: 1fr; 
        gap: 1rem; 
    }
    .beach-services, .menu-section, .reviews-section, .booking-section {
        padding: 4rem 1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Nasconde menu su mobile per pulizia */
    }
    .nav-container {
        justify-content: center;
    }
    .hero h1 { 
        font-size: 2.8rem;
        letter-spacing: 2px;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    .btn-sea, .btn-sky {
        width: 100%;
    }
    .title-box h2 {
        font-size: 2rem;
    }
    .menu-item h3 { 
        font-size: 1rem; 
    }
    .menu-price { 
        font-size: 0.95rem; 
    }
    .info-text h2 { 
        font-size: 1.8rem; 
    }
    .booking-info h2 {
        font-size: 2rem;
    }
    .contact-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
}

/* Stile per il marchio dell'agenzia nel footer */
.powered-by {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #475569; /* Grigio scuro di base */
}

.powered-by a {
    color: #64748B;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.powered-by a:hover {
    color: #38BDF8; /* Si colora dell'azzurro del sito al passaggio */
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}
.watermark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999; /* Sta sopra tutto */
    pointer-events: none; /* Fondamentale: permette di cliccare i bottoni sotto! */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500' viewBox='0 0 500 500'%3E%3Ctext x='50%25' y='50%25' font-family='Arial, sans-serif' font-size='22' font-weight='bold' fill='rgba(58, 46, 43, 0.04)' text-anchor='middle' transform='rotate(-45 250 250)'%3EPROVA PROTOTIPO - DIGITAL STUDIO%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
}