/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Raleway:wght@300;400;500&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #0a0a0a;       /* matched to lion image black */
  --surface:   #0a0a0a;
  --purple:    #5558CC;       /* matched to logo */
  --purple-bright: #6366D1;   /* hover — matched to logo */
  --white:     #F5F5F5;
  --muted:     #888888;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ───────────────────────────
   HEADER / NAV
─────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: var(--bg);
  border-bottom: none;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  height: 100%;
  position: relative;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  position: absolute;
  right: 2rem;
}

.nav-icon-link {
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nav-icon-link:hover {
  opacity: 1;
}

.nav-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav-icon.pin {
  width: 22px;
  height: 22px;
  margin-left: 0.3rem;
}

.nav-icon.mail {
  width: 24px;
  height: 24px;
}

.nav-link {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;

  /* underline animation */
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.nav-link::after {
  display: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--purple-bright);
}

.nav-link:hover::after {
  width: 100%;
}

/* Register — same as other links */
.register-btn {
  border: none;
  background: none;
  padding-bottom: 4px;
}

/* ───────────────────────────
   PLACEHOLDER SECTIONS
   (replace with real content)
─────────────────────────── */
.page-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0;
  overflow: hidden;
  padding-bottom: 8rem;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--white);
  text-transform: uppercase;
  margin-top: 5rem;
  margin-bottom: 0.2rem;
  animation: popin 0.8s ease-out forwards;
}

.hero-logo {
  width: clamp(340px, 48vw, 660px);
  display: block;
  margin: 0 auto;
  pointer-events: none;
  user-select: none;
  animation: popin 0.8s ease-out both;
}

@keyframes popin {
  0%   { transform: scale(0.96); opacity: 0; }
  100% { transform: scale(1);    opacity: 1; }
}

.page-section h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.page-section h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--muted);
  letter-spacing: 0.1em;
}

.page-section p {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ───────────────────────────
   ABOUT SECTION
─────────────────────────── */
.about-section {
  display: flex;
  flex-direction: column;
}

.about-top {
  background-color: var(--bg);
  display: flex;
  align-items: flex-end;
  gap: 4rem;
  padding: 7rem 10vw 0;
  min-height: 80vh;
}

.coach-photo {
  width: clamp(220px, 26vw, 360px);
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  align-self: flex-end;
}

.coach-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-self: center;
  padding-bottom: 0;
}

.coach-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
}

.coach-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-bottom {
  background-color: #F2F0EF;
  padding: 8rem 10vw 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.about-divider {
  width: 40%;
  height: 1px;
  background: #7a7168;
  margin-bottom: 2rem;
}

.coach-bio {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 400;
  color: #1a1a2e;
  line-height: 2;
  letter-spacing: 0.03em;
  max-width: 820px;
  text-align: center;
}

/* ───────────────────────────
   ABOUT MISSION (black section)
─────────────────────────── */
.about-mission {
  background-color: #F2F0EF;
  display: flex;
  align-items: center;
  gap: 6rem;
  padding: 3rem 8vw 7rem;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.mission-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}

.mission-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  color: #1a1a2e;
  letter-spacing: 0.06em;
}

.mission-text {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 400;
  color: #1a1a2e;
  line-height: 2;
  letter-spacing: 0.03em;
}

.mission-right {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  padding-top: 5rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
}

.photo-thumb {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  display: block;
  transition: opacity 0.2s ease;
}

.photo-thumb:hover {
  opacity: 0.85;
}

/* ───────────────────────────
   CAROUSEL
─────────────────────────── */
.carousel {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.carousel-track {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}

.carousel-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.carousel-img.active,
.carousel-img2.active {
  opacity: 1;
}

.carousel-img2 {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.35);
  color: white;
  border: none;
  font-size: 1.2rem;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.6);
}

.carousel-btn.prev { left: 0.5rem; }
.carousel-btn.next { right: 0.5rem; }

.home-intro {
  background-color: #F2F0EF;
  padding: 7rem 8vw;
  display: flex;
  align-items: center;
  gap: 6rem;
}

.intro-image-placeholder {
  flex: 1;
  min-height: 480px;
  background: #ddd8cf;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.intro-image-placeholder span {
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa49b;
}

.intro-mission {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.intro-mission-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 600;
  color: #1a1a2e;
  letter-spacing: 0.06em;
}

.intro-mission-text {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 400;
  color: #1a1a2e;
  line-height: 2;
  letter-spacing: 0.02em;
}

.home-intro-alt {
  padding-top: 2rem;
}

/* ───────────────────────────
   PROGRAMS PAGE
─────────────────────────── */
.programs-hero {
  background-color: var(--bg);
  padding: calc(var(--nav-height) + 5rem) 8vw 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}

.programs-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.06em;
}

.programs-hero-sub {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.programs-section {
  background-color: #F2F0EF;
  padding: 6rem 8vw;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.program-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.program-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #ddd8cf;
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-img-placeholder span {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa49b;
}

.program-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 400;
  color: #1a1a2e;
  letter-spacing: 0.04em;
}

.program-desc {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-weight: 400;
  color: #1a1a2e;
  line-height: 1.9;
  letter-spacing: 0.02em;
  flex: 1;
}

.program-btn {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: #1a1a2e;
  padding: 0.85rem 2rem;
  transition: background 0.25s ease;
}

.program-btn:hover {
  background: var(--purple-bright);
}

/* ───────────────────────────
   REGISTER / CONTACT SECTION
─────────────────────────── */
.contact-section {
  min-height: 40vh;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8vw;
  gap: 0;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

.contact-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.signup-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 5vw, 6rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1;
}

.contact-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 5vw, 6rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1;
}

.contact-divider {
  width: 1px;
  height: 260px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  margin: 0 6vw;
}

.contact-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  justify-content: center;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple-bright);
}

.contact-value {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
}

/* ───────────────────────────
   SIGNUP FORM SECTION
─────────────────────────── */
.signup-section {
  background-color: var(--bg);
  display: flex;
  align-items: flex-start;
  padding: 8rem 8vw;
  padding-top: calc(var(--nav-height) + 10rem);
  gap: 6vw;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.signup-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.5rem;
  gap: 3rem;
  text-align: center;
}

.signup-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.stamp-img {
  width: clamp(100px, 12vw, 160px);
  opacity: 0.9;
}

.stamp-text {
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-align: center;
  max-width: 220px;
  line-height: 1.8;
}

.signup-heading-large {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 5vw, 6rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1;
}

.signup-divider {
  display: none;
}

.signup-form-col {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.form-row {
  display: flex;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.form-group.full-width {
  flex: unset;
  width: 100%;
}

.form-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-bright);
}

.form-input {
  background: #111113;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: #444;
}

.form-input:focus {
  border-color: var(--purple-bright);
}

.form-select {
  appearance: none;
  cursor: pointer;
  color: var(--white);
}

.form-select option {
  background: #111113;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  align-self: flex-start;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--purple);
  border: none;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.form-submit:hover {
  background: var(--purple-bright);
  box-shadow: 0 0 20px rgba(99, 102, 209, 0.4);
}

.form-input.input-error {
  border-color: #e05555;
  transition: border-color 1.5s ease;
}

@keyframes errorFade {
  0% { border-color: #e05555; }
  100% { border-color: rgba(255,255,255,0.1); }
}

.form-submit.submit-success {
  background: #2e7d4f;
  transition: background 0.4s ease;
}

@media (max-width: 768px) {
  nav {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }

  .register-btn {
    padding: 6px 14px;
  }
}