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

:root {
  --black:   #101f41;
  --dark:    #0d1830;
  --surface: #162654;
  --red:     #ad3042;
  --red-hover: #8f2737;
  --white:   #ffffff;
  --muted:   #8a9bbf;
  --border:  #1e3060;
  --max-w:   1500px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hover); }

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header & Nav ── */
header {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.nav-brand:hover { color: var(--white); }

.nav-logo {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-top {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-brand-bottom {
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0;
  align-items: center;
}

nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.15s;
}

nav ul li a:hover,
nav ul li a.active { color: var(--red); }

nav ul li.nav-cta a {
  background: var(--red);
  color: var(--white);
  border-radius: 2px;
  margin-left: 8px;
  padding: 8px 16px;
}
nav ul li.nav-cta a:hover { background: var(--red-hover); color: var(--white); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.2s;
}

/* ── Hero Heading ── */
.hero-heading {
  background: #ffffff;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 48px 0;
  text-align: center;
}

.hero-heading h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: #000000;
}

/* ── Hero ── */
.hero {
  display: flex;
  align-items: center;
  min-height: 520px;
  background: #ffffff;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-image {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 40px 40px;
}

.hero-image img {
  width: 100%;
  max-height: 450px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.hero-content {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px 60px 24px;
  background: #ffffff;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #000000;
}


.hero-content p {
  font-size: 1.35rem;
  color: rgba(0,0,0,0.7);
  margin-bottom: 32px;
  max-width: 420px;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
  .hero-image {
    flex: none;
    height: auto;
    padding: 20px;
  }
  .hero-content {
    padding: 40px 24px;
    text-align: center;
    align-items: center;
  }
  .hero-btns {
    justify-content: center;
  }
}

/* ── Placeholder image ── */
.img-placeholder {
  background: var(--surface);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}

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

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }

.hero-content .btn-outline {
  border-color: var(--black);
  color: var(--black);
}
.hero-content .btn-outline:hover { background: var(--black); color: var(--white); }

/* ── Page Header (inner pages) ── */
.page-header {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 40px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-header p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 1rem;
}

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

.section-alt {
  background: var(--dark);
}

.section-title {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.section-title span { color: var(--red); }

/* ── Gallery grid (home) ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.gallery-grid .img-placeholder {
  height: 200px;
}

/* ── Membership cards ── */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.membership-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.membership-card h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.membership-card .price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.membership-card .price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}

.membership-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  flex: 1;
}

.membership-card .btn {
  text-align: center;
  margin-top: 8px;
}

/* ── Access note ── */
.access-note {
  margin-top: 48px;
  background: var(--surface);
  border-left: 3px solid var(--red);
  padding: 20px 24px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

/* ── Classes list ── */
.classes-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.class-item {
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.class-item:first-child { border-top: 1px solid var(--border); }

.class-item h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.class-item p {
  color: rgba(255,255,255,0.8);
  max-width: 700px;
}

/* ── Schedule iframe container ── */
.schedule-wrapper {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.schedule-wrapper iframe {
  width: 100%;
  border: none;
  display: block;
}

.schedule-placeholder {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  gap: 12px;
  padding: 40px;
  text-align: center;
}

.schedule-placeholder p { font-size: 0.85rem; }

/* ── Donate section ── */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.donate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.donate-card h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.donate-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

/* ── Sponsor section ── */
.sponsor-section {
  text-align: center;
}

.sponsor-section .img-placeholder {
  max-width: 700px;
  height: 220px;
  margin: 0 auto 32px;
}

.sponsor-cta {
  background: var(--surface);
  border: 1px dashed var(--border);
  padding: 40px;
  text-align: center;
  max-width: 600px;
  margin: 32px auto 0;
}

.sponsor-cta h3 {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sponsor-cta p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

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

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-photo { width: 100%; }
.about-photo .img-placeholder { width: 100%; height: 440px; }

.about-text h2 {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.about-text p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  font-size: 1rem;
}

/* ── Contact page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h2 {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}

.contact-detail dd {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.contact-detail dd a { color: rgba(255,255,255,0.85); }
.contact-detail dd a:hover { color: var(--red); }

.contact-map .img-placeholder { height: 380px; }

/* ── Legal pages ── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 40px 0 12px;
  color: var(--red);
}

.legal-content p,
.legal-content li {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-content .effective-date {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 36px;
}

/* ── Footer ── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-address {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.footer-social a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-social a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Slider ── */
.slider-section {
  background: var(--black);
  max-width: var(--max-w);
  margin: 0 auto;
}

.slider {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.slides { position: relative; }

.slide {
  display: none;
}
.slide.active { display: block; }

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1;
  padding: 8px 18px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s;
}
.slider-prev:hover,
.slider-next:hover { background: rgba(200,16,46,0.75); }
.slider-prev { left: 0; }
.slider-next { right: 0; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}
.dot.active { background: var(--red); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; margin-left: auto; }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    gap: 0;
  }

  nav ul.open { display: flex; }

  nav ul li a {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  nav ul li.nav-cta a {
    margin: 8px 24px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links { align-items: flex-start; }
}
