/* ═══════════════════════════════════════════
   Jeff-Lee Kickboks – Professional Style
   ═══════════════════════════════════════════ */

:root {
  --primary: #00ddf0;
  --primary-dark: #00b4c4;
  --primary-glow: rgba(0, 220, 240, 0.3);
  --bg-dark: #0a0a0a;
  --bg-card: rgba(15, 15, 15, 0.95);
  --bg-overlay: rgba(0, 0, 0, 0.7);
  --text: #f0f0f0;
  --text-muted: #999;
  --border: rgba(0, 220, 240, 0.2);
  --radius: 12px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

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

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

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 220, 240, 0.1);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.nav-logo img {
  height: 50px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(0, 220, 240, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/BackGroundHomePage.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 30%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

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

.btn-outline:hover {
  background: rgba(0, 220, 240, 0.1);
  transform: translateY(-2px);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Sections ─── */
section {
  padding: 100px 0;
}

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

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header .accent {
  color: var(--primary);
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ─── About / Over Ons ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.stats-row {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Classes ─── */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.class-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.class-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px var(--primary-glow);
}

.class-card-image {
  height: 220px;
  overflow: hidden;
}

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

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

.class-card-body {
  padding: 28px;
}

.class-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.class-card-body .subtitle {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

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

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

.schedule-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(0, 220, 240, 0.05);
  border-radius: 8px;
  font-size: 0.9rem;
}

.schedule-list .day {
  font-weight: 600;
}

.schedule-list .time {
  color: var(--primary);
}

/* ─── Team ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px var(--primary-glow);
}

.team-card-photo {
  height: 300px;
  overflow: hidden;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-photo img {
  transform: scale(1.05);
}

.team-card-info {
  padding: 20px;
}

.team-card-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-card-info p {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
}

.team-empty {
  text-align: center;
  color: var(--text-muted);
  grid-column: 1 / -1;
  padding: 60px 20px;
  font-size: 1.1rem;
}

/* ─── Gallery ─── */
.gallery-grid {
  columns: 4;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid transparent;
  transition: var(--transition);
}

.gallery-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 20px;
  font-size: 1.1rem;
}

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  opacity: 0.7;
  transition: var(--transition);
}

.lightbox-close:hover { opacity: 1; transform: rotate(90deg); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 220, 240, 0.15);
  border: 1px solid var(--border);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 16px 20px;
  border-radius: 50%;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: rgba(0, 220, 240, 0.3);
}

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

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 16px;
  border-radius: 20px;
}

/* ─── Sponsors ─── */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.sponsor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  display: block;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px var(--primary-glow);
  color: var(--text);
}

.sponsor-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 220, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--primary);
}

.sponsor-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.sponsor-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--primary);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(0, 220, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.5rem;
}

.contact-detail h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-detail p, .contact-detail a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--primary);
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-item:last-child { border: none; }

.price-label { font-size: 0.95rem; }

.price-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.price-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ─── Footer ─── */
.footer {
  background: rgba(5, 5, 5, 0.95);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 40px;
  border-radius: 6px;
}

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

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 220, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: #000;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .gallery-grid { columns: 3; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-toggle { display: block; }
  .gallery-grid { columns: 2; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .classes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .stats-row { gap: 16px; }
}

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

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

/* ─── Loading Spinner ─── */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
