/* ===== STILI GLOBALI DI BASE ===== */

/* Reset universale per tutti gli elementi */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* html e body NON devono mai diventare scroll container */
html, body {
  overflow: visible !important;
  width: 100%;
}

/* L'elemento root React non deve bloccare lo scroll */
#root {
  overflow: visible !important;
}

/* Stili del body principale */
body {
  margin: 0;
  /* Font stack con Montserrat come font principale e fallback */
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  /* Miglioramento rendering font su diversi browser */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Colori principali del tema */
  background-color: #F8F9FA;
  color: #1F2937;
}

/* Scroll fluido per tutta la pagina */
html {
  scroll-behavior: smooth;
}

/* Utility per testo con gradiente celeste */
.text-gradient-celeste {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  font-weight: bold !important;
}

/* Sposta SOLO il badge flottante Iubenda a sinistra per non coprire WhatsApp */
#iubenda-cs-badge,
.iubenda-cs-preferences-link,
.iubenda-cs-floating-button {
  left: 20px !important;
  right: auto !important;
}

/* ===== STILI GLOBALI APPLICAZIONE ===== */

/* Animazione per loader */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Container principale dell'applicazione */
.App {
  width: 100%;
}

/* Stili standard per tutte le sezioni */
section {
  padding: 100px 5%;
  /* Padding verticale e orizzontale responsive */
  position: relative;
}

/* Container centrale con larghezza massima */
.container {
  max-width: 1400px;
  margin: 0 auto;
  /* Centra il contenuto */
}

/* ===== TITOLI DI SEZIONE ===== */

/* Titolo principale delle sezioni */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

/* Linea decorativa sotto il titolo */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #1E3A8A, #38BDF8);
  /* Gradiente Logo */
}

/* Sottotitolo delle sezioni */
.section-subtitle {
  font-size: 1.2rem;
  color: #999;
  margin-bottom: 60px;
  font-weight: 300;
}

/* ===== ANIMAZIONI SEMPLICI ===== */

/* Animazione fade in con movimento dal basso */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animazione fade in semplice */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Classi utility per animazioni */
.fade-in {
  animation: fadeIn 1s ease-in;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Adattamento per tablet e mobile */
@media (max-width: 768px) {
  section {
    padding: 60px 5%;
    /* Riduce padding su mobile */
  }

  .section-title {
    font-size: 2rem;
    /* Riduce dimensione titolo */
  }

  .section-subtitle {
    font-size: 1rem;
    /* Riduce dimensione sottotitolo */
  }
}


/* ===== ANIMAZIONI GLOBALI ===== */

/* Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(80px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Down */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Left */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade In Right */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale In - Animazione per CTA e bottoni con effetto bounce */
@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scale Up */
@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Zoom In */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.7);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide In Up */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bounce In */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

/* Rotate In */
@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-200deg);
  }

  to {
    opacity: 1;
    transform: rotate(0);
  }
}

/* Classi di Animazione - Inizialmente invisibili */
.animate-fade-in,
.animate-fade-in-up,
.animate-fade-in-down,
.animate-fade-in-left,
.animate-fade-in-right,
.animate-scale-up,
.animate-scale-in,
.animate-zoom-in,
.animate-slide-in-up,
.animate-bounce-in,
.animate-rotate-in {
  opacity: 0;
  visibility: hidden;
  /* Niente will-change permanente: evita layer GPU su tutti gli elementi */
}

/* Quando l'elemento diventa visibile durante lo scroll */
.animate-fade-in.is-visible {
  animation: fadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1;
  visibility: visible;
}

.animate-fade-in-up.is-visible {
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1;
  visibility: visible;
}

.animate-fade-in-down.is-visible {
  animation: fadeInDown 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1;
  visibility: visible;
}

.animate-fade-in-left.is-visible {
  animation: fadeInLeft 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1;
  visibility: visible;
}

.animate-fade-in-right.is-visible {
  animation: fadeInRight 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1;
  visibility: visible;
}

.animate-scale-up.is-visible {
  animation: scaleUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1;
  visibility: visible;
}

/* Animazione Scale In per CTA - Effetto bounce elastico */
.animate-scale-in.is-visible {
  animation: scaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 1;
  visibility: visible;
}

.animate-zoom-in.is-visible {
  animation: zoomIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1;
  visibility: visible;
}

.animate-slide-in-up.is-visible {
  animation: slideInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1;
  visibility: visible;
}

.animate-bounce-in.is-visible {
  animation: bounceIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1;
  visibility: visible;
}

.animate-rotate-in.is-visible {
  animation: rotateIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1;
  visibility: visible;
}

/* Ritardi per animazioni staggered */
.delay-100 {
  animation-delay: 0.1s !important;
}

.delay-150 {
  animation-delay: 0.15s !important;
}

.delay-200 {
  animation-delay: 0.2s !important;
}

.delay-250 {
  animation-delay: 0.25s !important;
}

.delay-300 {
  animation-delay: 0.3s !important;
}

.delay-350 {
  animation-delay: 0.35s !important;
}

.delay-400 {
  animation-delay: 0.4s !important;
}

.delay-450 {
  animation-delay: 0.45s !important;
}

.delay-500 {
  animation-delay: 0.5s !important;
}

.delay-550 {
  animation-delay: 0.55s !important;
}

.delay-600 {
  animation-delay: 0.6s !important;
}

.delay-650 {
  animation-delay: 0.65s !important;
}

.delay-700 {
  animation-delay: 0.7s !important;
}

.delay-750 {
  animation-delay: 0.75s !important;
}

.delay-800 {
  animation-delay: 0.8s !important;
}

/* Classe per elementi visibili - rimossa perché gestita sopra */

/* Smooth scroll gestito in index.css */

/* Le transizioni sono definite per ogni componente nel suo CSS */

/* Animazione hover per card generiche */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

/* Animazione glow per elementi interattivi */
.hover-glow {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
  transform: scale(1.02);
}
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999999 !important;
  isolation: isolate;
  transition: all 0.3s ease;
  padding: 15px 0;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

.navbar.solid-bg {
  background: #000000 !important;
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

/* Layout Navbar (Menu Diviso) - Solo Desktop */
@media (min-width: 1301px) {
  .navbar .navbar-container {
    position: relative;
    /* justify-content non serve più perché nav-menu è largo 100% */
  }

  .navbar .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }

  .navbar .logo-image {
    /* Rimosso scale(1.3) per usare dimensioni reali e non sbavare */
    transform: none;
  }

  .navbar .nav-menu {
    width: 100%;
    display: flex;
  }

  .nav-left,
  .nav-right {
    display: flex;
    flex: 1 1;
    gap: 20px;
    /* Spazio ridotto tra i singoli link */
    align-items: center;
  }

  .nav-left {
    justify-content: flex-end;
    padding-right: 100px;
    /* Gap proporzionato al logo più piccolo */
  }

  .nav-right {
    justify-content: flex-start;
    padding-left: 100px;
  }
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo-image {
  height: 45px;
  /* Ridotto da 60px */
  width: auto;
  transition: all 0.3s ease;
  /* Ottimizzazioni per performance */
  will-change: transform;
  contain: layout style paint;
}

.navbar.scrolled .logo-image {
  height: 38px;
  /* Ridotto allo scroll */
  width: auto;
}

/* Forza dimensioni fisse pulsante anche quando navbar è scrolled */
.navbar.scrolled .cta-button {
  padding: 0 !important;
  padding-left: 12px !important;
  font-size: 0.7rem !important;
  min-width: 110px !important;
  max-width: 110px !important;
  width: 110px !important;
  height: 28px !important;
  line-height: 28px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

.logo-text {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #06B6D4, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: #fff;
  margin-top: -5px;
}

.nav-menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: #ffffff;
  /* White text when transparent */
  text-decoration: none;
  font-size: 0.95rem;
  /* Leggermente ridotto per far spazio */
  font-weight: 600;
  /* Leggermente più marcato per maggiore leggibilità */
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-promo-link {
  background: #0ea5e9;
  color: #ffffff !important;
  padding: 4px 12px !important;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.9rem !important;
  white-space: nowrap !important;
  /* Forza il testo su una sola riga */
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}

/* Gestione testo a capo su desktop, in linea su mobile */
.desktop-break {
  display: block;
}
@media (max-width: 1300px) {
  .desktop-break {
    display: none;
  }
}

.nav-promo-link::after {
  display: none !important;
  /* Rimuove la linea sotto al passaggio del mouse tipica degli altri link */
}

.nav-promo-link::before {
  content: 'NEW';
  position: absolute;
  top: -10px;
  right: -8px;
  background-color: #1e293b;
  /* Blu scuro elegante */
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 8px;
  letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(30, 41, 59, 0.5);
  z-index: 10;
}

.nav-promo-link:hover {
  background: #0284c7;
  transform: translateY(-2px);
  color: #ffffff !important;
}


.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #38BDF8;
  transition: width 0.3s ease;
}

@media (hover: hover) {
  .nav-link:hover::after {
    width: 100%;
  }

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

.nav-link.active {
  color: #38BDF8;
}

.nav-link.active::after {
  width: 100%;
}

.navbar .cta-button {
  background: linear-gradient(135deg, #06B6D4, #38BDF8) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0 !important;
  padding-left: 12px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border-radius: 6px !important;
  min-width: 110px !important;
  max-width: 110px !important;
  width: 110px !important;
  height: 28px !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  box-sizing: border-box !important;
  line-height: 28px !important;
}

.navbar .cta-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 20px rgba(6, 182, 212, 0.4) !important;
}

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

.hamburger span {
  width: 25px;
  height: 2px;
  background: #ffffff;
  /* White lines when transparent */
  transition: all 0.3s ease;
}

.navbar.scrolled .hamburger span {
  background: #ffffff;
  /* White lines when black background */
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 1300px) {

  /* Su mobile la navbar diventa nera allo scroll */
  .navbar.scrolled {
    background: #000000 !important;
  }

  /* Quando il menu è aperto, estendi la navbar per coprire il gap e rendila nera */
  .navbar.menu-open {
    min-height: 90px !important;
    padding-bottom: 25px !important;
    box-shadow: none !important;
    background: #000000 !important;
  }

  .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* I wrapper nel menu mobile spariscono strutturalmente */
  .nav-left,
  .nav-right {
    display: contents;
  }

  .nav-menu {
    position: fixed !important;
    left: -100% !important;
    top: 90px !important;
    flex-direction: column !important;
    background: #000000 !important;
    width: 100% !important;
    height: calc(100vh - 90px) !important;
    text-align: center !important;
    transition: left 0.3s ease !important;
    padding: 20px 0 !important;
    gap: 0 !important;
    z-index: 998 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .nav-menu .nav-link {
    padding: 20px 0 !important;
    font-size: 1.2rem !important;
    width: 100% !important;
    display: block !important;
    color: #fff !important;
    flex-shrink: 0 !important;
  }

  /* Rendi il bottone promozionale blu (Fitness Online) più piccolo e centrato su mobile */
  .nav-menu .nav-promo-link {
    width: auto !important;
    display: inline-flex !important;
    padding: 12px 30px !important;
    margin: 10px auto !important;
    font-size: 1rem !important;
  }

  /* Evidenzia in azzurro chiaro SOLO la pagina attiva nel menu mobile */
  .nav-menu .nav-link.active {
    color: #38BDF8 !important;
    font-weight: 700 !important;
  }

  /* Nessun hover persistente su mobile per evitare l'effetto sticky */
  @media (hover: hover) {
    .nav-menu .nav-link:hover {
      color: #38BDF8 !important;
    }
  }

  /* Nascondi la linea gialla sotto i link nel menu mobile */
  .nav-menu .nav-link::after {
    display: none !important;
  }

  .nav-menu.active {
    left: 0 !important;
  }

  .hamburger {
    display: flex;
    order: 2;
  }

  .navbar .cta-button {
    padding: 0 !important;
    padding-left: 12px !important;
    font-size: 0.7rem !important;
    order: 1 !important;
    margin-right: 15px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    width: 110px !important;
    height: 28px !important;
    line-height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
}
.footer {
  background: #000000;
  border-top: 1px solid rgba(6, 182, 212, 0.2);
  padding: 80px 5% 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #06B6D4, transparent);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  grid-gap: 40px;
  gap: 40px;
  margin-bottom: 60px;
  align-items: start;
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 25px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.footer-logo-text {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #06B6D4, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo-subtitle {
  font-size: 0.9rem;
  letter-spacing: 4px;
  color: #ffffff;
  margin-top: -5px;
}

.footer-description {
  font-size: 0.95rem;
  color: #cccccc;
  line-height: 1.7;
  font-weight: 300;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #cccccc;
  transition: color 0.3s ease;
}

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-section ul li a:hover {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  transform: translateX(5px);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(6, 182, 212, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0;
}

.footer-credit .highlight {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

@media (max-width: 1400px) {
  .footer {
    padding: 60px 4% 30px;
  }
  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 50px;
  }
  
  /* Logo spans full width and centers */
  .footer-section:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }
  
  .footer-logo {
    align-items: center;
  }
  
  .footer-description {
    margin: 0 auto;
  }

  /* Center Contatti in the last row */
  .footer-section:last-child {
    grid-column: 1 / -1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-section:last-child ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 992px) {
  .footer {
    padding: 50px 5% 25px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-logo {
    align-items: center;
  }
  
  .footer-section ul li a:hover {
    transform: translateX(0);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* ===== STILI PULSANTE WHATSAPP ===== */

/* Pulsante fisso in basso a destra */
.whatsapp-button {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  width: 60px !important;
  height: 60px !important;
  background-color: #FFFFFF !important;
  border: 2px solid #06B6D4 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 9999 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Effetto hover */
.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4) !important;
  background-color: #FFFFFF !important;
}

/* Effetto click */
.whatsapp-button:active {
  transform: scale(0.95);
}

/* Icona WhatsApp */
.whatsapp-icon {
  width: 32px;
  height: 32px;
  color: #0284C7 !important; /* Icona sempre blu */
  transition: transform 0.3s ease;
}

.whatsapp-button:hover .whatsapp-icon {
  transform: scale(1.1);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .whatsapp-button {
    width: 55px !important;
    height: 55px !important;
    bottom: 20px !important;
    right: 20px !important;
  }
  
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

/* Animazione pulse - usa transform+opacity (GPU-compositable, no box-shadow) */
@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.whatsapp-button {
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-button:hover {
  animation: none;
}

/* ===== HOME PAGE STYLES ===== */

.home-container {
  width: 100%;
  min-height: 100vh;
  padding-top: 0;
  /* Remove top padding to let video reach the top */
}

/* ===== HERO SECTION VIDEO ===== */
.home-hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: clip; /* clip taglia visivamente senza creare scroll container */
  display: flex;
  align-items: center;
  background-color: #000;
}

/* Video Background */
.home-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  /* Ensures video covers the whole area */
  z-index: 0;
}

/* Overlay for text readability (similar to Virgin Active) */
.home-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  z-index: 1;
}

/* Content Container */
.home-hero-content {
  position: relative;
  z-index: 2;
  padding-left: 10%;
  max-width: 800px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Hero entrance - sempre visibile, nessun opacity:0 iniziale (evita penalità LCP) */
@keyframes heroEntrance {
  from {
    opacity: 0.01; /* valore > 0 per non nascondere l'elemento */
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-entrance {
  animation: heroEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-subtitle-red {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  /* Brand Blue */
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-family: inherit;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 300;
  margin: 0 0 20px 0;
  line-height: 1.1;
  color: #ffffff;
  font-family: inherit;
}

.hero-address {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 15px;
  color: #ffffff;
}

.red-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  border-radius: 50%;
  margin-right: 10px;
}

.hero-description {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 30px;
  max-width: 500px;
  color: #ffffff;
}

/* Call to Action Button */
.hero-cta-btn {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  color: #ffffff;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  text-align: center;
}

.hero-cta-btn:hover {
  background-color: #0891b2;
  /* Darker blue on hover */
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 1170px) {
  .home-hero-content {
    padding-left: 5%;
    padding-right: 5%;
  }

  .hero-title {
    font-size: 3.5rem;
  }
}

/* Media Queries per Mobile */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle-red {
    font-size: 1rem;
  }

  .hero-address {
    font-size: 0.95rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .home-hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
  }
  
  .hero-promo-wrapper {
    margin-top: 100px;
    gap: 100px;
  }
}

/* Fix size of promotional sections for mobile */
@media (max-width: 700px) {
  .hero-promo-wrapper {
    margin-top: 130px;
    gap: 40px;
  }

  .hero-promo-box {
    padding: 20px;
    max-width: 90%;
    margin: 0 auto;
    border-radius: 15px;
  }

  .hero-fitness-title {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .hero-promo-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .hero-promo-desc {
    font-size: 0.8rem;
    margin-bottom: 15px;
  }

  .hero-cta-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* --- App Promo Hero Additions --- */
.hero-promo-wrapper {
  max-width: none;
  width: 100%;
  padding-right: 10%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-promo-box {
  position: relative;
  flex: 0 1 auto;
  width: 100%;
  max-width: 450px;
  background: rgba(15, 23, 42, 0.65);
  padding: 35px;
  border-radius: 20px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}

.hero-promo-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #0ea5e9;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  z-index: 10;
}

.hero-promo-title {
  font-size: 1.9rem;
  margin-bottom: 12px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.3;
}

.hero-promo-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 25px;
}

.hero-fitness-title {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 1374px) {
  .hero-promo-wrapper {
    padding-right: 5%;
    padding-left: 5%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin-top: 130px;
  }
  .hero-left-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-address {
    justify-content: center;
  }
  .hero-promo-box {
    max-width: 600px;
    width: 100%;
    padding: 30px;
    height: max-content !important;
    flex: 0 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-promo-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }
  .hero-promo-desc {
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
  }
  .hero-fitness-title {
    font-size: 1.4rem;
  }
}

/* ===== HOME STATS SECTION ===== */
.home-stats-section {
  background-color: #F8FAFC;
  /* Sfondo chiaro simile allo screenshot */
  padding: 80px 5%;
  font-family: inherit;
}

.stats-header {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.stats-header h2 {
  font-size: 2.5rem;
  color: #111827;
  /* Testo scuro */
  margin-bottom: 15px;
  font-weight: 700;
}

.stats-header h2 span {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  /* Brand Blue */
}

.stats-header p {
  color: #4B5563;
  /* Grigio per il testo descrittivo */
  font-size: 1.1rem;
  max-width: 700px;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  /* Ombra molto leggera */
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  /* Brand Blue */
  margin-bottom: 10px;
}

.stat-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 15px;
}

.stat-desc {
  font-size: 0.95rem;
  color: #6B7280;
  line-height: 1.6;
}

/* Media Queries per Sezione Statistiche */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-stats-section {
    padding: 60px 5%;
  }

  .stats-header h2 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 30px 20px;
  }
}

/* ===== HOME CHOOSE SECTION ===== */
.home-choose-section {
  padding: 100px 5%;
  background: linear-gradient(135deg, #38BDF8 0%, #0ea5e9 100%);
  color: #ffffff;
  font-family: inherit;
}

.choose-container {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* IMAGE WRAPPER (Left) */
.choose-image-wrapper {
  flex: 1 1;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.choose-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  z-index: 1;
  pointer-events: none;
}

.choose-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.6s ease;
}

.choose-image-wrapper:hover .choose-image {
  transform: scale(1.05);
}

/* CONTENT (Right) */
.choose-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.choose-content h2 {
  font-size: 2.8rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.choose-content h2 span {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: border-box;
  background-clip: initial;
  color: #0f172a;
}

.choose-main-desc {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 35px;
}

.choose-highlight {
  margin-bottom: 35px;
  padding-left: 20px;
  border-left: 4px solid #0f172a;
}

.highlight-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: border-box;
  background-clip: initial;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.choose-highlight p {
  font-size: 1.05rem;
  color: #0f172a;
  font-weight: 500;
  line-height: 1.6;
}

.choose-cta-btn {
  background-color: #0f172a;
  /* Bottone scuro come nello screenshot */
  color: #FFFFFF !important;
  padding: 16px 40px;
  border-radius: 40px;
  /* Forma a pillola */
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
}

.choose-cta-btn:hover {
  background-color: #111827;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  color: #FFFFFF !important;
}

/* Responsive */
@media (max-width: 1170px) {
  .choose-container {
    flex-direction: column;
    gap: 50px;
  }

  .choose-image-wrapper {
    width: 100%;
    max-width: 700px;
  }

  .choose-content h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 992px) {
  .choose-image-wrapper {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .home-choose-section {
    padding: 70px 5%;
  }

  .choose-content h2 {
    font-size: 2.2rem;
  }

  .choose-main-desc {
    font-size: 1.05rem;
  }
}

/* ===== HOME ROOMS SECTION (Stacked Slider) ===== */
.home-rooms-section {
  padding: 100px 5%;
  background-color: #FFFFFF;
  font-family: inherit;
  contain: layout; /* Isola il layout di questa sezione dal resto della pagina */
}

.rooms-container {
  display: flex;
  align-items: center;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 420px; /* Previene layout shift da ridimensionamenti interni */
}

/* TEXT CONTENT (Left) */
.rooms-text-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.rooms-text-content h2 {
  font-size: 2.8rem;
  color: #111827;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.rooms-text-content h2 span {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.rooms-main-desc {
  font-size: 1.15rem;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 40px;
}

.rooms-cta-btn {
  background-color: #1F2937;
  color: #FFFFFF !important;
  padding: 16px 40px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
}

.rooms-cta-btn:hover {
  background-color: #111827;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  color: #FFFFFF !important;
}

/* SLIDER WRAPPER (Right) */
.rooms-slider-wrapper {
  flex: 1.2 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 20px;
}

.stacked-slider {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4/3;
  margin-bottom: 50px;
  overflow: hidden; /* Contiene i layer ruotati */
  border-radius: 24px;
}

.stack-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  transition: all 0.4s ease;
}

.layer-blue {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  transform: rotate(6deg) translate(25px, 10px);
  z-index: 1;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
  pointer-events: none; /* Non intercetta mai mouse/touch */
}

.layer-dark {
  background-color: #2D3748;
  transform: rotate(-5deg) translate(-25px, 5px);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  pointer-events: none; /* Non intercetta mai mouse/touch */
}

.layer-top {
  background-color: #FFFFFF;
  z-index: 3;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 4px solid #0ea5e9;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* Controls */
.slider-controls {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #DBEAFE;
  /* Azzurro chiarissimo */
  color: #06B6D4;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  color: #FFFFFF;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

.slider-btn:active {
  transform: scale(0.95);
}

/* Responsive */
@media (max-width: 1170px) {
  .rooms-container {
    flex-direction: column;
    gap: 60px;
  }

  .rooms-slider-wrapper {
    width: 100%;
    margin-right: 0;
    margin-top: 30px;
  }

  .stacked-slider {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  /* adjustments for smaller */
}

@media (max-width: 992px) {
  /* adjustments */
}

@media (max-width: 768px) {
  .home-rooms-section {
    padding: 70px 5%;
  }

  .rooms-text-content h2 {
    font-size: 2.2rem;
  }

  .layer-blue {
    transform: rotate(4deg) translate(15px, 10px);
  }

  .layer-dark {
    transform: rotate(-3deg) translate(-15px, 5px);
  }
}

/* ========================================= */
/* --- TRAINERS SECTION --- */
/* ========================================= */
.home-trainers-section {
  padding: 80px 5%;
  background-color: #ffffff;
}

.trainers-header {
  max-width: 1400px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.trainers-header h2 {
  font-size: 2.2rem;
  color: #1e293b;
  font-weight: 300;
  line-height: 1.2;
  margin: 0;
}

.trainers-header h2 strong {
  font-weight: 900;
  display: block;
}

.trainers-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.trainers-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FFFFFF;
  color: #0284C7;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.trainers-nav-btn:hover {
  background-color: #0284C7;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.trainers-nav-prev {
  left: -20px;
}

.trainers-nav-next {
  right: -20px;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.trainers-scroll-grid {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.trainers-scroll-grid::-webkit-scrollbar {
  display: none;
}

.trainer-card {
  flex: 0 0 auto;
  width: 280px;
  height: 280px;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  background-color: #f1f5f9;
}

.trainer-img-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.trainer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.trainer-card:hover .trainer-img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.trainer-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 20px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.trainer-role {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.trainer-name {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
}

/* ========================================= */
/* --- FITNESS ONLINE SECTION (HOME) --- */
/* ========================================= */
.home-online-section {
  padding: 80px 5%;
  background-color: #ffffff;
  color: #111827;
}

.online-section-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 60px;
  gap: 60px;
  align-items: center;
}

.online-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  color: #111827;
}

.online-desc {
  font-size: 1.15rem;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 40px;
}

.online-desc strong {
  color: #111827;
}

.home-online-btn {
  display: inline-block;
  background-color: #1F2937;
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.home-online-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  background-color: #111827;
  color: #ffffff;
}

.online-image-block {
  position: relative;
}

.online-promo-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 1170px) {
  .online-section-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

@media (max-width: 992px) {
  /* Altre regole per 992px se necessarie in futuro */
}

@media (max-width: 768px) {
  .home-trainers-section {
    padding: 60px 5%;
  }

  .trainers-header h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .trainer-card {
    width: 250px;
    height: 250px;
  }

  .home-online-section {
    padding: 60px 5%;
  }

  .online-title {
    font-size: 2.2rem;
  }
}
