:root {
    --black: #121212;
    --gold: #c5a059;
    --white: #ffffff;
    --wa: #25d366;
    --booking: #003580;
    --transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* NAVBAR */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.4s;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    transition: 0.3s;
}

.nav.scrolled .logo {
    color: var(--black);
}

.nav nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav.scrolled nav a {
    color: var(--black);
}

.cta {
    border: 1px solid var(--gold);
    padding: 8px 18px !important;
    color: var(--gold) !important;
    border-radius: 2px;
}

/* HERO */
.hero-split {
    display: flex;
    height: 100vh;
    background: #000;
}

.split {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.8s;
}

.split:hover {
    flex: 1.5;
}

.split-img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: 1.2s;
}

.split:hover .split-img {
    transform: scale(1.1);
}

.split::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.split-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.split-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 4vw, 50px);
    margin-bottom: 20px;
}

.btn-split {
    padding: 12px 25px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-split:hover {
    background: white;
    color: black;
}

/* ESPERIENZE */
.experience-section {
    padding: 120px 8%;
    background: white;
}

.experience-section.dark-mode {
    background: var(--black);
    color: white;
}

.experience-grid {
    display: flex;
    align-items: center;
    gap: 80px;
}

.experience-grid.reverse {
    flex-direction: row-reverse;
}

.experience-text {
    flex: 1;
}

.experience-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
}

.label {
    font-size: 11px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 10px;
}

.description {
    font-weight: 300;
    font-size: 15px;
    margin-bottom: 30px;
    opacity: 0.8;
}

/* BOOKING BUTTON */
.booking-action {
    margin-bottom: 30px;
}

.btn-booking {
    display: inline-block;
    background: var(--booking);
    color: white;
    padding: 7px 15px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: 0.3s;
    border: 1px solid var(--booking);
}

.btn-booking:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-booking i {
    margin-right: 8px;
}

/* MINI CALENDAR */
.mini-calendar {
    margin-bottom: 30px;
}

.mini-calendar p {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.cal-btn {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
    text-decoration: none;
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    transition: 0.3s;
}

.cal-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

.dark-mode .cal-btn {
    border-color: #333;
}

/* SLIDER */
.experience-slider {
    flex: 1.2;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
}

.slider-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide {
    flex: 0 0 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: 0.3s;
    border-radius: 50%;
}

.slide-arrow:hover {
    background: var(--gold);
}

.slide-arrow.prev {
    left: 15px;
}

.slide-arrow.next {
    right: 15px;
}

/* AMENITIES */
.amenities-section {
    padding: 100px 8%;
    background: #fcfcfc;
    text-align: center;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.amenity-card {
    padding: 30px;
    background: white;
    border: 1px solid #eee;
    transition: 0.4s;
}

.amenity-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.amenity-card i {
    font-size: 30px;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}

.amenity-card span {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
}

/* FOOTER */
.footer {
    background: #0a0a0a;
    color: white;
    padding: 80px 8% 40px;
}

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

.footer-socials a {
    color: white;
    font-size: 24px;
    margin-right: 15px;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #222;
    font-size: 11px;
    opacity: 0.4;
}

/* WHATSAPP */
.wa-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--wa);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1000;
}

/* MOBILE FIX & ANIMATIONS */
.menu-toggle {
    display: none;
    cursor: pointer;
    color: white; 
    font-size: 22px;
}

.nav.scrolled .menu-toggle {
    color: var(--black); 
}

@media (max-width: 968px) {
    .nav nav {
        /* Invece di display: none usiamo un mix di visibility e opacity per l'animazione */
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        
        /* Magia dell'animazione (Stato chiuso) */
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Stato aperto */
    .nav nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 20px 0;
    }

    .nav nav a {
        margin: 15px 0;
        color: var(--black); 
    }

    .menu-toggle {
        display: block;
    }

    .experience-grid,
    .experience-grid.reverse {
        flex-direction: column;
        text-align: center;
    }

    .hero-split {
        flex-direction: column;
    }
}