/* ==========================================================================
   M'S FITNESS CLUB — Public Showcase & Landing Page Design System
   Visual Identity: Premium Silver + Gold Luxury Theme
   Tagline: STRONGER • FITTER • BETTER
   ========================================================================== */

:root {
  /* Silver + Gold Luxury Palette */
  --gold-primary: #D4AF37;
  --gold-light: #E6C65C;
  --gold-dark: #AA820A;
  --gold-gradient: linear-gradient(135deg, #FFF6D6 0%, #E6C65C 30%, #D4AF37 70%, #997300 100%);
  --gold-glow: rgba(212, 175, 55, 0.35);

  --silver-primary: #C0C0C0;
  --silver-light: #E5E5E5;
  --silver-dark: #8E8E93;
  --silver-gradient: linear-gradient(135deg, #FFFFFF 0%, #E5E5E5 40%, #C0C0C0 70%, #8E8E93 100%);
  --silver-glow: rgba(192, 192, 192, 0.22);

  --dark-primary: #0B0B0B;
  --dark-secondary: #151515;
  --dark-card: #12141A;
  --dark-card-hover: #181B24;
  --dark-glass: rgba(18, 20, 26, 0.88);

  /* Legacy & Compatibility Aliases */
  --ms-bg-black: var(--dark-primary);
  --ms-bg-card: var(--dark-card);
  --ms-bg-card-hover: var(--dark-card-hover);
  --ms-bg-glass: var(--dark-glass);
  
  --ms-gold: var(--gold-primary);
  --ms-gold-dark: var(--gold-dark);
  --ms-gold-gradient: var(--gold-gradient);
  --ms-gold-glow: var(--gold-glow);
  
  --ms-silver: var(--silver-primary);
  --ms-silver-gradient: var(--silver-gradient);
  
  /* Mauritius 4-Color Accents */
  --ms-red: #ef3340;
  --ms-blue: #002fa7;
  --ms-yellow: #D4AF37;
  --ms-green: #00a651;
  
  --ms-border: rgba(192, 192, 192, 0.15);
  --ms-border-silver: rgba(192, 192, 192, 0.35);
  --ms-border-gold: rgba(212, 175, 55, 0.45);
  --ms-text-main: #ffffff;
  --ms-text-muted: #cbd5e1;
  --ms-text-subtle: #94a3b8;
}

/* Global Reset & Typography */
body.landing-page {
  background-color: var(--dark-primary);
  color: var(--ms-text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.65;
}

body.landing-page .text-muted {
  color: var(--ms-text-muted) !important;
}

body.landing-page .text-secondary {
  color: var(--ms-text-subtle) !important;
}

h1, h2, h3, h4, h5, .brand-font {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* Mauritius 4-Stripe Banner / Bar */
.mauritius-stripe-bar {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, 
    var(--ms-red) 0%, var(--ms-red) 25%, 
    var(--ms-blue) 25%, var(--ms-blue) 50%, 
    var(--gold-primary) 50%, var(--gold-primary) 75%, 
    var(--ms-green) 75%, var(--ms-green) 100%
  );
}

.mauritius-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}

.mauritius-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.mauritius-dot.red { background-color: var(--ms-red); box-shadow: 0 0 10px rgba(239, 51, 64, 0.8); }
.mauritius-dot.blue { background-color: var(--ms-blue); box-shadow: 0 0 10px rgba(0, 47, 167, 0.8); }
.mauritius-dot.yellow { background-color: var(--gold-primary); box-shadow: 0 0 10px var(--gold-glow); }
.mauritius-dot.green { background-color: var(--ms-green); box-shadow: 0 0 10px rgba(0, 166, 81, 0.8); }

/* Navigation Bar */
.landing-navbar {
  background: rgba(11, 11, 11, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ms-border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  z-index: 1050;
}

.landing-navbar.scrolled {
  background: rgba(11, 11, 11, 0.98);
  border-bottom-color: var(--ms-border-gold);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.landing-logo {
  height: 56px;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.7));
}

.landing-navbar.scrolled .landing-logo {
  height: 48px;
}

@media (max-width: 991px) {
  .landing-logo {
    height: 44px;
  }
}

.footer-main-logo {
  height: 58px;
  max-width: 290px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.7));
}

.footer-emblem-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
}

.nav-link-custom {
  color: #e2e8f0 !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem !important;
  transition: all 0.25s ease;
}

.nav-link-custom:hover {
  color: var(--gold-light) !important;
  transform: translateY(-2px);
  text-shadow: 0 0 12px var(--gold-glow);
}

/* Metallic Text Utilities */
.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-silver-gradient {
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gold {
  color: var(--gold-primary) !important;
}

.text-silver {
  color: var(--silver-light) !important;
}

/* Buttons */
.btn-gold-primary {
  background: var(--gold-gradient);
  color: #080a0e !important;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  padding: 0.8rem 1.85rem;
  border-radius: 9999px;
  box-shadow: 0 6px 25px var(--gold-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-gold-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 35px rgba(212, 175, 55, 0.55);
  color: #000000 !important;
}

.btn-glass-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  border: 1px solid var(--ms-border-silver);
  padding: 0.8rem 1.85rem;
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-glass-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold-primary);
  color: var(--gold-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.btn-silver-outline {
  background: transparent;
  color: var(--silver-light) !important;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  border: 1px solid var(--ms-border-silver);
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.btn-silver-outline:hover {
  background: rgba(192, 192, 192, 0.12);
  border-color: var(--silver-light);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Badges */
.badge-exclusive {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #ffffff;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-silver {
  background: rgba(192, 192, 192, 0.12);
  border: 1px solid rgba(192, 192, 192, 0.35);
  color: var(--silver-light);
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-live-pulse {
  position: relative;
  padding-left: 20px;
}

.badge-live-pulse::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--ms-green);
  box-shadow: 0 0 12px var(--ms-green);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: translateY(-50%) scale(0.9); opacity: 1; }
  50% { transform: translateY(-50%) scale(1.5); opacity: 0.5; }
  100% { transform: translateY(-50%) scale(0.9); opacity: 1; }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 70px;
  background-color: var(--dark-primary);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(192, 192, 192, 0.08) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(11, 11, 11, 0.35) 0%, rgba(11, 11, 11, 0.98) 100%),
    url('/static/img/gym_hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-stat-card {
  background: rgba(18, 20, 26, 0.92);
  border: 1px solid var(--ms-border-silver);
  border-radius: 20px;
  padding: 1.25rem 1rem;
  backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-stat-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

/* Feature Cards & Concept */
.concept-card {
  background: var(--dark-card);
  border: 1px solid var(--ms-border);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  height: 100%;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.concept-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.concept-card:hover {
  transform: translateY(-8px);
  background: var(--dark-card-hover);
  border-color: var(--gold-primary);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.6);
}

.concept-card:hover::before {
  background: var(--gold-gradient);
}

.concept-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
}

/* Image Showcase Gallery Cards */
.space-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--ms-border);
  height: 400px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.space-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.space-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.96) 0%, rgba(11, 11, 11, 0.4) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.space-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
}

.space-card:hover img {
  transform: scale(1.08);
}

/* ==========================================================================
   COACHING WORKSHOP SCHEDULE & SUR-MESURE STYLES
   ========================================================================== */
.coaching-schedule-header {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(192, 192, 192, 0.08) 100%);
  border: 1px solid var(--ms-border-gold);
  border-radius: 20px;
  padding: 1.5rem 2rem;
}

.coaching-slot-card {
  background: var(--dark-card);
  border: 1px solid var(--ms-border-silver);
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.coaching-slot-card:hover {
  border-color: var(--gold-primary);
  background: var(--dark-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.coaching-date-badge {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.places-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  margin: 0.85rem 0 1rem 0;
  padding: 0.6rem 0.9rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Sur-Mesure Integrated Section */
.sur-mesure-box {
  background: linear-gradient(135deg, rgba(24, 27, 36, 0.95) 0%, rgba(18, 20, 26, 0.95) 100%);
  border: 1px solid var(--ms-border-silver);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
}

.sur-mesure-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
}

.sur-mesure-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sur-mesure-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sur-mesure-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ==========================================================================
   BEGINNERS / DÉBUTANTS YOUTUBE CARD
   ========================================================================== */
.beginners-card {
  background: linear-gradient(135deg, #181c26 0%, #10131a 100%);
  border: 1px solid var(--ms-border-silver);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.beginners-card:hover {
  border-color: #ff0000;
  box-shadow: 0 18px 45px rgba(255, 0, 0, 0.18);
  transform: translateY(-5px);
}

.beginners-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.youtube-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 0, 0, 0.12);
  border: 1px solid rgba(255, 0, 0, 0.35);
  color: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.btn-youtube {
  background: #ff0000;
  color: #ffffff !important;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.btn-youtube:hover {
  background: #cc0000;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(255, 0, 0, 0.55);
}

/* Pricing Cards */
.pricing-card {
  background: var(--dark-card);
  border: 1px solid var(--ms-border-silver);
  border-radius: 28px;
  padding: 2.75rem 2.25rem;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card.featured {
  background: linear-gradient(180deg, #1A1F2C 0%, #12141A 100%);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 18px 55px rgba(212, 175, 55, 0.2);
  transform: scale(1.03);
}

@media (max-width: 991px) {
  .pricing-card.featured {
    transform: scale(1);
  }
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
}

.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 2.25rem 0;
}

.pricing-feature-list li {
  padding: 0.65rem 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2e8f0;
  font-size: 0.98rem;
}

.pricing-feature-list li i {
  color: var(--gold-primary);
  font-size: 1.15rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--ms-border-silver);
  border-radius: 24px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.star-rating {
  color: var(--gold-primary);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

/* FAQ Accordion */
.custom-accordion .accordion-item {
  background: var(--dark-card);
  border: 1px solid var(--ms-border-silver);
  border-radius: 18px !important;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.custom-accordion .accordion-button {
  background: var(--dark-card);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 1.35rem 1.6rem;
  box-shadow: none !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
  background: var(--dark-card-hover);
  color: var(--gold-light);
  border-bottom: 1px solid var(--ms-border);
}

.custom-accordion .accordion-body {
  background: var(--dark-card-hover);
  color: #cbd5e1;
  padding: 1.35rem 1.6rem;
  font-size: 1rem;
  line-height: 1.7;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background-color: #25d366;
  color: #ffffff !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  z-index: 1040;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  color: #ffffff !important;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
}

/* Footer */
.landing-footer {
  background-color: #060709;
  border-top: 1px solid var(--ms-border);
  padding: 4.5rem 0 2.5rem 0;
  color: #94a3b8;
}

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.footer-link:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

/* Accessible Focus Rings & Touch Targets */
.landing-page :focus-visible {
  outline: 2px solid var(--gold-primary) !important;
  outline-offset: 3px !important;
}

.navbar-toggler {
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.nav-link-custom {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
