@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --primary: #F3DA0B;
  --accent: #FDEAA8;
  --highlight: #FFDE5A;
  --dark: #1a1a1a;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-800: #343a40;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.heading-2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(243, 218, 11, 0.4);
}

.btn-primary:hover {
  background-color: var(--highlight);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 218, 11, 0.6);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--dark);
}

.btn-outline:hover {
  background-color: var(--primary);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
  background: transparent;
}

.header.scrolled {
  background: var(--white);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 24px;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/online-fitness-hero.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Steps */
.steps-section {
  background: var(--gray-100);
}

.steps-map {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
  position: relative;
}

.step-item {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Mini Cards */
.mini-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.mini-card {
  background: var(--accent);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  font-weight: 600;
}

/* Booking Form */
.booking-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(243, 218, 11, 0.2);
}

.btn-full {
  width: 100%;
}

/* Carousel */
.carousel-section {
  position: relative;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  border-radius: 20px;
  height: 500px;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(255,255,255,0.9);
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 600;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.carousel-btn.prev { left: -20px; }
.carousel-btn.next { right: -20px; }

/* Accordion */
.faq-section { background: var(--gray-100); }

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--white);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-family: var(--font-heading);
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  transition: var(--transition);
}

.accordion-item.active .accordion-header::after {
  content: '-';
  color: var(--primary);
}

.accordion-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-body {
  padding-bottom: 20px;
}

/* Circular About */
.about-section {
  position: relative;
  background: linear-gradient(135deg, var(--white), var(--accent));
  overflow: hidden;
}

.about-circle-wrapper {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .about-circle-wrapper {
    width: 300px;
    height: 300px;
    flex-direction: column;
    margin-bottom: 400px;
  }
}

.about-center-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 10px solid var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 10;
}

.about-bubble {
  position: absolute;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.about-bubble:hover {
  transform: scale(1.1);
  z-index: 20;
}

/* Positioning bubbles in a circle (rough approximations for CSS) */
.bubble-1 { top: 10%; left: 50%; transform: translateX(-50%); }
.bubble-2 { top: 25%; right: 5%; }
.bubble-3 { bottom: 25%; right: 5%; }
.bubble-4 { bottom: 10%; left: 50%; transform: translateX(-50%); }
.bubble-5 { bottom: 25%; left: 5%; }
.bubble-6 { top: 25%; left: 5%; }

/* Schedule */
.schedule-section { padding-bottom: 40px; }
.table-wrapper {
  overflow-x: auto;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.schedule-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: var(--white);
}

.schedule-table th, .schedule-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.schedule-table th {
  background: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
}

.schedule-table tr:hover { background: var(--gray-100); }

/* Pricing */
.pricing-section { background: var(--gray-100); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.price-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  transition: var(--transition);
}

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

.price-card.popular {
  border: 3px solid var(--primary);
  transform: scale(1.05);
}
.price-card.popular:hover { transform: scale(1.05) translateY(-10px); }

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

.price-title { font-size: 1.5rem; margin-bottom: 15px; }
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--dark); margin-bottom: 20px; }
.price-features { list-style: none; margin-bottom: 30px; text-align: left; }
.price-features li { margin-bottom: 10px; position: relative; padding-left: 25px; }
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Calculator */
.calc-section { padding-top: 40px; }
.calculator-box {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
}

.slider-container { margin: 30px 0; }
.calc-slider { width: 100%; cursor: pointer; }

.calc-result {
  background: var(--accent);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin: 30px 0;
}
.calc-total { font-size: 2.5rem; font-weight: 800; color: var(--dark); }

/* Selling Text */
.selling-section {
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.selling-content {
  max-width: 800px;
  margin: 0 auto;
}

.selling-content h2 { color: var(--primary); margin-bottom: 30px; }
.selling-content p { font-size: 1.2rem; margin-bottom: 20px; }
.pull-quote {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--highlight);
  margin: 40px 0;
  font-style: italic;
}

/* Infographic */
.info-section { background: var(--gray-100); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.stat-box {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--white);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { transform: translateY(0); }

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 10px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* Testimonials */
.testi-section { background: var(--accent); }
.testi-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testi-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testi-card {
  min-width: 100%;
  padding: 30px;
  background: var(--white);
  border-radius: 20px;
  text-align: center;
}

.testi-avatar {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 15px;
}

.stars { color: #f39c12; margin-bottom: 15px; font-size: 1.2rem; }

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo { font-size: 2rem; color: var(--white); margin-bottom: 20px; display: inline-block; }
.footer-logo span { color: var(--primary); }

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icon:hover { background: var(--primary); color: var(--dark); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--primary); }

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 1500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.show { transform: translateY(0); }
.cookie-btns { display: flex; gap: 10px; }

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: var(--transition);
  }
  .nav-links.active { left: 0; }
  .hamburger { display: block; }
  .hero-content h1 { font-size: 2.5rem; }
  
  .about-bubble { position: static; margin-bottom: 10px; transform: none; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-5px); }
  .cookie-banner { flex-direction: column; text-align: center; }
}
