:root {
  --primary: #00693E;
  --primary-dark: #004d2e;
  --accent: #98FB98;
  --highlight: #009B76;
  --text-dark: #2c3e50;
  --text-light: #f8f9fa;
  --bg-light: #ffffff;
  --bg-gray: #f5f7fa;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
}

body {
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

section {
  padding: 80px 0;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin-bottom: 20px;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--highlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text-dark);
}

.btn-accent:hover {
  background-color: #7ce87c;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 15px 0;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.nav-links a {
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--highlight);
}

.hamburger {
  display: none;
  cursor: pointer;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Hero */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/hero-step-aerobics.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding-top: 80px;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: slideDown 1s ease-out;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  animation: slideUp 1s ease-out;
}

.hero .btn {
  animation: fadeIn 1.5s ease-out;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--text-light);
  font-size: 2rem;
}

/* Animations */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Block 1: Step by step */
.how-to-signup {
  background-color: var(--bg-gray);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 50px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: var(--highlight);
}

.timeline-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-content {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  flex-grow: 1;
}

.mini-prices {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.mini-price-card {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  flex: 1;
  min-width: 250px;
  border-top: 4px solid var(--primary);
}

.mini-price-card h4 {
  color: var(--primary);
}

.mini-price-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 10px 0;
}

.booking-form-compact {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.booking-form-compact input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.booking-form-compact button {
  width: 100%;
}

.learn-more-container {
  text-align: center;
  margin-top: 30px;
}

/* Slider */
.slider-section {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

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

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: var(--text-light);
  padding: 20px;
  text-align: center;
  font-size: 1.2rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--bg-light);
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

.slider-dots {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--highlight);
}

/* Accordion */
.accordion-section {
  background-color: var(--bg-gray);
}

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

.accordion-item {
  background: var(--bg-light);
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.accordion-header:hover {
  background-color: #f0fdf4;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

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

.accordion-item.active .accordion-content {
  padding: 20px;
  max-height: 500px;
  border-top: 1px solid #eee;
}

/* Circular About */
.about-circular {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.circle-container {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 50px auto;
  border-radius: 50%;
}

.circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  border: 10px solid var(--bg-light);
}

.circle-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-item {
  position: absolute;
  width: 140px;
  height: 140px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  z-index: 1;
  border: 2px solid var(--accent);
}

.circle-item span {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.about-text {
  max-width: 800px;
  text-align: center;
  margin-top: 30px;
  font-size: 1.1rem;
}

/* Schedule Table */
.schedule-section {
  background-color: var(--bg-gray);
}

.table-container {
  overflow-x: auto;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background-color: var(--primary);
  color: var(--text-light);
  font-weight: 600;
}

tr:hover {
  background-color: #f0fdf4;
}

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

.price-card {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.price-card.popular {
  border: 2px solid var(--highlight);
  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(--highlight);
  color: var(--text-light);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.price-card h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0;
}

.price-features {
  margin-bottom: 30px;
  flex-grow: 1;
}

.price-features li {
  margin-bottom: 10px;
  color: #666;
}

/* Calculator */
.calculator-section {
  background-color: var(--bg-gray);
}

.calculator-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.calc-group {
  margin-bottom: 25px;
}

.calc-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.calc-group input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.calc-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.calc-result {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.calc-result span {
  display: block;
  font-size: 1.2rem;
  color: #666;
}

.calc-result strong {
  font-size: 3rem;
  color: var(--primary);
}

/* Selling Text */
.selling-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.selling-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #444;
}

.pull-quote {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin: 40px 0;
  padding: 20px;
  border-left: 5px solid var(--accent);
  background: #f0fdf4;
  text-align: left;
}

.highlight-text {
  background-color: var(--accent);
  padding: 0 5px;
  color: var(--text-dark);
}

/* Infographic */
.infographic-section {
  background: var(--primary);
  color: var(--text-light);
}

.infographic-section h2 {
  color: var(--text-light);
}

.infographic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 3/4;
  cursor: pointer;
}

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

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

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

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-line {
  height: 4px;
  background: var(--primary);
  width: 100%;
  margin: 0 0 40px 0;
}

/* Testimonials */
.testimonials-section {
  background-color: var(--bg-gray);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-item {
  display: none;
  padding: 20px;
}

.testimonial-item.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

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

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 60px 0 20px;
  text-align: center;
}

.footer-content {
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  color: #888;
}

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

.cookie-banner.show {
  bottom: 0;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.btn-accept { background: var(--primary); color: #fff; }
.btn-necessary { background: #eee; color: #333; }
.btn-settings { background: transparent; text-decoration: underline; color: #666; }

/* Lightbox */
.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: 3000;
  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: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .circle-container {
    width: 300px;
    height: 300px;
    margin: 30px auto;
  }
  
  .circle-center {
    width: 150px;
    height: 150px;
  }
  
  .circle-item {
    position: static;
    width: auto;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
    padding: 15px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
  }
  
  .about-circular {
    padding: 0 20px;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}
