:root {
  --primary: #9E9764;
  --accent: #1FCECB;
  --highlight: #87A96B;
  --bg-color: #FAFAF7;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --section-bg-alt: #f0f0ea;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

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

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

ul {
  list-style: none;
}

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

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(31, 206, 203, 0.4);
}

.btn-primary:hover {
  background-color: #19b2af;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 206, 203, 0.6);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(250, 250, 247, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

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

.logo-mark {
  width: 15px;
  height: 15px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(31, 206, 203, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(31, 206, 203, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(31, 206, 203, 0); }
}

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

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}

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

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  transition: 0.3s;
}

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

.hero-content {
  max-width: 800px;
  z-index: 2;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero .btn {
  font-size: 1.2rem;
  padding: 18px 40px;
  animation: fadeInUp 1s ease 0.4s backwards;
}

/* Common Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Block 1 - How to sign up */
.how-to {
  background-color: var(--bg-color);
}

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--primary) 0, var(--primary) 10px, transparent 10px, transparent 20px);
  z-index: 1;
}

.step {
  width: 18%;
  text-align: center;
  position: relative;
  z-index: 2;
  background: var(--bg-color);
  padding-top: 20px;
}

.step-icon {
  width: 80px;
  height: 80px;
  background-color: var(--bg-color);
  border: 3px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  position: relative;
  box-shadow: 0 0 0 10px var(--bg-color);
}

.step-num {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 25px;
  height: 25px;
  background-color: var(--highlight);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.step p {
  font-size: 0.9rem;
  color: #555;
}

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

.mini-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
  width: 250px;
  border-top: 4px solid var(--accent);
}

.mini-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.mini-card .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 10px;
}

.mini-form-container {
  max-width: 500px;
  margin: 0 auto 40px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

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

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

/* Block 2 - Carousel */
.classes-section {
  background-color: var(--section-bg-alt);
  overflow: hidden;
}

.slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.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%;
  padding: 40px 20px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  text-align: center;
}

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

.slider-btn:hover {
  background: white;
}

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

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

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

/* Block 3 - FAQ */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
  color: var(--accent);
}

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

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

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

/* Block 4 - About */
.about-section {
  background-color: var(--section-bg-alt);
}

.about-circular {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 800px;
  margin: 0 auto;
}

.about-center-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 10px solid white;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  z-index: 2;
  animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.about-card {
  position: absolute;
  width: 250px;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  text-align: center;
  z-index: 1;
}

.about-card h4 {
  color: var(--primary);
  margin: 10px 0;
}

/* Simple circular positioning for cards */
.about-card:nth-child(2) { top: 0; left: 50%; transform: translateX(-50%); }
.about-card:nth-child(3) { top: 25%; right: 0; }
.about-card:nth-child(4) { bottom: 25%; right: 0; }
.about-card:nth-child(5) { bottom: 0; left: 50%; transform: translateX(-50%); }
.about-card:nth-child(6) { bottom: 25%; left: 0; }
.about-card:nth-child(7) { top: 25%; left: 0; }

/* Block 5 - Schedule */
.table-responsive {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.schedule-table th, .schedule-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

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

.schedule-table tr:hover {
  background-color: var(--section-bg-alt);
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-beginner { background: #e3f2fd; color: #1565c0; }
.badge-medium { background: #fff3e0; color: #ef6c00; }
.badge-intense { background: #ffebee; color: #c62828; }

/* Block 6 - Pricing */
.pricing-section {
  background-color: var(--section-bg-alt);
}

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

.price-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #eee;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.price-card.highlight {
  border: 2px solid var(--accent);
  transform: scale(1.05);
}

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

.highlight-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

.price-title {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 15px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.price-features {
  margin-bottom: 30px;
  text-align: left;
}

.price-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--highlight);
  font-weight: bold;
}

/* Block 7 - Calculator */
.calc-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.calc-label {
  display: block;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.slider-input {
  width: 100%;
  margin-bottom: 10px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-result {
  background: var(--primary);
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Selling Text */
.selling-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--highlight) 100%);
  color: white;
  text-align: center;
}

.selling-text .section-title {
  color: white;
}

.selling-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
}

.selling-content p {
  margin-bottom: 20px;
}

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

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

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* Gallery */
.gallery-section {
  background: var(--section-bg-alt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 15px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s;
}

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

/* Contacts */
.contacts-section {
  text-align: center;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #999;
  margin: 40px 0;
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: white;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.cookie-banner.show {
  transform: translateY(0);
}

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

.cookie-btns button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.btn-accept { background: var(--accent); color: white; }
.btn-decline { background: #eee; }

/* Modal 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;
}

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

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero h1 { font-size: 3rem; }
  .about-circular { height: auto; padding: 40px 0; }
  .about-center-img { position: relative; transform: none; left: 0; top: 0; margin: 0 auto 40px; display: block; animation: none; }
  .about-card { position: relative; width: 100%; transform: none !important; left: 0 !important; top: 0 !important; bottom: 0 !important; margin-bottom: 20px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: white;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: 0.3s;
  }
  .nav-links.active { left: 0; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
  .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
  
  .timeline::before { display: none; }
  .step { width: 100%; margin-bottom: 30px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; gap: 20px; text-align: center; }
}
