/* --- CSS RESET & VARIABLES --- */
:root {
  --primary: #ff3b00;
  --primary-hover: #e03200;
  --gold: #ffb700;
  --bg-dark: #0a0c10;
  --bg-card: #121620;
  --bg-card-hover: #19202e;
  --text-main: #f0f3f8;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --font-heading: 'Bebas Neue', 'Oswald', sans-serif;
  --font-sub: 'Oswald', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

/* --- UTILITIES & LAYOUT --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-sub);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 59, 0, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 59, 0, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
}

.highlight-text {
  color: var(--primary);
  background: linear-gradient(45deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- LOGO IMAGES --- */
.nav-logo-img, .preloader-logo-img, .footer-logo-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 183, 0, 0.4);
}

.preloader-logo-img {
  height: 90px;
  width: 90px;
  margin: 0 auto 15px;
}

/* --- PRELOADER --- */
.preloader {
  position: fixed;
  inset: 0;
  background: #050608;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  letter-spacing: 2px;
}

.preloader-sub {
  color: var(--gold);
  font-size: 0.9rem;
  font-family: var(--font-sub);
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.preloader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 0 auto 15px;
  overflow: hidden;
}

.preloader-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  animation: load 1.2s ease forwards;
}

@keyframes load {
  to { width: 100%; }
}

.preloader-text {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 3px;
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(10, 12, 16, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-text {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 1px;
}

.nav-logo-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--gold);
  font-family: var(--font-sub);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
}

.nav-link:hover {
  color: var(--primary);
}

.btn-nav {
  background: var(--primary);
  padding: 8px 20px;
  border-radius: 4px;
}

.btn-nav:hover {
  color: #fff;
  background: var(--primary-hover);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,12,16,0.96) 0%, rgba(10,12,16,0.85) 55%, rgba(10,12,16,0.7) 100%);
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255, 59, 0, 0.2);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 650px;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: rgba(18, 22, 32, 0.75);
  backdrop-filter: blur(12px);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.stat-card {
  text-align: center;
}

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

.stat-plus {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* --- MASTER COACH FEATURE --- */
.coach-feature-section {
  background: #0f121a;
  border-bottom: 1px solid var(--border);
}

.coach-portrait-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border: 2px solid var(--gold);
}

.coach-portrait-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

.coach-badge-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10,12,16,0.95), transparent);
  padding: 30px 20px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.badge-icon {
  font-size: 2.2rem;
}

.coach-badge-overlay strong {
  display: block;
  font-family: var(--font-sub);
  font-size: 1.3rem;
  color: var(--gold);
}

.coach-badge-overlay small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.coach-title-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 20px;
}

.pill-badge {
  background: rgba(255, 59, 0, 0.15);
  color: var(--primary);
  border: 1px solid var(--primary);
  font-family: var(--font-sub);
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
}

/* --- ABOUT ACADEMY --- */
.about-section {
  background: var(--bg-dark);
}

.about-poster-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  border: 1px solid var(--border);
}

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

.discipline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.discipline-chips span {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--gold);
}

.feature-list {
  list-style: none;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-muted);
}

.feature-list li strong {
  color: var(--text-main);
}

.check {
  color: var(--primary);
  font-weight: bold;
}

/* --- CARDS & PROGRAMS --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  border-color: rgba(255, 59, 0, 0.3);
}

.program-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.program-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.card-body {
  padding: 25px;
}

.program-title {
  font-family: var(--font-sub);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.card-tags li {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--gold);
}

.highlight-card {
  background: linear-gradient(135deg, rgba(255,59,0,0.15), rgba(18,22,32,1));
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-center-content {
  text-align: center;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

/* --- GALLERY SECTION --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  border: 1px solid var(--border);
}

.gallery-item.large {
  grid-column: span 2;
  height: 280px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,12,16,0.95) 0%, rgba(10,12,16,0.2) 60%, transparent 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.9;
  transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(255,59,0,0.85) 0%, rgba(10,12,16,0.4) 100%);
}

.gallery-tag {
  color: var(--gold);
  font-family: var(--font-sub);
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.gallery-overlay h4 {
  font-family: var(--font-sub);
  font-size: 1.3rem;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- SCHEDULE TABLE --- */
.schedule-table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.schedule-table th, .schedule-table td {
  padding: 18px 25px;
  border-bottom: 1px solid var(--border);
}

.schedule-table th {
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-sub);
  font-size: 1.1rem;
  color: var(--gold);
  text-transform: uppercase;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:hover {
  background: rgba(255, 59, 0, 0.05);
}

/* --- CONTACT SECTION --- */
.contact-section {
  background: var(--bg-dark);
}

.contact-methods {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  font-size: 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 10px;
}

.contact-item h4 {
  font-family: var(--font-sub);
  font-size: 1.1rem;
}

.contact-item p {
  color: var(--text-muted);
}

.phone-link {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-form-wrap {
  padding: 35px;
}

.contact-form-wrap h3 {
  font-family: var(--font-sub);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 12px 15px;
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

/* --- FOOTER --- */
.footer {
  background: #050608;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 40px;
}

.footer-desc {
  color: var(--text-muted);
  margin-top: 15px;
  font-size: 0.9rem;
}

.footer-links h4 {
  font-family: var(--font-sub);
  color: var(--gold);
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-legal {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: right;
}

/* --- LIGHTBOX MODAL --- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 70vh;
  margin: 0 auto 20px;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.lightbox-caption h3 {
  font-family: var(--font-sub);
  font-size: 1.6rem;
  color: var(--gold);
}

.lightbox-caption p {
  color: var(--text-muted);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .gallery-item.large {
    grid-column: span 1;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-legal {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
  }
}
