/* ============================================================
   TEAM KRAUS — stylesheet
   Palette: #0a0a0a (bg) | #ff8c00 (accent) | #fff (text)
   Fonts: Bebas Neue (display) | Inter (body)
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #0a0a0a;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
ul  { list-style: none; }

/* ---------- Design tokens ---------- */
:root {
  --accent:      #ff8c00;
  --accent-dark: #cc6f00;
  --bg:          #0a0a0a;
  --bg-2:        #111111;
  --bg-3:        #1a1a1a;
  --text:        #ffffff;
  --text-muted:  #888;
  --radius:      12px;
  --nav-h:       72px;
  --gap:         clamp(1.5rem, 4vw, 3rem);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 140, 0, 0.15);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.12em;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}
.nav-logo span { color: var(--accent); }

/* Desktop nav links */
.nav-links-desktop {
  display: flex;
  gap: 0.25rem;
}

.nav-links-desktop a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links-desktop a:hover {
  color: var(--accent);
  background: rgba(255,140,0,0.08);
}

/* Language Switcher */
.nav-lang-switcher, .mobile-lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
}
.mobile-lang-switcher {
  margin-top: 1rem;
  padding: 0;
}
.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.lang-btn:hover, .lang-btn.active {
  color: var(--accent);
}
.divider {
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
}

/* Hamburger / mobile menu */
.nav-checkbox-input { display: none; }

.menu-toggle {
  display: none;                         /* Shown via media query */
  cursor: pointer;
  padding: 4px;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}

/* Animate hamburger to X (checkbox is now at body level) */
#nav-checkbox:checked ~ #site-nav .hamburger-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#nav-checkbox:checked ~ #site-nav .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#nav-checkbox:checked ~ #site-nav .hamburger-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile dropdown */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;                         /* Top of everything */
  background: #000;                      /* Solid black */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 40px 20px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s;
  visibility: hidden;
}

.mobile-menu li a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.1em;
  padding: 10px;
  display: block;
  text-align: center;
  transition: color 0.2s;
}
.mobile-menu li a:hover { color: var(--accent); }

#nav-checkbox:checked ~ .mobile-menu {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Ensure the hamburger label stays visible on top of the menu */
#nav-checkbox:checked ~ #site-nav {
  z-index: 6000;
}
#nav-checkbox:checked ~ #site-nav .menu-toggle {
  position: relative;
  z-index: 1;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 480px;
  overflow: hidden;
  background: #000;
}

.slider-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slides-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.18, 1);
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.2) 60%,
    rgba(0,0,0,0.5) 100%
  );
}

.slide-caption {
  position: absolute;
  bottom: clamp(4rem, 12vh, 8rem);
  left: clamp(1.5rem, 8vw, 8rem);
  z-index: 2;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.slide-caption span { color: var(--accent); }

/* Arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255,140,0,0.12);
  border: 1px solid rgba(255,140,0,0.4);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}
.slide-arrow:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.1);
}
.slide-arrow.prev { left: clamp(0.75rem, 3vw, 2rem); }
.slide-arrow.next { right: clamp(0.75rem, 3vw, 2rem); }

/* Dots */
.slide-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.dot.active {
  background: var(--accent);
  transform: scale(1.35);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: 2.5rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.6); }
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.05em;
  line-height: 1;
  color: #fff;
  margin-bottom: var(--gap);
}
.section-title span { color: var(--accent); }

/* ============================================================
   HIGHLIGHT SECTION
   ============================================================ */
.highlight-section {
  padding: clamp(4rem, 12vw, 8rem) clamp(1.25rem, 6vw, 4rem);
  background: var(--bg-2);
  border-bottom: 1px solid rgba(255, 140, 0, 0.1);
}

.highlight-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: center;
}

.highlight-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.highlight-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,140,0,0.2);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.highlight-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
}

.highlight-image:hover img {
  transform: scale(1.04);
}

.highlight-content {
  display: flex;
  flex-direction: column;
}

.highlight-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.highlight-text {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .highlight-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .highlight-image {
    order: -1;
  }
}

/* ============================================================
   FIGHTERS SECTION
   ============================================================ */
.fighters-section {
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 6vw, 4rem);
  max-width: 1280px;
  margin: 0 auto;
}

/* Fighter card */
.fighter-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(4rem, 10vw, 8rem);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fighter-card.scrolled {
  opacity: 1;
  transform: translateY(0);
}
.fighter-card--reverse {
  direction: rtl;
}
.fighter-card--reverse > * {
  direction: ltr;
}

/* Image */
.fighter-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,140,0,0.15);
}

.fighter-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}
.fighter-img-wrap:hover img { transform: scale(1.02); }

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,140,0,0.1);
  color: var(--accent);
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  margin-top: 1.25rem;
  transition: background 0.3s, color 0.3s;
}

.ig-link svg {
  width: 18px;
  height: 18px;
}

.ig-link:hover {
  background: var(--accent);
  color: #000;
}

/* Info */
.fighter-info {
  padding: clamp(0.5rem, 2vw, 1rem) 0;
}

.fighter-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255,140,0,0.4);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
}

.fighter-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.fighter-info h3 span { color: var(--accent); }

.fighter-nickname {
  font-style: italic;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.fighter-bio {
  color: rgba(255,255,255,0.75);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Stats row */
.fighter-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.05em;
  color: var(--accent);
  line-height: 1;
}
.stat-val small {
  font-size: 0.6em;
  opacity: 0.8;
}
.stat-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ============================================================
   SPONSOR SECTION
   ============================================================ */
.sponsor-section {
  background: var(--bg-2);
  border-top: 1px solid rgba(255,140,0,0.12);
  border-bottom: 1px solid rgba(255,140,0,0.12);
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 6vw, 4rem);
  text-align: center;
}

.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 140, 0, 0.15);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  text-decoration: none;
}

.sponsor-card:hover {
  border-color: rgba(255, 140, 0, 0.6);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.sponsor-card img {
  max-width: 260px;
  max-height: 140px;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.25s;
}

.sponsor-card:hover img {
  opacity: 1;
}

.sponsor-cta {
  color: rgba(255,255,255,0.65);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,140,0,0.35);
}

/* ============================================================
   SCHEDULE SECTION
   ============================================================ */
.schedule-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 140, 0, 0.15);
}

.schedule-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.schedule-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% 30%;
  filter: grayscale(10%);
}

.schedule-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.45) 40%,
    rgba(10, 10, 10, 0.8) 100%
  );
}

.schedule-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) clamp(1rem, 6vw, 4rem);
}

.schedule-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Schedule List */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 600px;
}

.schedule-list li {
  display: grid;
  grid-template-columns: 3.5rem 4.5rem 1fr;
  align-items: center;
  gap: 1rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.schedule-list .day {
  color: var(--text);
}

.schedule-list .time {
  color: var(--text);
  white-space: nowrap;
}

.schedule-list .class-type {
  color: var(--text);
}

/* Schedule Footer (Address & CTA) */
.schedule-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  margin-top: 2rem;
}

.schedule-address {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.schedule-address p:first-child {
  font-weight: 700;
  color: var(--accent);
}

.schedule-cta {
  transform: rotate(-10deg);
  text-align: right;
  display: flex;
  flex-direction: column;
  margin-right: clamp(1rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.schedule-cta h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.9);
  margin: 0;
}

.schedule-cta h3:last-child {
  color: var(--accent);
}

/* Map */
.schedule-map {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 140, 0, 0.2);
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .schedule-list li {
    grid-template-columns: 2.5rem 3.5rem 1fr;
    font-size: 1.5rem;
    gap: 0.75rem;
  }
  
  .schedule-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }
  
  .schedule-cta {
    transform: rotate(-5deg);
    text-align: left;
    margin-right: 0;
    margin-left: 1rem;
    margin-bottom: 0;
  }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 6vw, 4rem);
  background: var(--bg-3);
}

.about-inner {
  max-width: 760px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s, transform 0.7s;
}
.about-inner.scrolled {
  opacity: 1;
  transform: translateY(0);
}

.about-inner p {
  color: rgba(255,255,255,0.7);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.9;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #000;
  border-top: 1px solid rgba(255,140,0,0.15);
  padding: 3rem clamp(1rem, 6vw, 4rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.15em;
  color: #fff;
}
.footer-brand span { color: var(--accent); }

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

.footer-credit {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-credit:hover { color: var(--accent); }

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
#backToTopButton {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  border: none;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  box-shadow: 0 4px 20px rgba(255,140,0,0.4);
  transition: background 0.2s, transform 0.2s;
  display: none;                         /* Combined with JS toggle */
  align-items: center;
  justify-content: center;
}
#backToTopButton:hover {
  background: #fff;
  transform: scale(1.1);
}

/* ============================================================
   SCROLL ANIMATION HELPER
   ============================================================ */
.js-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-scroll.scrolled {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — tablets & small desktops
   ============================================================ */
@media (max-width: 900px) {
  .fighter-card,
  .fighter-card--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .fighter-img-wrap {
    aspect-ratio: 4 / 3;
  }

  .fighter-stats {
    gap: 1.5rem;
  }

  .nav-links-desktop  { display: none; }
  .menu-toggle       { display: flex; }
}

/* ============================================================
   RESPONSIVE — phones
   ============================================================ */
@media (max-width: 600px) {
  .slide-caption {
    left: 1.25rem;
    bottom: 5rem;
  }

  .slide-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .fighter-stats {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero-scroll-hint { display: none; }

  #backToTopButton {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    bottom: 1rem;
    right: 1rem;
  }
}
