/* Reset & globals */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Russo One', sans-serif;
  line-height: 1.6;
}

/* Container helper */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== HEADER / NAV ===== */
.site-header {
  background: #000;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  padding-top: 0;
  padding-bottom: 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD700; /* match that gold vibe */
  text-decoration: none;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav__item a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__item a:hover {
  color: #FFD700;
}

/* Hamburger for mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #333 0%, #000 80%);
  text-align: center;
  padding: 0 1rem;
}

.hero__logo {
  max-width: 180px;
  margin-bottom: 1.5rem;
}

.hero__title {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 0.5rem;
}

.hero__title span {
  /* gold gradient text */
  background: linear-gradient(45deg, #FFD700, #FFF8DC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* glowing drop-shadow */
  filter:
    drop-shadow(0 0 15px rgba(255, 215, 0, 0.8))
    drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
}

.panels {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.panel {
  position: relative;
  flex: 1;
  height: 350px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: flex 0.5s ease;

  display: block; /* make the <a> block-level */
  z-index: 0; 
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.panel h3 {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: #fff;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 8px rgba(255,255,255,0.7);

  pointer-events: none; /* stops the text from stealing taps */
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 40%);
  pointer-events: none; /* lets taps pass through overlay */
}


.panel:hover {
  flex: 1.2;
}

/* Touch devices: don't grow panels on tap */
@media (hover: none), (pointer: coarse), (max-width: 768px) {
  .panel { 
    flex: none;          /* already set for mobile, reaffirm */
    transition: none;    /* no flex animation on tap */
  }
  .panel:hover {
    flex: none !important;  /* stop the hover-grow */
  }
}


/* ===== About Section ===== */
.about {
  background: radial-gradient(circle at center, #1a1a1a, #000);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}

.about__subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: #FFD700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about__heading {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  /* gold gradient text + glow */
  background: linear-gradient(45deg, #FFD700, #FFF8DC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255,215,0,0.8));
}

.about__description {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}

.about__divider {
  width: 80px;
  height: 4px;
  background: #FFD700;
  margin: 0 auto;
}

/* Scoped About in Hero */
.about-hero {
  max-width: 700px;
  margin: 2rem auto 0;
  text-align: center;
  padding: 0 1rem;
}

.about-hero .about__subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: #FFD700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.about-hero .about__heading {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #FFD700, #FFF8DC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(255,215,0,0.8));
}

.about-hero .about__description {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.6;
}

.about-hero .about__divider {
  width: 60px;
  height: 3px;
  background: #FFD700;
  margin: 1.5rem auto 0;
}

/* background‑image rules: just swap in your own pics */
.panel-mma {
  background-image: url('pics/mma.jpg');
}
.panel-boxing {
  background-image: url('pics/box.jpg');
}
.panel-wrestling {
  background-image: url('pics/wrestle.png');
}
/* === NAV: Mobile-first (default) === */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1200; /* keep above overlay */
}

.nav__list {
  display: none;
}

.nav__list.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--dark, #000);
  padding-top: 1rem;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  z-index: 1100;
}

/* === NAV: Desktop & large tablets === */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav__list {
    display: flex !important;
    position: static;
    width: auto; height: auto;
    background: transparent;
    transform: none;
    gap: 1.5rem;
  }
}




@media (max-width: 768px) {

  .panels { flex-direction: column; }
  .panel { height: 250px; }
  .panel:hover { flex: 1; }
  .panels {
    flex-direction: column;  /* stack ’em vertically */
    overflow: visible;       /* let them show outside the container */
  }
  .panel {
    height: 250px;           /* a touch shorter on phone */
    background-position: center 20%; /* play with that “20%” until it feels right */
    flex: none;             /* don’t try to flex-shrink or grow */
  }
  .hero__title {
    flex-wrap: nowrap;        /* force one line */
    gap: 1rem;                /* tighten letter gap */
    font-size: 3rem;          /* scale down to fit */
    justify-content: center;  /* keep it centered */
  }
}

/* ===== ROSTER PAGE ===== */
.roster-page {
  background: radial-gradient(circle at center, #1a1a1a, #000);
  color: #fff;
}

.roster-page h1 {
  margin-top: 0;      /* kill the built-in browser spacing */
  margin-bottom: 2rem;
  font-size: 2.5rem;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(45deg, #FFD700, #FFF8DC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255,215,0,0.8));
}
.site-header .container {
  padding-top: 0;
  padding-bottom: 0;
}


.roster-section {
  margin-bottom: 3rem;
}

.roster-section h2 {
  font-size: 2rem;
  text-align: center;
  text-transform: uppercase;
  color: #FFD700;
  margin-bottom: 1.5rem;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.fighter-card {
  background: radial-gradient(circle at center, rgba(51,51,51,0.9), #000);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

.fighter-card:hover {
  transform: translateY(-5px);
}

.fighter-info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
}
.modal-content iframe {
  width: 100%;
  height: 80vh;      /* takes up most of the screen */
  border: none;
  border-radius: 8px;
}


/* Weekly Schedule Styling */
.weekly-schedule {
  background: radial-gradient(circle at top left, #111, #000);
  padding: 3rem 1rem;
  text-align: center;
}

.weekly-schedule figure {
  display: inline-block;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
}

.schedule-caption {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  /* gold gradient fill */
  background: linear-gradient(45deg, #FFD700, #FFF8DC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* same glow as other headings */
  filter:
    drop-shadow(0 0 10px rgba(255,215,0,0.8))
    drop-shadow(0 0 20px rgba(255,215,0,0.6));
}


.schedule-img {
  width: 100%;
  height: auto;
  border: 4px solid #222;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

/* Mobile tweak */
@media (max-width: 600px) {
  .schedule-caption {
    font-size: 1.25rem;
  }
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  display: grid;
  gap: 1.5rem;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #FFD700;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #444;
  border-radius: 4px;
  background: #111;
  color: #fff;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #FFD700;
}

.btn {
  display: inline-block;
  background: #FFD700;
  color: #000;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #e6c200;
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: #111;
  color: #fff;
  padding: 2rem 1rem;
}

.site-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.footer-logo img {
  height: 100px;
  object-fit: contain;
}

/* Social icons */
.social-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.2s;
}

.social-links a:hover {
  color: #FFD700;
}

/* Contact info */
.contact-info {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info a:hover {
  color: #FFD700;
}

/* Footer copyright */
.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 1.5rem;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .site-footer .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .contact-info {
    flex-direction: column;
    gap: 0.75rem;
  }
}


@media (min-width: 768px) {
  .fighter-info-box {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
  .fighter-info-box .fighter-text {
    margin-right: 1rem;
  }
}

.fighter-name {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.fighter-text p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #ddd;
}

.fighter-text p span {
  font-weight: bold;
  color: #fff;
}

.fighter-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #FFD700;
  box-shadow: 0 0 8px rgba(255,215,0,0.7);
}
/* ===== New Nav v2 (isolated) ===== */
:root{
  --nav2-bg: #000;
  --nav2-fg: #fff;
  --nav2-accent: #FFD700;
}

.header2 {
  position: sticky; top: 0; z-index: 2000;
  background: var(--nav2-bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header2__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.header2__logo { height: 48px; width: auto; display: block; }

/* Toggle (hamburger) */
.nav2-toggle {
  display: inline-flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; padding: 0;
  background: transparent; border: 0; cursor: pointer;
}
.nav2-bar { display: block; height: 2px; width: 26px; background: var(--nav2-fg); transition: transform .25s ease, opacity .25s ease; }

/* Turn hamburger into X when open */
.nav2-toggle[aria-expanded="true"] .nav2-bar:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav2-toggle[aria-expanded="true"] .nav2-bar:nth-child(2){ opacity: 0; }
.nav2-toggle[aria-expanded="true"] .nav2-bar:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu (default hidden via [hidden]) */
.nav2[hidden]{ display: none !important; }
.nav2 {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.96);
  display: flex; align-items: center; justify-content: center;
}
.nav2-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 1.25rem; text-align: center;
}
.nav2-list a{
  color: var(--nav2-fg); text-decoration: none; font-size: 1.25rem; font-weight: 700;
  letter-spacing: .05em;
}
.nav2-list a:hover{ color: var(--nav2-accent); }

/* Prevent body scroll when menu open */
body.nav2-open{ overflow: hidden; }

/* Desktop */
@media (min-width: 768px){
  .nav2-toggle{ display: none; }
  .nav2 {
    position: static; background: transparent; display: block;
  }
  .nav2[hidden]{ display: block !important; } /* override hidden on desktop */
  .nav2-list{ flex-direction: row; gap: 1.5rem; }
  .nav2-list a{ font-size: 1rem; }
}
/* === Nav v2: make the button visible above the overlay === */
.header2 { z-index: 3000; }
.nav2    { z-index: 2000; }

.nav2-toggle { position: relative; z-index: 3100; }
/* When menu is open, pin the X to the top-right */
body.nav2-open .nav2-toggle {
  position: fixed;
  top: 12px;
  right: 12px;
}

/* Make sure the lines are visible on the dark overlay */
.nav2-bar { background: var(--nav2-fg, #fff); }
