/**
 * Casa No.Ve - Stylesheet
 * Palette: oro #C6A855, terra #B87333, scuro #3D2B1F, crema #F5F0EB
 * Fonts: Playfair Display (titoli) + system sans-serif (corpo)
 */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold: #C6A855;
    --gold-dark: #A88B3D;
    --terra: #B87333;
    --dark: #3D2B1F;
    --dark-light: #6B5B50;
    --cream: #F5F0EB;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

/* ── Preloader / Splash ── */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.fade-out {
    opacity: 0; visibility: hidden;
}
.preloader-content {
    text-align: center;
}
.preloader-logo {
    height: 540px; width: auto; max-height: 60vh;
    animation: preloaderIn 1.2s ease forwards;
}
@keyframes preloaderIn {
    0% { opacity: 0; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}
/* Blocca scroll durante il preloader */
body.preloader-active { overflow: hidden; }

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: all 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; }

::selection { background: var(--gold); color: var(--white); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background 0.5s, box-shadow 0.5s;
}

.header-transparent { background: transparent; }
.header-solid { background: rgba(255,255,255,0.97); box-shadow: 0 1px 0 rgba(0,0,0,0.05); }
.header-transparent.scrolled { background: rgba(255,255,255,0.97); box-shadow: 0 1px 0 rgba(0,0,0,0.05); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 90px;
}

.logo img {
    height: 70px; width: auto;
    transition: filter 0.5s, height 0.5s;
}

.header-transparent:not(.scrolled) .logo img {
    filter: brightness(1.3) drop-shadow(0 2px 6px rgba(0,0,0,0.4));
    height: 90px;
}

.scrolled .logo img {
    height: 60px;
}
.header-transparent:not(.scrolled) .nav-link { color: rgba(255,255,255,0.85); }
.header-transparent:not(.scrolled) .nav-link:hover { color: var(--white); }
.header-transparent:not(.scrolled) .lang-toggle { color: rgba(255,255,255,0.85); }
.header-transparent:not(.scrolled) .nav-toggle span { background: var(--white); }

/* When mobile nav is open, force solid header */
body.nav-open .site-header { background: var(--white) !important; box-shadow: 0 1px 0 rgba(0,0,0,0.05); }
body.nav-open .site-header .logo img { filter: none !important; height: 50px !important; }
body.nav-open .site-header .nav-toggle span { background: var(--dark) !important; }

.nav-desktop {
    display: none; align-items: center; gap: 32px;
}

.nav-link {
    font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
    font-weight: 500; color: var(--dark);
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }

/* Language */
.lang-switcher { position: relative; margin-left: 12px; }
.lang-toggle {
    background: none; border: none; cursor: pointer;
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    font-weight: 300; color: var(--dark-light); font-family: inherit;
    display: flex; align-items: center; gap: 4px;
}
.lang-dropdown {
    position: absolute; right: 0; top: 100%; margin-top: 12px;
    background: var(--white); box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05); min-width: 140px;
    display: none; flex-direction: column;
}
.lang-dropdown.open { display: flex; }
.lang-dropdown a {
    padding: 10px 20px; font-size: 11px; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--dark-light);
}
.lang-dropdown a:hover { background: rgba(0,0,0,0.02); color: var(--dark); }
.lang-dropdown a.active { color: var(--gold); font-weight: 500; }

/* Mobile toggle */
.nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
    width: 22px; height: 1.5px; background: var(--dark);
    transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nav-mobile {
    display: none; flex-direction: column; gap: 20px;
    padding: 24px; background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.05);
    position: absolute; top: 100%; left: 0; right: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 100;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { color: var(--dark) !important; font-weight: 500; font-size: 14px; }
.lang-mobile { display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,0.05); }
.lang-btn {
    font-size: 10px; letter-spacing: 0.15em; padding: 6px 12px;
    border: 1px solid rgba(0,0,0,0.1); color: var(--dark-light);
    transition: all 0.3s;
}
.lang-btn.active { background: var(--dark); color: var(--white); border-color: var(--dark); }

@media (min-width: 1024px) {
    .nav-desktop { display: flex; }
    .nav-toggle, .nav-mobile { display: none !important; }
}

/* ── Hero ── */
.hero {
    position: relative; height: 100vh; min-height: 700px;
    overflow: hidden;
}

.hero-slider,
.hero .swiper,
.hero .swiper-wrapper,
.hero .swiper-slide,
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

.hero-slide img {
    width: 100%; height: 100%; object-fit: cover; object-position: center center;
    display: block;
}

.hero-slide::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: absolute; inset: 0; z-index: 10;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: var(--white); padding: 24px;
    padding-bottom: 80px;
}

.hero-welcome {
    font-size: 15px; letter-spacing: 0.5em; text-transform: uppercase;
    color: rgba(255,255,255,0.95); font-weight: 400;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-title {
    font-size: clamp(56px, 10vw, 110px);
    font-family: var(--font-serif); font-weight: 500;
    margin-top: 20px; line-height: 0.95;
    text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.hero-tagline {
    font-size: 15px; letter-spacing: 0.4em; text-transform: uppercase;
    color: var(--gold); font-weight: 400; margin-top: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 19px; line-height: 1.8; color: rgba(255,255,255,0.95);
    font-weight: 400; max-width: 600px; margin-top: 32px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-buttons { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }

.hero-scroll {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.3);
}
.hero-scroll span { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; }
.hero-scroll::after {
    content: ''; width: 1px; height: 32px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

/* ── Buttons ── */
.btn {
    display: inline-block; padding: 16px 44px;
    font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase;
    font-weight: 300; font-family: var(--font-sans);
    border: 1px solid; transition: all 0.5s; cursor: pointer;
}
.btn-outline-white { border: none; color: var(--dark); background: var(--white); font-weight: 500; mix-blend-mode: screen; }
.btn-outline-white:hover { opacity: 0.85; }
.btn-outline-light { border-color: var(--gold); color: var(--white); background: rgba(198,168,85,0.7); font-weight: 500; }
.btn-outline-light:hover { background: var(--gold); color: var(--white); }
.btn-outline-dark { border-color: var(--dark); color: var(--dark); font-weight: 500; }
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }
.btn-outline-white-footer { border-color: rgba(255,255,255,0.2); color: var(--white); }
.btn-outline-white-footer:hover { background: var(--white); color: var(--dark); }

/* ── Section base ── */
.section { padding: 100px 0; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--dark); color: var(--white); }
.section-page { padding-top: 140px; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: clamp(28px, 4vw, 48px); color: var(--dark); }
.section-dark .section-title { color: var(--white); }
.section-subtitle {
    font-size: 16px; color: var(--dark-light); font-weight: 400;
    max-width: 560px; margin: 16px auto 0; line-height: 1.8;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.5); }

/* Section divider ornament */
.section-divider {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin-top: 16px;
}
.section-divider::before, .section-divider::after {
    content: ''; height: 1px; width: 40px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.4;
}
.section-divider span {
    width: 6px; height: 6px; background: var(--gold);
    transform: rotate(45deg); opacity: 0.5;
}

/* ── Room cards (homepage) ── */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.room-card { position: relative; overflow: hidden; cursor: pointer; }
.room-card-img {
    aspect-ratio: 3/4; overflow: hidden;
}
.room-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s;
}
.room-card:hover .room-card-img img { transform: scale(1.05); }
.room-card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    color: var(--white);
}
.room-card-overlay h3 { font-size: 22px; }
.room-card-overlay p { font-size: 14px; color: rgba(255,255,255,0.75); margin-top: 8px; font-weight: 400; }

/* ── Room detail (camere page) ── */
.room-detail { display: flex; gap: 48px; align-items: center; margin-bottom: 80px; }
.room-detail:nth-child(even) { flex-direction: row-reverse; }
.room-detail-carousel { flex: 1; min-width: 0; }
.room-detail-info { flex: 1; }
.room-detail-info h2 { font-size: 30px; margin-bottom: 16px; }
.room-detail-info p { font-size: 15px; color: var(--dark-light); font-weight: 400; line-height: 2; }
.room-features { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.room-feature {
    font-size: 12px; letter-spacing: 0.1em; color: var(--dark-light);
    font-weight: 400; border-bottom: 1px solid rgba(198,168,85,0.25); padding-bottom: 2px;
}
.room-capacity {
    font-size: 12px; color: rgba(107,91,80,0.6); letter-spacing: 0.1em;
    text-transform: uppercase; font-weight: 300; margin-top: 16px;
}

/* Room carousel */
.room-carousel { border-radius: 0; overflow: hidden; }
.room-carousel .swiper-slide img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.room-carousel .swiper-button-next, .room-carousel .swiper-button-prev {
    color: var(--white); opacity: 0.6;
}
.room-carousel .swiper-button-next:hover, .room-carousel .swiper-button-prev:hover { opacity: 1; }
.room-carousel .swiper-pagination-bullet { background: var(--white); opacity: 0.4; }
.room-carousel .swiper-pagination-bullet-active { opacity: 1; }

@media (max-width: 768px) {
    .room-detail, .room-detail:nth-child(even) { flex-direction: column; gap: 24px; }
}

/* ── Services grid ── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 64px; max-width: 800px; margin: 0 auto; }
.service-item { text-align: center; }
.service-item::before {
    content: ''; display: block; width: 1px; height: 32px;
    background: rgba(198,168,85,0.3); margin: 0 auto 24px;
}
.service-item h3 { font-size: 18px; margin-bottom: 12px; }
.service-item p { font-size: 14px; color: var(--dark-light); font-weight: 400; line-height: 1.9; }

/* ── Noto sections ── */
.noto-section { display: flex; gap: 48px; align-items: center; margin-bottom: 80px; }
.noto-section:nth-child(even) { flex-direction: row-reverse; }
.noto-img { flex: 1; overflow: hidden; }
.noto-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.7s; }
.noto-img:hover img { transform: scale(1.05); }
.noto-text { flex: 1; }
.noto-text h2 { font-size: 28px; margin-bottom: 12px; }
.noto-text .divider { width: 32px; height: 1px; background: rgba(198,168,85,0.4); margin-bottom: 16px; }
.noto-text p { font-size: 15px; color: var(--dark-light); font-weight: 400; line-height: 2; }

/* ── Experiences grid ── */
.experiences-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.experience-card { overflow: hidden; background: var(--cream); }
.experience-img { overflow: hidden; }
.experience-img img {
    width: 100%; aspect-ratio: 4/3; object-fit: cover;
    transition: transform 0.7s;
}
.experience-card:hover .experience-img img { transform: scale(1.05); }
.experience-info { padding: 24px; }
.experience-info h3 { font-size: 20px; font-family: var(--font-serif); margin-bottom: 10px; }
.experience-info p { font-size: 14px; color: var(--dark-light); font-weight: 400; line-height: 1.8; }

@media (max-width: 1024px) {
    .experiences-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .experiences-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .noto-section, .noto-section:nth-child(even) { flex-direction: column; gap: 24px; }
}

/* ── Gallery grid ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.gallery-item { overflow: hidden; cursor: pointer; }
.gallery-item img {
    aspect-ratio: 4/3; object-fit: cover; width: 100%;
    transition: transform 0.7s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 900px; margin: 0 auto; }
.contact-label {
    font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
    font-weight: 300; color: var(--dark-light); margin-bottom: 8px;
}
.contact-value { font-size: 15px; font-weight: 400; color: var(--dark-light); }
.contact-value a:hover { color: var(--gold); }
.contact-block { margin-bottom: 32px; }

.contact-form { background: var(--white); padding: 40px; }
.contact-form h3 { font-size: 20px; margin-bottom: 32px; }
.form-group { margin-bottom: 24px; }
.form-label {
    display: block; font-size: 11px; letter-spacing: 0.15em;
    text-transform: uppercase; font-weight: 300; color: var(--dark-light);
    margin-bottom: 8px;
}
.form-input {
    width: 100%; border: none; border-bottom: 1px solid rgba(0,0,0,0.1);
    background: transparent; padding: 12px 0; font-size: 14px;
    font-family: var(--font-sans); font-weight: 300; color: var(--dark);
    transition: border-color 0.3s; outline: none;
}
.form-input:focus { border-color: var(--gold); }
textarea.form-input { resize: none; }
.form-submit {
    width: 100%; padding: 14px; border: 1px solid rgba(0,0,0,0.15);
    background: transparent; font-size: 11px; letter-spacing: 0.25em;
    text-transform: uppercase; font-weight: 300; cursor: pointer;
    font-family: var(--font-sans); color: var(--dark);
    transition: all 0.5s;
}
.form-submit:hover { background: var(--dark); color: var(--white); }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Location ── */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 1000px; margin: 0 auto; }
.location-item { margin-bottom: 32px; }
.location-item h3 { font-size: 18px; margin-bottom: 8px; }
.location-item p { font-size: 15px; color: var(--dark-light); font-weight: 400; line-height: 1.9; }
.location-map { aspect-ratio: 1; background: rgba(0,0,0,0.03); }
.location-map iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 768px) {
    .location-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Footer ── */
.site-footer {
    background: var(--dark); color: rgba(255,255,255,0.7);
    padding: 80px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px; }
.footer-brand h3 { font-family: var(--font-serif); font-size: 24px; color: var(--white); font-weight: 400; }
.footer-tagline {
    font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
    color: rgba(198,168,85,0.6); margin-top: 8px;
}
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 20px; line-height: 1.9; font-weight: 300; }
.footer-nav h4, .footer-contact h4 {
    font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
    color: rgba(255,255,255,0.4); font-weight: 300; margin-bottom: 20px;
}
.footer-nav a {
    display: block; font-size: 13px; color: rgba(255,255,255,0.5);
    font-weight: 300; padding: 4px 0;
}
.footer-nav a:hover { color: var(--gold); }
.footer-contact p { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 300; margin-bottom: 8px; }
.footer-contact a:hover { color: var(--gold); }
/* Footer payoff (pagine interne) */
.footer-payoff {
    text-align: center; padding: 48px 0;
    margin-top: 48px; border-top: 1px solid rgba(255,255,255,0.05);
    font-family: var(--font-serif); font-size: clamp(32px, 5vw, 52px);
    color: rgba(255,255,255,0.08); letter-spacing: 0.15em;
    font-weight: 400;
}
.footer-payoff span {
    display: inline-block; margin: 0 12px;
}

.footer-bottom {
    margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.15em; }

/* ── Payoff banner (Noto page) ── */
.payoff-banner {
    text-align: center; padding: 60px 0; margin: 60px 0;
    background: var(--dark); color: var(--gold);
    font-family: var(--font-serif); font-size: clamp(24px, 4vw, 44px);
    letter-spacing: 0.2em; font-weight: 400;
}
.payoff-banner span {
    display: inline-block; margin: 0 16px;
}

/* ── Payoff background text (Chi Siamo) ── */
.payoff-bg-section {
    position: relative; overflow: hidden;
}
.payoff-bg {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    white-space: nowrap; pointer-events: none;
    font-family: var(--font-serif); font-weight: 700;
    font-size: clamp(120px, 18vw, 220px);
    color: var(--gold); opacity: 0.035;
    letter-spacing: 0.05em;
    z-index: 0;
}
.payoff-bg span {
    display: block; line-height: 0.9;
}
.payoff-bg-section .container {
    position: relative; z-index: 1;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .section { padding: 60px 0; }
    .section-page { padding-top: 110px; }

    /* Hero mobile */
    .hero { height: 100svh; min-height: 600px; }
    .hero-content { padding: 20px 20px 40px; }
    .hero-title { font-size: 48px; }
    .hero-welcome { font-size: 12px; letter-spacing: 0.4em; }
    .hero-tagline { font-size: 12px; letter-spacing: 0.3em; margin-top: 12px; }
    .hero-subtitle { font-size: 15px; margin-top: 20px; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 280px; gap: 12px; margin-top: 24px; }
    .hero-buttons .btn { width: 100%; text-align: center; padding: 14px 20px; font-size: 11px; }
    .hero-scroll { bottom: 20px; }

    /* Nav mobile */
    .header-inner { height: 70px; }
    .logo img { height: 45px !important; }

    /* Payoff banner */
    .payoff-banner { padding: 40px 16px; margin: 40px 0; font-size: 20px; letter-spacing: 0.15em; }
    .payoff-banner span { margin: 0 8px; }

    /* Footer payoff */
    .footer-payoff { font-size: 24px; padding: 32px 0; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Baroque divider between sections ── */
.baroque-divider {
    display: flex; align-items: center; justify-content: center;
    padding: 4px 0; gap: 12px;
}
.baroque-divider::before, .baroque-divider::after {
    content: ''; height: 1px; width: 60px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.3;
}

/* ══════════════════════════════════════════
   Scroll Animations
   ══════════════════════════════════════════ */

/* Base: nascosto prima dell'animazione */
.anim-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

/* Variante: fade up (default) */
.anim-fade-up {
    transform: translateY(40px);
}
.anim-fade-up.anim-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Variante: zoom in (cards, gallery) */
.anim-zoom-in {
    transform: scale(0.92);
}
.anim-zoom-in.anim-visible {
    opacity: 1;
    transform: scale(1);
}

/* Variante: slide da destra (immagini) */
.anim-slide-right {
    transform: translateX(-60px);
}
.anim-slide-right.anim-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Variante: slide da sinistra (testi) */
.anim-slide-left {
    transform: translateX(60px);
}
.anim-slide-left.anim-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Alternare le noto-section pari/dispari */
.noto-section:nth-child(even) .anim-slide-right { transform: translateX(60px); }
.noto-section:nth-child(even) .anim-slide-left { transform: translateX(-60px); }
.noto-section:nth-child(even) .anim-slide-right.anim-visible,
.noto-section:nth-child(even) .anim-slide-left.anim-visible { transform: translateX(0); }

/* Room detail: alternate */
.room-detail:nth-child(even) .anim-slide-right { transform: translateX(60px); }
.room-detail:nth-child(even) .anim-slide-left { transform: translateX(-60px); }
.room-detail:nth-child(even) .anim-slide-right.anim-visible,
.room-detail:nth-child(even) .anim-slide-left.anim-visible { transform: translateX(0); }

/* Hero content: entrata sequenziale dall'alto */
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.anim-hero {
    opacity: 0;
    animation: heroFadeIn 1s ease forwards;
}

/* Hero scroll indicator: pulsazione */
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}
.hero-scroll {
    animation: scrollPulse 2.5s ease-in-out infinite;
}

/* Baroque divider: fade in */
.baroque-divider {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
    animation-delay: 0.3s;
}
@keyframes fadeIn {
    to { opacity: 1; }
}

/* Ridurre animazioni per chi le preferisce ridotte */
@media (prefers-reduced-motion: reduce) {
    .anim-on-scroll { opacity: 1; transform: none; transition: none; }
    .anim-hero { opacity: 1; animation: none; }
    .hero-scroll { animation: none; }
    .baroque-divider { opacity: 1; animation: none; }
}
