/* --- TAVOLOZZA E FONT --- */
:root {
    --amalfi-blue: #002366;
    --luxury-gold: #D4AF37;
    --pure-white: #FFFFFF;
    --glass-bg: rgba(0, 35, 102, 0.1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--pure-white);
    color: var(--amalfi-blue);
    line-height: 1.8;
}

h1, h2, h3, .logo { font-family: 'Playfair Display', serif; }

nav {
    position: fixed;
    top: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    color: var(--luxury-gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
}

.menu-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.menu-links a:hover { color: var(--luxury-gold); }

.menu-links a.active {
    color: var(--luxury-gold) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.45);
    pointer-events: none;
}

.btn-nav-reserve,
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #fff !important;
    text-decoration: none !important;
    letter-spacing: 2px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
    transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-nav-reserve {
    padding: 0 18px !important;
    margin-left: 14px;
    border-bottom: none !important;
}

.lang-switch {
    gap: 7px;
    margin-left: 14px;
    padding: 0 11px;
    border-bottom: none !important;
}

.lang-switch .flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 0.92rem;
    line-height: 1;
}

.lang-switch .lang-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1;
}

.btn-nav-reserve:hover,
.lang-switch:hover {
    transform: translateY(-0.5px);
    border-color: rgba(212, 175, 55, 1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(212, 175, 55, 0.10);
    background: rgba(255, 255, 255, 0.055);
}

.hero {
    height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: #fff;
    background-size: cover; background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0, 15, 40, 0.35);
}

.hero-content { position: relative; z-index: 10; max-width: 800px; padding: 20px; }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 20px; }
.chapter-content { padding: 100px 15%; text-align: center; }
.chapter-content h2 { color: var(--luxury-gold); font-style: italic; margin-bottom: 30px; }
.chapter-content p { max-width: 760px; margin: 0 auto 1.5rem; font-size: 1rem; }

nav.scrolled { background: rgba(0, 15, 40, 0.92); border-bottom: 1px solid rgba(212, 175, 55, 0.2); }

.gold-divider {
    text-align: center;
    color: var(--luxury-gold);
    font-size: 1.2rem;
    margin: 50px 0;
    letter-spacing: 10px;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 50px 0;
    text-align: left;
}

.card-grid .card {
    background: #f9f6f0;
    padding: 30px;
    border-left: 3px solid var(--luxury-gold);
}

.card-grid .card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    color: var(--amalfi-blue);
}

.card-grid .card p { font-size: 0.9rem; margin: 0; color: #444; }

.pull-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    border-left: 3px solid var(--luxury-gold);
    padding-left: 24px;
    text-align: left;
    line-height: 1.9;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--luxury-gold);
    transition: 0.3s;
}

.scroll-arrow {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 1;
    transition: opacity 0.6s ease;
    cursor: pointer;
}

.scroll-arrow.hidden { opacity: 0; pointer-events: none; }
.scroll-arrow svg { width: 28px; height: 28px; animation: arrowBounce 2s ease-in-out infinite; }
.scroll-arrow span {
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    font-family: 'Montserrat', sans-serif;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@media (max-width: 768px) {
    nav { padding: 16px 5%; }
    .hamburger { display: flex; }
    .menu-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; width: 100%;
        background: rgba(0, 15, 40, 0.97);
        flex-direction: column;
        padding: 20px 5% 30px;
        gap: 0;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
    .menu-links.open { display: flex; }
    .menu-links a {
        margin-left: 0;
        padding: 12px 0;
        font-size: 0.8rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .menu-links a:last-child { border-bottom: none; }
    .btn-nav-reserve,
    .lang-switch {
        margin-left: 0;
        min-height: 40px;
        border-radius: 8px;
        box-shadow: none;
        background: transparent;
    }
    .btn-nav-reserve {
        margin-top: 10px;
        text-align: center;
        padding: 10px 0 !important;
    }
    .lang-switch {
        margin-top: 8px;
        align-self: flex-start;
        padding: 8px 10px;
    }
    .lang-switch .flag {
        width: auto;
        height: auto;
        font-size: 1.02rem;
    }
    .hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
    .chapter-content { padding: 70px 6%; }
    .card-grid { grid-template-columns: 1fr; gap: 20px; }
}
