/* CSS Variables */
:root {
  --primary-red: #E31B23;
  --accent-gold: #B8860B;
  --bg-dark: #1A1410;
  --bg-darker: #0D0A08;
  --bg-card: #18181B;
  --border-color: #3D3229;
  --text-white: #FFFFFF;
  --text-gray: #A1A1AA;
  --text-muted: #71717A;
  --text-dim: #52525B;
  --level-kids: #1E40AF;
  --level-intermediate: #B8860B;
  --level-advanced: #E31B23;
  --level-beginner: #22C55E;
  --level-all: #A855F7;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--text-white);
  padding: 16px 24px;
  border-radius: 4px;
  font-size: 14px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-red);
  border: 1px solid var(--primary-red);
  padding: 16px 24px;
  border-radius: 4px;
  font-size: 14px;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid var(--text-muted);
  padding: 16px 24px;
  border-radius: 4px;
  font-size: 14px;
}

.btn-icon {
  background-color: transparent;
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 4px;
  color: var(--text-white);
}

.btn-nav {
  padding: 14px 28px;
  background-color: var(--accent-gold);
  color: #0D0A08;
  /* Dark text for contrast */
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

.btn-sm {
  padding: 12px 24px;
  font-size: 13px;
}

/* Hero Section */
.hero {
  min-height: 900px;
  background: linear-gradient(180deg, rgba(45, 31, 26, 0.65) 0%, rgba(26, 20, 16, 0.85) 75%, #0D0A08 100%), url('img/title.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 900px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  height: 80px;
}

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

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--primary-red);
  border-radius: 8px;
  color: var(--text-white);
}

.logo-icon-sm {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}

.logo-text-white {
  color: var(--text-white);
}

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

.nav-links {
  display: none;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-white);
  transition: color 0.2s;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background-color: var(--bg-darker);
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-white);
}

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

@media (max-width: 1024px) {
  .nav {
    padding: 16px 20px;
    height: 70px;
  }

  .nav-links {
    display: none;
  }

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

  .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
  }

  .logo-icon svg {
    width: 20px;
    height: 20px;
  }

  .logo-text {
    font-size: 14px;
  }
}

/* Hero Main */
.hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 60px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid var(--accent-gold);
  border-radius: 20px;
}

.badge span {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--accent-gold);
}

.headline {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.headline h1 {
  font-family: var(--font-heading);
  font-size: 96px;
  font-weight: 700;
  line-height: 1.1;
}

.headline-white {
  color: var(--text-white);
}

.headline-red {
  color: var(--primary-red);
}

.subtext {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-gray);
}

.cta-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.scroll-indicator {
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: 800px;
  }

  .hero-content {
    min-height: 800px;
  }

  .hero-main {
    gap: 24px;
    padding: 0 24px;
  }

  .badge {
    padding: 8px 16px;
    border-radius: 16px;
  }

  .badge span {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .headline h1 {
    font-size: 42px;
  }

  .subtext {
    font-size: 15px;
    line-height: 1.5;
  }

  .cta-container {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta-container .btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 14px;
  }
}



/* Schedule Section */
.schedule {
  background-color: var(--bg-dark);
  padding: 80px 0;
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.schedule-header-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-schedule-btn {
  display: none;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--primary-red);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-white);
}

.schedule-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Schedule Table (Desktop) */
.schedule-table {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  max-width: 620px;
  margin: 0 auto;
}

.table-header {
  display: flex;
  align-items: center;
  padding: 0 24px;
  height: 60px;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
}

.th {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.th-class {
  width: 280px;
}

.th-level {
  width: 160px;
}

.th-time {
  flex: 1;
  text-align: center;
}

.th-coach {
  width: 200px;
}

.th-action {
  width: 180px;
  text-align: right;
}

.table-row {
  display: flex;
  align-items: center;
  padding: 0 24px;
  height: 72px;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.table-row-last {
  border-bottom: none;
}

.td {
  display: flex;
  align-items: center;
  height: 100%;
}

.td-class {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  width: 280px;
}

.class-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-white);
}

.class-sub {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--accent-gold);
}

.td-level {
  width: 160px;
}

.level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-white);
}

.level-kids {
  background-color: transparent;
  border: 1px solid var(--level-kids);
  color: var(--level-kids);
}

.level-intermediate {
  background-color: transparent;
  border: 1px solid var(--level-intermediate);
  color: var(--level-intermediate);
}

.level-advanced {
  background-color: transparent;
  border: 1px solid var(--level-advanced);
  color: var(--level-advanced);
}

.level-beginner {
  background-color: transparent;
  border: 1px solid var(--level-beginner);
  color: var(--level-beginner);
}

.level-all {
  background-color: transparent;
  border: 1px solid var(--level-all);
  color: var(--level-all);
}

.td-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.td-time svg {
  stroke: var(--text-muted);
}

.td-time span {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-white);
}

.td-coach {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 200px;
}

.coach-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--border-color);
}

.td-coach span {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-white);
}

.td-action {
  width: 180px;
  justify-content: flex-end;
}


.day-header {
  display: flex;
  align-items: center;
  padding: 0 24px;
  height: 40px;
  background-color: var(--bg-darker);
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-red);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Schedule Cards (Mobile) */
.schedule-cards {
  display: none;
  flex-direction: column;
  gap: 24px;
}

.mobile-day-header {
  font-family: var(--font-heading);
  color: var(--primary-red);
  font-size: 16px;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: -8px;
  /* Reduce bottom margin because cards have gap, but wait... 
     cards are in a flex column with gap: 24px. 
     This header will be a flex item. 
     So just standard margins are fine or maybe none if gap handles it. 
     Gap will put 24px ABOVE this header (if not first) and BELOW it.
     So margin-bottom: -something might be needed to bring the first card closer to the header?
     Or I can wrap the day's cards in a div. 
  */
  letter-spacing: 1px;
  text-transform: uppercase;
}

.schedule-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.schedule-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.schedule-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
}

.schedule-card-top .level-badge {
  padding: 4px 10px;
  font-size: 10px;
}

.schedule-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.schedule-card-bottom span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-gray);
}

@media (max-width: 1024px) {
  .schedule {
    padding: 48px 0;
  }

  .schedule-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .schedule-header-left {
    gap: 8px;
    width: 100%;
  }

  .section-tag {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .section-title {
    font-size: 28px;
  }

  .schedule-header-right {
    display: none;
  }

  .schedule-table {
    display: none;
  }

  .schedule-cards {
    display: flex;
  }

  .mobile-schedule-btn {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

/* Reviews Section */
.reviews {
  background-color: var(--bg-dark);
  padding: 80px 0;
}

.reviews-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  text-align: center;
}

.reviews-cards {
  display: flex;
  gap: 32px;
}

.review-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--accent-gold);
  border-radius: 8px;
}

.stars {
  display: flex;
  gap: 4px;
  color: var(--accent-gold);
}

.review-quote {
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-gray);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--border-color);
}

.review-author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-author-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-white);
}

.review-author-role {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--primary-red);
}

@media (max-width: 1024px) {
  .reviews {
    padding: 48px 0;
  }

  .reviews-header {
    gap: 12px;
    margin-bottom: 24px;
  }

  .reviews-header .section-tag {
    font-size: 11px;
  }

  .reviews-header .section-title {
    font-size: 24px;
  }

  .reviews-cards {
    flex-direction: column;
    gap: 24px;
  }

  .review-card {
    gap: 16px;
    padding: 20px;
  }

  .stars svg {
    width: 16px;
    height: 16px;
  }

  .review-quote {
    font-size: 14px;
    line-height: 1.5;
  }

  .review-avatar {
    width: 40px;
    height: 40px;
  }

  .review-author-info {
    gap: 2px;
  }

  .review-author-name {
    font-size: 12px;
  }

  .review-author-role {
    font-size: 11px;
  }

  /* Hide third review on mobile */
  .reviews-cards .review-card:last-child {
    display: none;
  }
}

/* Gallery Section */
.gallery {
  background-color: var(--bg-dark);
  padding: 80px 0;
}

.gallery-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  text-align: center;
}

.gallery-grid {
  display: flex;
  gap: 16px;
}

.gallery-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
  border-radius: 8px;
  overflow: hidden;
}

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

.gallery-img-tall {
  height: 250px;
}

.gallery-img-short {
  height: 180px;
}

.gallery-grid-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.gallery-row {
  display: flex;
  gap: 12px;
  height: 160px;
}

.gallery-row .gallery-img {
  flex: 1;
}

@media (max-width: 1024px) {
  .gallery {
    padding: 48px 0;
  }

  .gallery-header {
    gap: 12px;
    margin-bottom: 24px;
  }

  .gallery-header .section-tag {
    font-size: 12px;
  }

  .gallery-header .section-title {
    font-size: 28px;
  }

  .gallery-grid {
    display: none;
  }

  .gallery-grid-mobile {
    display: flex;
  }
}

/* Footer */
.footer {
  background-color: var(--bg-darker);
  padding: 48px 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer-logo-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-area .logo-text {
  font-size: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-link-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-white);
}

.footer-link-col a,
.footer-link-col span {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-link-col a:hover {
  color: var(--text-white);
}

.footer-divider {
  height: 1px;
  background-color: var(--border-color);
  margin-bottom: 32px;
}

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

.footer-copyright {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--text-white);
}

@media (max-width: 1024px) {
  .footer {
    padding: 32px 24px;
  }

  .footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-logo-area {
    align-items: center;
  }

  .footer-logo-area .logo {
    flex-direction: row;
    gap: 8px;
  }

  .footer-logo-area .logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
  }

  .footer-logo-area .logo-icon svg {
    width: 18px;
    height: 18px;
  }

  .footer-logo-area .logo-text {
    font-size: 14px;
  }

  .footer-tagline {
    font-size: 13px;
  }

  .footer-links {
    display: none;
  }

  .footer-social {
    gap: 20px;
    margin-bottom: 24px;
  }

  .footer-social svg {
    width: 22px;
    height: 22px;
  }

  .footer-divider {
    width: 100%;
    margin-bottom: 24px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .footer-copyright {
    font-size: 11px;
  }
}