/* ===== STILI PAGINE ===== */
/* Stili condivisi per tutte le pagine del sito (ChiSiamo, Team, Corsi, Blog, Informazioni) */

/* ===== LAYOUT BASE ===== */
/* Container principale di tutte le pagine */
.page-container {
  min-height: 100vh;
  padding-top: 80px;
}

/* ===== HERO SECTION ===== */
/* Sezione hero in cima ad ogni pagina con gradiente scuro */
.page-hero {
  height: 50vh;
  min-height: 400px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Overlay con blur e gradiente */
.page-hero::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  transform: scale(1.1);
  z-index: 0;
  /* Forza visibilità immediata del background */
  opacity: 1 !important;
  animation: none !important;
}

/* Overlay scuro per leggibilità */
.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    rgba(0, 0, 0, 0.65);
  z-index: 1;
  /* Forza visibilità immediata dell'overlay */
  opacity: 1 !important;
  animation: none !important;
}

/* Contenuto centrato dell'hero */
.page-hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Titolo principale con gradiente oro */
.page-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #06B6D4, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sottotitolo dell'hero */
.page-subtitle {
  font-size: 1.5rem;
  color: #4B5563;
  font-weight: 300;
  letter-spacing: 2px;
}

/* ===== CONTENUTO PRINCIPALE ===== */
/* Area contenuto sotto l'hero */
.page-content {
  padding: 100px 5%;
  background: #FFFFFF;
}

/* ===== CONTAINERS IMMAGINI ===== */
/* Container per immagine principale Chi Siamo */
.chi-siamo-image-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 60px;
  overflow: hidden;
  border: 2px solid rgba(6, 182, 212, 0.3);
  border-radius: 8px;
}

/* Immagine principale responsive con hover */
.chi-siamo-main-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.chi-siamo-main-image:hover {
  transform: scale(1.02);
}

/* Container immagine tabella orari */
.schedule-image-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid rgba(6, 182, 212, 0.3);
  border-radius: 8px;
}

/* Immagine orari responsive */
.schedule-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Container immagine regolamento */
.rules-image-container {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  overflow: hidden;
  border: 2px solid rgba(6, 182, 212, 0.3);
  border-radius: 8px;
}

/* Immagine regolamento responsive */
.rules-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Media query per mobile - mantieni dimensione più grande */
@media (max-width: 768px) {
  .rules-image-container {
    max-width: 100%;
  }
}

/* ===== STILI TESTO ===== */
/* Testo informativo pagamenti */
.payment-info {
  color: #4B5563;
  font-size: 1.1rem;
  text-align: center;
  padding: 20px;
  line-height: 1.6;
}

/* Dettaglio rate */
.rate-detail {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 0.95rem;
  text-align: center;
  margin-top: -10px;
  font-weight: 600;
}

/* Sezione informazioni centrata */
.info-section-centered {
  text-align: center;
}

.info-section-centered h2 {
  text-align: center;
  margin-bottom: 40px;
}

.info-section-centered .rules-list {
  max-width: 1000px;
  margin: 0 auto;
}

.info-section-centered .rules-list h3 {
  text-align: center;
}

.info-section-centered .pricing-cards {
  max-width: 1200px;
  margin: 0 auto;
}

.info-section-centered .schedule-image-container {
  margin: 0 auto;
}

/* Media query specifica per TABLET - iPad incluso (768px - 1080px) - SEZIONE ABBONAMENTI */
@media (min-width: 768px) and (max-width: 1080px) {
  /* Riduce dimensioni hero abbonamenti */
  .page-hero {
    min-height: 300px;
    height: 40vh;
  }
  
  .page-title {
    font-size: 2.8rem;
  }
  
  .page-subtitle {
    font-size: 1.1rem;
  }
  
  /* Riduce padding contenuto abbonamenti */
  .page-content {
    padding: 60px 4%;
  }
  
  /* Riduce dimensioni sezione info abbonamenti */
  .info-section h2 {
    font-size: 2rem;
  }
  
  .info-section .section-description {
    font-size: 0.95rem;
  }
  
  /* CORREGGE layout pricing-cards per evitare overflow su tablet */
  .pricing-cards {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 0 20px;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .price-card {
    padding: 30px 25px;
    margin: 0;
  }
  
  .price-card h3 {
    font-size: 1.6rem;
  }
  
  .price-card .price {
    font-size: 2.5rem;
  }
  
  .price-card .price span {
    font-size: 1.1rem;
  }
  
  .price-card .payment-info {
    font-size: 0.9rem;
  }
  
  .price-card .rate-detail {
    font-size: 0.85rem;
  }
  
  /* Riduce dimensioni info abbonamenti */
  .pricing-info {
    margin-top: 40px;
    padding: 0 20px;
  }
  
  .pricing-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .info-list {
    font-size: 0.9rem;
  }
  
  .info-list li {
    padding: 12px 15px;
    margin-bottom: 12px;
  }
  
  .info-list strong {
    font-size: 0.95rem;
  }
}

/* Media query specifico per TABLET in LANDSCAPE (orizzontale) - OTTIMIZZATO */
@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  /* RIDUCE hero in landscape per ottimizzare spazio verticale */
  .page-hero {
    min-height: 250px !important;
    height: 35vh !important;
  }
  
  .page-title {
    font-size: 2.4rem !important;
    margin-bottom: 15px !important;
  }
  
  .page-subtitle {
    font-size: 1rem !important;
  }
  
  /* RIDUCE padding contenuto per evitare overflow in landscape */
  .page-content {
    padding: 40px 3% !important;
  }
  
  /* OTTIMIZZA sezione info abbonamenti in landscape */
  .info-section h2 {
    font-size: 1.8rem !important;
    margin-bottom: 25px !important;
  }
  
  .info-section .section-description {
    font-size: 0.9rem !important;
    margin-bottom: 25px !important;
  }
  
  /* RIDUCE ulteriormente pricing-cards in landscape */
  .pricing-cards {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
    padding: 0 15px !important;
    max-width: 100% !important;
  }
  
  .price-card {
    padding: 20px 15px !important;
  }
  
  .price-card h3 {
    font-size: 1.3rem !important;
    margin-bottom: 12px !important;
  }
  
  .price-card .price {
    font-size: 2rem !important;
    margin-bottom: 15px !important;
  }
  
  .price-card .price span {
    font-size: 0.9rem !important;
  }
  
  .price-card .payment-info {
    font-size: 0.8rem !important;
    margin-top: 8px !important;
  }
  
  .price-card .rate-detail {
    font-size: 0.75rem !important;
  }
  
  /* RIDUCE pricing-info in landscape */
  .pricing-info {
    margin-top: 30px !important;
    padding: 0 15px !important;
  }
  
  .pricing-info h3 {
    font-size: 1.3rem !important;
    margin-bottom: 15px !important;
  }
  
  .info-list {
    font-size: 0.85rem !important;
  }
  
  .info-list li {
    padding: 10px 12px !important;
    margin-bottom: 8px !important;
  }
  
  .info-list strong {
    font-size: 0.85rem !important;
  }
}

/* Testo introduttivo centrato */
.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.intro-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4B5563;
}

/* ===== SEZIONE STORIA (CHI SIAMO) ===== */
/* Griglia storia con testo a sinistra e foto fondatore a destra */
.storia-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 60px;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.storia-content h2 {
  font-size: 2.5rem;
  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;
}

.storia-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4B5563;
}

/* Container immagine fondatore */
.storia-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.founder-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid rgba(6, 182, 212, 0.3);
  transition: transform 0.4s ease;
}

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

/* ===== SEZIONE MISSIONE (CHI SIAMO) ===== */
/* Griglia missione con immagine a sinistra e testo a destra */
.missione-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-gap: 60px;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

/* Container immagine palestra */
.missione-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.chi-siamo-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid rgba(6, 182, 212, 0.3);
  transition: transform 0.4s ease;
}

.chi-siamo-image:hover {
  transform: scale(1.05);
}

.missione-content h2 {
  font-size: 2.5rem;
  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;
}

.missione-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4B5563;
}

/* ===== LISTA CARATTERISTICHE ===== */
/* Lista stilizzata delle caratteristiche della palestra */
.caratteristiche-list {
  list-style: none;
  padding: 0;
}

.caratteristiche-list li {
  padding: 15px 20px;
  margin-bottom: 15px;
  background: rgba(6, 182, 212, 0.05);
  border-left: 4px solid #0284C7;
  color: #4B5563;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.caratteristiche-list li:hover {
  background: rgba(6, 182, 212, 0.1);
  transform: translateX(10px);
}

/* ===== GRIGLIA CONTENUTO ===== */
/* Layout a due colonne per contenuto principale e sidebar */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 60px;
  gap: 60px;
}

.content-main h2 {
  font-size: 2rem;
  margin: 40px 0 20px 0;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.content-main p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4B5563;
  margin-bottom: 25px;
}

/* Griglia valori aziendali */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
  gap: 30px;
  margin: 40px 0;
}

.value-card {
  padding: 30px;
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  background: rgba(6, 182, 212, 0.1);
}

.value-card h3 {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.value-card p {
  color: #6B7280;
  font-size: 1rem;
  margin: 0;
}

/* ===== SIDEBAR ===== */
/* Sidebar sticky con info rapide e certificazioni */
.content-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-card {
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 12px;
}

.sidebar-card h3 {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
}

.sidebar-card li {
  padding: 10px 0;
  color: #4B5563;
  border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

.sidebar-card li:last-child {
  border-bottom: none;
}

/* ===== GRIGLIA TEAM ===== */
/* Griglia responsive per card membri del team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 40px;
  gap: 40px;
  margin-bottom: 80px;
}

/* Card singolo membro del team */
.team-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
  border: 2px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: #0284C7;
  box-shadow: 0 10px 40px rgba(6, 182, 212, 0.3);
}

.team-photo {
  height: 450px;
  background: #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.team-card:hover .team-member-photo {
  transform: scale(1.05);
}

/* Placeholder circolare per foto membro (fallback) */
.photo-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.1);
  border: 3px solid #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-initial {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Sezione informazioni membro */
.team-info {
  padding: 30px;
}

.team-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #1F2937;
}

.team-role {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.team-details {
  margin: 20px 0;
}

.team-details p {
  font-size: 0.95rem;
  color: #6B7280;
  margin: 10px 0;
}

/* Pulsante per contattare il trainer */
.contact-trainer {
  width: 100%;
  padding: 12px;
  background: transparent;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  border: 2px solid #0284C7;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  border-radius: 8px;
}

.contact-trainer:hover {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  color: #ffffff;
}

/* ===== SEZIONI CATEGORIE CORSI ===== */
/* Sezione per ogni categoria di corso (Fitness, Ginnastica, ecc.) */
.category-section {
  margin-bottom: 80px;
}

.category-title {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #06B6D4, transparent);
}

/* ===== GRIGLIA CORSI ===== */
/* Griglia responsive per card corsi */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 40px;
  gap: 40px;
  margin-bottom: 40px;
}

/* Card singolo corso */
.course-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
  border: 2px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  padding: 35px;
  transition: all 0.4s ease;
  cursor: pointer;
}

.course-card:hover,
.course-card:active {
  transform: translateY(-5px);
  border-color: #0284C7;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(56, 189, 248, 0.05) 100%);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.course-header h3 {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.course-level {
  font-size: 0.8rem;
  color: #1F2937;
  background: rgba(6, 182, 212, 0.2);
  padding: 5px 15px;
  border-radius: 20px;
}

/* Descrizione del corso */
.course-description {
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Dettagli del corso (durata, livello, ecc.) */
.course-details {
  margin: 20px 0;
}

.detail-item {
  color: #6B7280;
  margin: 10px 0;
  font-size: 0.95rem;
}

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

/* Benefici del corso */
.course-benefits {
  margin: 25px 0;
}

.course-benefits strong {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 0.95rem;
}

.benefits-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.benefit-tag {
  background: rgba(6, 182, 212, 0.1);
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  padding: 8px 15px;
  font-size: 0.85rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Pulsante azione corso */
.course-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #06B6D4, #38BDF8);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

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

/* ===== PAGINA INFORMAZIONI ===== */
/* Griglia sezioni informative */
.info-grid {
  display: grid;
  grid-gap: 60px;
  gap: 60px;
  width: 100%;
  max-width: 100%;
}

.info-section {
  background: rgba(6, 182, 212, 0.02);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 50px;
  border-radius: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.info-section-centered {
  text-align: center;
}

.info-section h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 40px;
}

/* Tabella orari di apertura */
.schedule-table {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.1);
}

.schedule-row.highlight {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
}

.day {
  font-weight: 600;
  color: #1F2937;
  font-size: 1.1rem;
}

.time {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ===== CARD PREZZI ===== */
/* Griglia card abbonamenti */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
  gap: 30px;
  max-width: 100%;
  margin: 0 auto;
}

/* Card singolo abbonamento */
.price-card {
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  min-width: 0;
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-10px) scale(1.05);
}

.price-card h3 {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  word-wrap: break-word;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: #1F2937;
  margin-bottom: 30px;
}

.price span {
  font-size: 1.2rem;
  color: #6B7280;
}

.payment-info {
  color: #4B5563;
  font-size: 0.95rem;
  margin-top: 15px;
}

.price-card ul {
  list-style: none;
  padding: 0;
}

.price-card li {
  padding: 12px 0;
  color: #4B5563;
  border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

/* Mobile responsive per card prezzi */
@media (max-width: 1024px) {
  .pricing-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .price-card {
    padding: 30px 20px;
  }
  
  .price-card h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 500px;
  }
  
  .price-card {
    padding: 35px 25px;
  }
  
  .price-card h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .pricing-cards {
    gap: 15px;
  }
  
  .price-card {
    padding: 30px 20px;
  }
  
  .price-card h3 {
    font-size: 1.4rem;
  }
  
  .payment-info {
    font-size: 0.9rem;
  }
}

/* Informazioni sulla location */
.location-info h3 {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin: 30px 0 15px 0;
  font-size: 1.3rem;
}

.location-info p {
  color: #4B5563;
  line-height: 1.8;
}

/* ===== LISTA REGOLE ===== */
/* Sezione regolamento palestra */
.rules-list h3 {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin: 30px 0 20px 0;
}

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

.rules-list li {
  padding: 12px 0 12px 30px;
  color: #4B5563;
  position: relative;
  line-height: 1.6;
}

.rules-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 1.2rem;
}

/* Lista FAQ (Domande Frequenti) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.faq-item {
  padding: 25px;
  background: rgba(6, 182, 212, 0.05);
  border-left: 3px solid #0284C7;
}

.faq-item h4 {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.faq-item p {
  color: #4B5563;
  line-height: 1.7;
}

/* ===== DETTAGLI CONTATTO ===== */
/* Informazioni di contatto */
.contact-details p {
  color: #4B5563;
  margin: 15px 0;
  font-size: 1.1rem;
}

/* Container per la mappa Google Maps embedded */
.map-container {
  margin-top: 40px;
  width: 100%;
}

.map-container h3 {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 2px solid rgba(6, 182, 212, 0.3);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

/* Link social media nella pagina info */
.social-links-info {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-links-info a {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-links-info a:hover {
  color: #38BDF8;
}

/* ===== SEZIONI CTA ===== */
/* Call to action per prenotazione e orari */
.cta-section,
.schedule-info {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), transparent);
  border: 2px solid rgba(6, 182, 212, 0.2);
  margin-top: 80px;
  border-radius: 12px;
}

.cta-section h2,
.schedule-info h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.cta-section p,
.schedule-info p {
  font-size: 1.2rem;
  color: #4B5563;
  margin-bottom: 40px;
}

/* Pulsante CTA grande */
.cta-button-large {
  background: linear-gradient(135deg, #06B6D4, #38BDF8);
  color: #ffffff;
  border: none;
  padding: 20px 50px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  border-radius: 8px;
}

.cta-button-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

/* ===== MEDIA QUERIES RESPONSIVE ===== */
/* Stili per tablet (1024px e inferiori) */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .price-card {
    padding: 25px 20px;
    margin: 0 10px;
  }
  
  .price-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

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

/* Stili per mobile (768px e inferiori) */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }

  .page-subtitle {
    font-size: 1.2rem;
  }

  .page-content {
    padding: 60px 5%;
  }

  .storia-section,
  .missione-section {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
  }

  .storia-content h2,
  .missione-content h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .storia-content p,
  .missione-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .founder-image,
  .chi-siamo-image {
    width: 100%;
    max-width: none;
  }

  .content-main h2 {
    font-size: 1.6rem;
  }

  .content-main p {
    font-size: 0.9rem;
  }

  .caratteristiche-list li {
    font-size: 0.9rem;
    padding: 12px 15px;
  }

  .sidebar-card h3 {
    font-size: 1rem;
  }

  .sidebar-card li {
    font-size: 0.85rem;
  }

  /* Team cards responsive */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .team-photo {
    height: 350px;
  }

  .team-info {
    padding: 25px 20px;
  }

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

  .info-section {
    padding: 30px 20px;
  }
}

/* ===== MODAL IMMAGINI ===== */
/* Immagini cliccabili per ingrandimento */
.clickable-image {
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.clickable-image:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

/* Link per download immagine */
.download-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.85rem;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  transition: color 0.3s ease;
}

.download-link:hover {
  color: #38BDF8;
  text-decoration: underline;
}

/* Overlay scuro del modal */
.image-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.95);
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 99999;
  animation: fadeIn 0.3s ease;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0;
}

/* Contenitore immagine nel modal */
.image-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  animation: zoomIn 0.3s ease;
  padding: 20px;
  z-index: 100000;
  margin: auto;
}

/* Immagine ingrandita nel modal */
.modal-image {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(6, 182, 212, 0.3);
  border: 2px solid rgba(6, 182, 212, 0.5);
}

/* Bottone chiusura modal */
.modal-close-btn {
  position: absolute;
  top: -35px;
  right: 0;
  background: rgba(6, 182, 212, 0.9);
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 100001;
}

.modal-close-btn:hover {
  background: #FFF;
  transform: rotate(90deg);
}

/* Bottone download nel modal */
.modal-download-btn {
  padding: 12px 30px;
  background: linear-gradient(135deg, #06B6D4, #38BDF8);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.modal-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(6, 182, 212, 0.5);
}

/* ===== ANIMAZIONI MODAL ===== */
/* Animazione dissolvenza */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Animazione zoom con dissolvenza */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Stili modal per mobile */
@media (max-width: 768px) {
  .image-modal-overlay {
    padding: 0 !important;
    overflow: auto !important;
    position: fixed !important;
    touch-action: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }

  .image-modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 90vh;
    justify-content: center;
    gap: 10px;
    padding: 20px 10px;
    margin: auto;
    position: relative;
  }

  .modal-close-btn {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    position: absolute;
    z-index: 100002;
  }

  .modal-image {
    max-height: calc(90vh - 140px);
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .modal-download-btn {
    padding: 14px 28px;
    font-size: 1rem;
    position: relative;
    bottom: 0;
  }
}

/* ===== STILI PAGINA ABBONAMENTI ===== */
/* Descrizione sezione abbonamenti */
.section-description {
  text-align: center;
  color: #4B5563;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 60px;
}

/* Header card abbonamento */
.price-card .card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

/* Badge sulla card */
.card-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(6, 182, 212, 0.2);
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-badge.popular {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  color: #ffffff;
}

/* Lista caratteristiche abbonamento */
.price-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.price-features li {
  padding: 12px 0;
  color: #4B5563;
  font-size: 1rem;
  border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

/* Card featured rimosso - non più utilizzato */

/* Sezione informazioni prezzi */
.pricing-info {
  max-width: 1000px;
  margin: 80px auto 60px;
  padding: 40px;
  background: rgba(6, 182, 212, 0.03);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
}

.pricing-info h3 {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 20px 0;
  color: #4B5563;
  line-height: 1.8;
  border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list strong {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* Sezione CTA */
.cta-section {
  text-align: center;
  max-width: 800px;
  margin: 60px auto 0;
  padding: 60px 40px;
  background: linear-gradient(135deg, #06B6D4 0%, #0284c7 100%);
  border: none;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-section h3 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-section p {
  color: #ffffff;
  opacity: 0.95;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button.primary {
  background: #ffffff;
  color: #0284c7;
  border: none;
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.cta-button.secondary:hover {
  background: #ffffff;
  color: #0284c7;
  transform: translateY(-3px);
}

/* Responsive per pagina abbonamenti */
@media (max-width: 768px) {
  .page-content {
    padding: 50px 3%;
    overflow-x: hidden;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
    overflow-x: hidden;
  }
  
  .info-grid {
    gap: 40px;
  }
  
  .info-section {
    padding: 30px 20px;
    overflow-x: hidden;
  }
  
  .info-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  
  .info-section-centered {
    text-align: center;
  }

  .pricing-info {
    margin: 60px 20px 40px;
    padding: 30px 20px;
  }

  .pricing-info h3 {
    font-size: 1.5rem;
  }

  .info-list li {
    padding: 15px 0;
    font-size: 0.95rem;
  }

  .cta-section {
    margin: 40px 20px 0;
    padding: 40px 20px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .cta-section h3 {
    font-size: 1.6rem;
  }

  .cta-section p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .cta-button {
    padding: 14px 30px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 300px;
  }
  
  .cta-button-large {
    font-size: 0.95rem;
    padding: 16px 35px;
  }
}

@media (max-width: 480px) {
  .page-content {
    padding: 40px 3%;
    overflow-x: hidden;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .info-grid {
    gap: 30px;
  }
  
  .info-section {
    padding: 25px 15px;
    border-radius: 8px;
  }
  
  .info-section h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  
  .section-description {
    font-size: 0.95rem;
    padding: 0 10px;
    margin-bottom: 30px;
  }
  
  .info-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .section-description {
    font-size: 0.95rem;
    padding: 0 15px;
    margin-bottom: 35px;
  }
  
  .pricing-info {
    margin: 50px 15px 30px;
    padding: 25px 15px;
  }

  .pricing-info h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .info-list li {
    padding: 12px 0;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .info-list strong {
    font-size: 1rem;
  }

  .cta-section {
    margin: 35px 15px 0;
    padding: 35px 15px;
  }

  .cta-section h2 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 12px;
    word-wrap: break-word;
  }

  .cta-section p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
  }
  
  .cta-button-large {
    font-size: 0.85rem;
    padding: 14px 30px;
    width: 100%;
  }
}

.zoom-on-hover { transition: transform 0.35s ease; }
@media (hover: hover) { .zoom-on-hover:hover { transform: scale(1.05); } }
.zoom-on-hover-small { transition: transform 0.35s ease; }
@media (hover: hover) { .zoom-on-hover-small:hover { transform: scale(1.03); } }

/* ===== GLOBAL CTA SECTION ===== */
.global-cta-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #06B6D4 0%, #0284c7 100%);
  border-radius: 20px;
  max-width: 1000px;
  width: 90%;
  margin: 60px auto 100px auto;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.global-cta-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
}

.global-cta-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

.global-cta-btn {
  display: inline-block;
  background: #ffffff;
  color: #0284c7;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.global-cta-btn:hover {
  background-color: #111827;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .global-cta-section {
    padding: 40px 20px;
    margin: 40px 5% 80px 5%;
  }
  .global-cta-section h2 {
    font-size: 1.8rem;
  }
}

