:root {
  --primary-bg: #000000;
  --accent: #e6d2aa;
  --accent-strong: #fbd784;
  --text: #ffffff;
  --muted: #b5b5b5;
  --card-bg: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

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

body {
  min-height: 100vh;
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--primary-bg);
  color: var(--text);
  scroll-behavior: smooth;
}

.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

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

/* Loading overlay */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--primary-bg);
  display: grid;
  place-items: center;
  z-index: 999;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(230, 210, 170, 0.4);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

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

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  transition: background 0.4s ease, border 0.4s ease;
}

.site-header.scrolled {
  background: #000;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
  min-height: 56px;
  padding-inline: clamp(1rem, 5vw, 3rem);
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brand-mark {
  width: clamp(120px, 18vw, 230px);
  height: clamp(70px, 8vw, 120px);
  border-radius: 12px;
  background: transparent center/contain no-repeat;
  background-image: url("images/logo4.png");
  background-size: contain;
  background-position: center;
  filter: drop-shadow(0 0 28px rgba(0, 0, 0, 0.8));
  overflow: visible;
}

.main-nav {
  display: flex;
  gap: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  padding: 3rem 0 4rem;
}

.hero-slider {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-media {
  border-radius: 30px;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-media.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.hero-copy h1 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: 0.08em;
}

.hero-copy .lead {
  font-size: 1.2rem;
  color: var(--muted);
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.motion-text {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.motion-text.motion-visible {
  opacity: 1;
  transform: scale(1);
}

.glow-btn {
  background: linear-gradient(135deg, rgba(230, 210, 170, 0.25), rgba(230, 210, 170, 0.9));
  border: 1px solid rgba(230, 210, 170, 0.6);
  color: #000;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 25px rgba(230, 210, 170, 0.7);
  transition: transform 0.3s ease;
}

.glow-btn:hover {
  transform: translateY(-3px);
}

.ghost-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.ghost-btn span {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  70% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
}

.hero-controls {
  position: absolute;
  inset: auto 3rem 3rem auto;
  display: flex;
  gap: 1rem;
  z-index: 5;
}

.hero-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-arrow:hover {
  background: rgba(230, 210, 170, 0.15);
}

.section {
  padding: 5rem 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2rem;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-top: 0.4rem;
  font-family: "Archivo", sans-serif;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.about-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.about-image {
  min-height: 360px;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.about-copy ul {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted);
  line-height: 1.6;
}

.schedule .section-heading {
  margin-bottom: 3rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.schedule-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.4rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.schedule-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.schedule-card h3 {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--accent);
}

.schedule-card .session-list {
  list-style: none;
  margin-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.schedule-card .session-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1rem;
  color: var(--text);
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-card .session-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.session-time {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.session-age {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-card p {
  color: var(--text);
}

.schedule-card:hover {
  box-shadow: 0 0 25px rgba(230, 210, 170, 0.35);
  border-color: rgba(230, 210, 170, 0.5);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.video-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
}

.video-card video {
  width: 100%;
  border-radius: 24px 24px 0 0;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

.video-card p {
  margin: 0.9rem 1rem 1.2rem;
  color: var(--muted);
}

.video-card:hover {
  transform: translateY(-6px);
}

.gallery-grid {
  column-count: 3;
  column-gap: 1rem;
}

.gallery-grid figure {
  margin: 0 0 1rem;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

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

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.testimonial-carousel {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-slide {
  position: absolute;
  opacity: 0;
  transition: opacity 0.8s ease;
  text-align: center;
  padding: 0 2rem;
}

.testimonial-slide.active {
  opacity: 1;
}

.testimonial-slide .quote {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--muted);
}

.testimonial-slide .name {
  margin-top: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
}

.social-icons .icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
}

.social-icons .icon.youtube {
  border-color: rgba(255, 255, 255, 0.2);
}

.social-icons .icon:hover {
  box-shadow: 0 0 30px rgba(230, 210, 170, 0.6);
  transform: translateY(-4px);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-btn {
  padding: 1.3rem 2.4rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.contact-panel {
  max-width: 520px;
}

.contact-details {
  margin-top: 1rem;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

.motto-banner {
  width: 100%;
  text-align: center;
  padding: 1.8rem 0;
  font-size: 1.1rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  color: var(--muted);
}

.footer-credit {
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section.about-panel,
.section.schedule,
.section.videos,
.section.gallery,
.section.testimonials,
.section.social,
.section.contact {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-parallax] {
  position: relative;
  overflow: hidden;
  --parallax-offset: 0;
}

[data-parallax]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
  transform: translateY(var(--parallax-offset, 0));
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 0 auto auto 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 5rem 1.5rem;
    gap: 1rem;
    display: none;
    width: 100%;
    height: calc(100% - 5rem);
    justify-content: flex-start;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-controls {
    display: none;
  }

  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .nav-inner {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
  }

  .gallery-grid {
    column-count: 1;
  }
}
