/**
 * FIT24 - Visual Enhancements (CSS only, no backend changes)
 * Professional polish for homepage
 */

/* ─── Refined Section Labels ─── */
.section-label {
  letter-spacing: 4px !important;
  font-weight: 600 !important;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.reveal.visible .section-label { opacity: 1; }

/* ─── Hero Stats - Premium Card Style ─── */
@media (min-width: 769px) {
  .hero-stats {
    gap: 2rem !important;
  }
}
.hero-stats .stat {
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.hero-stats .stat:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 224, 71, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.hero-stats .stat-num {
  font-weight: 700;
  letter-spacing: 1px;
}

/* ─── Classes Grid - Refined Spacing ─── */
.classes-grid {
  gap: 24px !important;
}
.classes-section--photo .classes-grid.classes-grid--four {
  gap: 16px !important;
}
@media (max-width: 1024px) {
  .classes-section--photo .classes-grid.classes-grid--four {
    gap: 14px !important;
  }
}
@media (max-width: 768px) {
  .classes-section--photo .classes-grid.classes-grid--four {
    gap: 18px !important;
  }
}

/* ─── Class Cards - Refined Hover ─── */
.class-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}
.class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.class-hover {
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 1.5px;
}

/* ─── Plan Cards - Premium Feel ─── */
.plan-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(253, 224, 71, 0.15);
}
.plan-card.featured {
  box-shadow: 0 0 0 1px rgba(253, 224, 71, 0.2), 0 16px 40px rgba(0, 0, 0, 0.3);
}
.plan-card.featured:hover {
  box-shadow: 0 0 0 1px rgba(253, 224, 71, 0.35), 0 24px 56px rgba(0, 0, 0, 0.4);
}
.btn-plan {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.btn-plan:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(253, 224, 71, 0.25) !important;
}

/* ─── Pricing: PT / couple rows (two cards) stack on narrow viewports ─── */
.pricing-grid.pricing-grid--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  gap: 16px !important;
}
@media (max-width: 640px) {
  .pricing-grid.pricing-grid--pair {
    grid-template-columns: 1fr !important;
  }
}

/* ─── Elite pricing cards (gold border, reference layout) ─── */
.pricing--elite {
  background: #000 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0;
}
.pricing--elite .pricing-body {
  max-width: 1320px;
}
.pricing--elite .pricing-body.pricing-body--elite {
  padding: 64px 24px 0;
}
.pricing--elite .pricing-body > .pricing-grid-elite:last-child {
  margin-bottom: 0;
}
.pricing--elite .pricing-heading-main {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: 6px;
  text-align: center;
  color: #fff;
  margin: 0 0 48px;
  font-weight: 400;
  line-height: 1.1;
}
.pricing--elite .pricing-heading-tier {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffd54f;
  text-align: center;
  margin: 0 0 28px;
  font-weight: 400;
}
.pricing-grid-elite {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 56px;
}
.pricing-grid-elite--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  gap: 22px;
}
@media (max-width: 1100px) {
  .pricing-grid-elite {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .pricing-grid-elite,
  .pricing-grid-elite--pair {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

.pricing-card-elite {
  background: #060606;
  border: 1px solid rgba(253, 224, 71, 0.5);
  border-radius: 20px;
  padding: 38px 24px 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  box-shadow:
    0 0 0 1px rgba(253, 224, 71, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}
.pricing-card-elite:hover {
  transform: translateY(-8px);
  border-color: rgba(253, 224, 71, 0.95);
  box-shadow:
    0 0 28px rgba(253, 224, 71, 0.14),
    0 28px 56px rgba(0, 0, 0, 0.55);
}
.pricing-card-elite__duration {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}
.pricing-card-elite__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: 3px;
  line-height: 1.15;
  color: #fde047;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.pricing-card-elite__price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.15rem);
  letter-spacing: 1px;
  color: #fff;
  line-height: 1;
  margin-bottom: 22px;
}
.pricing-card-elite__features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  width: 100%;
  flex: 1;
  text-align: center;
}
.pricing-card-elite__features li {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  padding: 12px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.3px;
}
.pricing-card-elite__features li:last-child {
  border-bottom: none;
}
.pricing-card-elite__features li::before {
  content: '—';
  color: #fde047;
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card-elite__cta {
  width: 100%;
  padding: 16px 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 2px solid #fde047;
  background: transparent;
  color: #fde047;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  clip-path: none !important;
}
.pricing-card-elite__cta:hover {
  background: rgba(253, 224, 71, 0.12);
  color: #fff;
  border-color: #fde047;
}

/* BMI / homepage: highlighted recommended tier */
.pricing-card-elite.recommended-plan {
  border-color: #fde047 !important;
  transform: scale(1.04) translateY(-6px);
  box-shadow:
    0 0 36px rgba(253, 224, 71, 0.28),
    0 24px 56px rgba(0, 0, 0, 0.5) !important;
  background: linear-gradient(165deg, #1a1810 0%, #0a0a08 55%, #060606 100%) !important;
  z-index: 2;
}
.pricing-card-elite.recommended-plan .pricing-card-elite__duration {
  color: rgba(255, 255, 255, 0.95) !important;
}
.pricing-card-elite.recommended-plan .pricing-card-elite__name {
  color: #ffd54f !important;
}
.pricing-card-elite.recommended-plan .pricing-card-elite__price {
  color: #fff !important;
}
.pricing-card-elite.recommended-plan .pricing-card-elite__features li {
  color: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(253, 224, 71, 0.2) !important;
}
.pricing-card-elite.recommended-plan .pricing-card-elite__features li::before {
  color: #fde047 !important;
}
.pricing-card-elite.recommended-plan .pricing-card-elite__cta {
  background: #fde047 !important;
  color: #0a0a0a !important;
  border-color: #fde047 !important;
}
.pricing-card-elite.recommended-plan .pricing-card-elite__cta:hover {
  background: #fff6a8 !important;
  color: #0a0a0a !important;
}


/* ─── Trainer Cards - Refined ─── */
.trainer-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}
@media (hover: hover) and (pointer: fine) {
  .trainer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
  }
  .trainer-card:hover .trainer-img {
    transform: scale(1.05);
  }
}
.trainer-img {
  transition: transform 0.5s ease;
}
.trainer-exp-badge {
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

/* ─── Primary Buttons - Enhanced ─── */
.btn-primary {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(253, 224, 71, 0.2) !important;
}

/* ─── Arena/Gallery Cards ─── */
.arena-item .facility-card {
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.arena-item:hover .facility-card {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* ─── Contact Section - Refined ─── */
#contact a[href^="https"] {
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#contact a[href^="https"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* ─── Footer - Subtle Refinement ─── */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.06) !important;
}
.footer-col ul li a {
  transition: transform 0.25s ease, color 0.25s ease;
}

/* ─── Marquee - Smoother ─── */
.marquee-wrap {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ─── BMI CTA Section ─── */
#bmi.bmi-cta.bmi-cta--compact {
  padding: 28px 24px 72px;
  border-top: 1px solid rgba(253, 224, 71, 0.12);
  background: var(--black);
  text-align: center;
}
@media (min-width: 768px) {
  #bmi.bmi-cta.bmi-cta--compact {
    padding: 32px 60px 88px;
  }
}
.bmi-cta .btn-primary {
  padding: 16px 36px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* ─── Testimonial Cards ─── */
.testi-card {
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* ─── Scroll Hint - Subtle Pulse ─── */
.scroll-hint {
  animation: scroll-pulse 2.5s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ─── Navbar - Refined Scrolled State ─── */
.navbar-fit24.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* ─── WhatsApp Chat Toggle - Subtle Glow ─── */
.chat-toggle {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.chat-toggle:hover {
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5) !important;
}

/* ─── Hero stats: one row on mobile (override card padding + gap) ─── */
@media (max-width: 768px) {
  .hero-stats .stat {
    padding: 12px 8px !important;
    flex: 1 1 0;
    min-width: 0;
  }
}
@media (max-width: 380px) {
  .hero-stats .stat {
    padding: 10px 5px !important;
  }
}

/* ─── Premium programs — spacing + hover (after generic .class-card rules) ─── */
.classes-section--premium .class-card {
  border-radius: 18px !important;
}
.classes-section--premium.classes-section--photo .classes-grid.classes-grid--four {
  gap: clamp(18px, 2.5vw, 28px) !important;
  padding-bottom: 12px !important;
}
/* Programs (last card: Muscle Gain) → Membership: pull pricing up, subtle seam */
.classes-section--premium.classes-section--photo {
  padding-bottom: 0 !important;
}
.classes-section--premium.classes-section--photo + #pricing.pricing--elite {
  border-top: 1px solid rgba(253, 224, 71, 0.1);
}
.classes-section--premium.classes-section--photo + #pricing.pricing--elite .pricing-body.pricing-body--elite {
  padding-top: 28px;
}
@media (max-width: 1024px) {
  .classes-section--premium.classes-section--photo .classes-grid.classes-grid--four {
    gap: clamp(16px, 2.2vw, 24px) !important;
  }
}
@media (max-width: 768px) {
  .classes-section--premium.classes-section--photo .classes-grid.classes-grid--four {
    gap: clamp(18px, 4vw, 24px) !important;
  }
}
.classes-section--premium .class-card:hover {
  transform: translateY(-8px) !important;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 193, 7, 0.28),
    0 0 36px rgba(255, 193, 7, 0.2),
    0 0 72px rgba(255, 193, 7, 0.08) !important;
}
