/* ═══════════════════════════════════════════
   Pensiunea Atlantis · extra.css
   Reveal animat pe secțiuni (titlul urcă element cu element)
   + ascunde butonul „sus", repoziționează WhatsApp
   ═══════════════════════════════════════════ */

/* Containerul de antet nu se mai animează ca bloc; copiii lui urcă pe rând */
.about-inner.fade-up,
.gallery-header.fade-up,
.rooms-header.fade-up,
.attractions-header.fade-up,
.contact-head.fade-up,
.location-info.fade-up,
.court-content.fade-up,
.reviews-inner > .fade-up {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Starea inițială a fiecărui element din antet: jos + invizibil */
.about-inner.fade-up > *,
.gallery-header.fade-up > *,
.rooms-header.fade-up > *,
.attractions-header.fade-up > *,
.contact-head.fade-up > *,
.location-info.fade-up > *,
.court-content.fade-up > *,
.reviews-inner > .fade-up > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

/* Când secțiunea intră în ecran, elementele urcă la locul lor */
.about-inner.fade-up.visible > *,
.gallery-header.fade-up.visible > *,
.rooms-header.fade-up.visible > *,
.attractions-header.fade-up.visible > *,
.contact-head.fade-up.visible > *,
.location-info.fade-up.visible > *,
.court-content.fade-up.visible > *,
.reviews-inner > .fade-up.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Decalaj (stagger) — apar pe rând, nu toate odată */
.about-inner.fade-up.visible > *:nth-child(1), .gallery-header.fade-up.visible > *:nth-child(1), .rooms-header.fade-up.visible > *:nth-child(1), .attractions-header.fade-up.visible > *:nth-child(1), .contact-head.fade-up.visible > *:nth-child(1), .location-info.fade-up.visible > *:nth-child(1), .court-content.fade-up.visible > *:nth-child(1), .reviews-inner > .fade-up.visible > *:nth-child(1) { transition-delay: 0.05s; }
.about-inner.fade-up.visible > *:nth-child(2), .gallery-header.fade-up.visible > *:nth-child(2), .rooms-header.fade-up.visible > *:nth-child(2), .attractions-header.fade-up.visible > *:nth-child(2), .contact-head.fade-up.visible > *:nth-child(2), .location-info.fade-up.visible > *:nth-child(2), .court-content.fade-up.visible > *:nth-child(2), .reviews-inner > .fade-up.visible > *:nth-child(2) { transition-delay: 0.15s; }
.about-inner.fade-up.visible > *:nth-child(3), .gallery-header.fade-up.visible > *:nth-child(3), .rooms-header.fade-up.visible > *:nth-child(3), .attractions-header.fade-up.visible > *:nth-child(3), .contact-head.fade-up.visible > *:nth-child(3), .location-info.fade-up.visible > *:nth-child(3), .court-content.fade-up.visible > *:nth-child(3), .reviews-inner > .fade-up.visible > *:nth-child(3) { transition-delay: 0.25s; }
.about-inner.fade-up.visible > *:nth-child(4), .gallery-header.fade-up.visible > *:nth-child(4), .rooms-header.fade-up.visible > *:nth-child(4), .attractions-header.fade-up.visible > *:nth-child(4), .contact-head.fade-up.visible > *:nth-child(4), .location-info.fade-up.visible > *:nth-child(4), .court-content.fade-up.visible > *:nth-child(4), .reviews-inner > .fade-up.visible > *:nth-child(4) { transition-delay: 0.35s; }
.about-inner.fade-up.visible > *:nth-child(5), .location-info.fade-up.visible > *:nth-child(5), .reviews-inner > .fade-up.visible > *:nth-child(5) { transition-delay: 0.45s; }
.about-inner.fade-up.visible > *:nth-child(6), .location-info.fade-up.visible > *:nth-child(6) { transition-delay: 0.55s; }
.about-inner.fade-up.visible > *:nth-child(n+7), .location-info.fade-up.visible > *:nth-child(n+7) { transition-delay: 0.62s; }

/* Eliminăm butonul „înapoi sus" și coborâm butonul WhatsApp */
.to-top { display: none !important; }
.wa-float { bottom: 24px !important; }
