@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0a0a0a;
  --card: #111111;
  --border: #1e1e1e;
  --primary: #e63946;
  --primary-hover: #d62839;
  --text: #ffffff;
  --muted: #888888;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --color-fund: #3a86ff;
  --color-adv: #e63946;
  --color-kids: #ffbe0b;
  --color-all: #888888;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

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

.mb-4 {
  margin-bottom: 1.5rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

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

.section {
  padding: 6rem 0;
}

.bg-card {
  background: var(--card);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

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

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

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

.btn-block {
  display: block;
  width: 100%;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: border-color 0.3s ease;
}

.card:hover {
  border-color: var(--primary);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header.align-left {
  text-align: left;
}

.subtitle {
  display: block;
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1.5rem 0;
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  height: 40px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn) {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.nav-cta {
  padding: 0.5rem 1.5rem;
  font-size: 1.1rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  width: 30px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: white;
  transition: 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: -1;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

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

.hero-symbol {
  width: 100px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #ccc;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Programs */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.program-card {
  display: flex;
  flex-direction: column;
}

.program-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  margin-bottom: 1.5rem;
}

.program-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Why Us */
.why-us-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--primary);
}

.stat-label {
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.reason-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.reason-card h4 {
  font-size: 1.25rem;
}

/* Instructors */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.instructors-single {
  display: flex;
  justify-content: center;
}

.instructors-single .instructor-card {
  max-width: 420px;
  width: 100%;
}

.instructor-card {
  padding: 0;
  overflow: hidden;
}

.instructor-image {
  aspect-ratio: 3/4;
  overflow: hidden;
}

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

.instructor-card:hover .instructor-image img {
  transform: scale(1.05);
}

.instructor-info {
  padding: 1.5rem;
}

.instructor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.instructor-header h3 {
  margin: 0;
}

.badge {
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.instructor-stats {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.instructor-bio {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Schedule */
.schedule-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-blue { background: var(--color-fund); }
.legend-red { background: var(--color-adv); }
.legend-yellow { background: var(--color-kids); }
.legend-grey { background: var(--color-all); }

.table-wrapper {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid var(--border);
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  width: 16.666%;
}

.schedule-table th {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  background: var(--bg);
  text-align: center;
}

.class-block {
  padding: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-left: 3px solid transparent;
  background: var(--bg);
}

.class-block.type-fund { border-color: var(--color-fund); }
.class-block.type-adv { border-color: var(--color-adv); }
.class-block.type-kids { border-color: var(--color-kids); }
.class-block.type-all { border-color: var(--color-all); }

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.review-card .stars {
  color: #f59e0b;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.review-card .review-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.review-card .reviewer-name {
  font-weight: 600;
  color: var(--muted);
}

.review-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card);
  padding: 2rem;
  border: 1px solid var(--border);
}

.review-form-container h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: white;
  font-family: var(--font-body);
  transition: border-color 0.2s ease;
}

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

.star-rating-input {
  display: flex;
  gap: 0.25rem;
  font-size: 2rem;
  color: var(--border);
  cursor: pointer;
}

.star-rating-input span:hover,
.star-rating-input span.active {
  color: #f59e0b;
}

.error-msg {
  color: var(--primary);
  font-size: 0.85rem;
  display: none;
  margin-top: 0.25rem;
}

.success-message {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  padding: 1rem;
  border: 1px solid #2ecc71;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.info-card {
  height: 100%;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.cta-box {
  background: var(--primary);
  padding: 1.5rem;
  color: white;
}

.cta-box h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--card);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 40px;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.footer-bottom {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .programs-grid,
  .instructors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-us-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .programs-grid,
  .instructors-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  
  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}
