@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&display=swap');

/* Color system & variables */
:root {
  --bg-main: #0a0a0c;
  --bg-card: rgba(20, 20, 24, 0.65);
  --bg-card-hover: rgba(28, 28, 33, 0.85);
  --accent: #ccff00;
  --accent-rgb: 204, 255, 0;
  --accent-hover: #b8e600;
  --accent-glow: rgba(204, 255, 0, 0.15);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(204, 255, 0, 0.3);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-height: 80px;
  --container-max: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: #222226;
  border-radius: 5px;
  border: 2px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Radial Glow Orbs */
.glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.8;
}

.glow-orb-1 {
  top: -100px;
  right: -200px;
}

.glow-orb-2 {
  top: 50%;
  left: -300px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
}

.glow-orb-3 {
  bottom: -100px;
  right: -200px;
}

/* Typography & Headers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Global utility classes */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent);
  color: #000;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 0 25px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.text-accent {
  color: var(--accent);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  margin: 0.75rem auto 0 auto;
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: -1rem auto 3.5rem auto;
  font-size: 1.1rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

header.scrolled {
  height: 70px;
  background-color: rgba(10, 10, 12, 0.95);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text-primary);
}

.nav-cta {
  display: block;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(204, 255, 0, 0.08);
  border: 1px solid rgba(204, 255, 0, 0.2);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-logo-large {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 0 50px rgba(var(--accent-rgb), 0.15));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* About Section */
.about-section {
  padding: 8rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateX(10px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

.feature-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.about-visual {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  filter: brightness(85%);
}

.about-visual:hover .about-img {
  transform: scale(1.03);
}

.about-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 2rem;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.6) 70%, transparent 100%);
  backdrop-filter: blur(4px);
  border-top: 1px solid var(--border);
  z-index: 2;
}

/* Classes Section */
.classes-section {
  padding: 8rem 0;
  position: relative;
}

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

.class-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.class-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  background: var(--bg-card-hover);
}

.class-header {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.class-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  filter: grayscale(30%) brightness(40%);
  z-index: 1;
}

.class-card:hover .class-bg-img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(55%);
}

.class-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 20%, rgba(10, 10, 12, 0.9) 100%);
  z-index: 2;
}

.class-header-icon {
  position: relative;
  z-index: 3;
  font-size: 4rem;
  opacity: 0.85;
  transition: var(--transition);
}

.class-card:hover .class-header-icon {
  transform: scale(1.1);
  opacity: 1;
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

.class-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.class-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.class-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.class-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.class-link:hover {
  gap: 0.8rem;
}

/* Schedule Section */
.schedule-section {
  padding: 8rem 0;
  position: relative;
}

.schedule-filter-wrapper {
  margin-bottom: 3.5rem;
  display: flex;
  justify-content: center;
}

.schedule-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.schedule-tab {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.65rem 1.5rem;
  border-radius: 30px; /* Modern Pill style */
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.schedule-tab.active, .schedule-tab:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.schedule-desktop-view {
  display: block;
}

.schedule-mobile-view {
  display: none;
}

.schedule-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(15, 15, 18, 0.7);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0.75rem;
  text-align: center;
  min-width: 1000px;
  padding: 1.5rem;
}

.schedule-table th, .schedule-table td {
  padding: 0.5rem;
  border-radius: 8px;
}

.schedule-table th {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--text-primary);
  padding: 1.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 2px solid var(--border);
  border-radius: 8px;
  letter-spacing: 0.05em;
}

.time-col {
  width: 100px;
}

.time-cell {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  background: rgba(204, 255, 0, 0.03) !important;
  border: 1px solid rgba(204, 255, 0, 0.15) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  line-height: 1.4;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.05);
}

.empty-cell {
  background: rgba(255, 255, 255, 0.005);
  border: 1px solid rgba(255, 255, 255, 0.015);
  border-radius: 8px;
}

/* Schedule Card Box Styles */
.schedule-class-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-left: 5px solid var(--text-muted);
  border-radius: 8px;
  padding: 1rem 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100px;
  position: relative;
  overflow: hidden;
}

.schedule-class-box:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.15);
}

/* Discipline Box Colors & Glows */
.box-mma { 
  border-left-color: var(--accent); 
  background: rgba(204, 255, 0, 0.01); 
}
.box-mma:hover {
  box-shadow: 0 10px 25px rgba(204, 255, 0, 0.1);
  border-color: rgba(204, 255, 0, 0.3);
}

.box-crossfit { 
  border-left-color: #ffffff; 
  background: rgba(255, 255, 255, 0.01); 
}
.box-crossfit:hover {
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.box-grappling { 
  border-left-color: #00bfff; 
  background: rgba(0, 191, 255, 0.01); 
}
.box-grappling:hover {
  box-shadow: 0 10px 25px rgba(0, 191, 255, 0.12);
  border-color: rgba(0, 191, 255, 0.3);
}

.box-boxing { 
  border-left-color: #ff4500; 
  background: rgba(255, 69, 0, 0.01); 
}
.box-boxing:hover {
  box-shadow: 0 10px 25px rgba(255, 69, 0, 0.12);
  border-color: rgba(255, 69, 0, 0.3);
}

.box-kids { 
  border-left-color: #ffd700; 
  background: rgba(255, 215, 0, 0.01); 
}
.box-kids:hover {
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.3);
}

.class-icon {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.schedule-class-box:hover .class-icon {
  color: var(--accent);
  transform: scale(1.1);
}

.class-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-transform: uppercase;
}

.class-name.sub-name {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

.class-coach {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.class-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.coach-inline {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.or-badge {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  padding: 0.05rem 0.5rem;
  border-radius: 12px;
  margin: 0.15rem 0;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

/* Sparring MMA Box style */
.sparring-col {
  vertical-align: middle;
}

.sparring-box {
  height: 216px;
  background: rgba(204, 255, 0, 0.02);
  border-color: rgba(204, 255, 0, 0.1);
  border-left-color: var(--accent);
}

.sparring-box:hover {
  background: rgba(204, 255, 0, 0.05);
  border-color: var(--accent);
}

/* Dimmed / Non-matching Filter cells */
.schedule-class-box.dimmed, .mobile-timeline-item.dimmed {
  opacity: 0.12;
  filter: grayscale(90%) blur(0.5px);
  transform: scale(0.97);
  pointer-events: none;
}

/* Extra schedule notes styling */
.schedule-notes-footer {
  margin-top: 4rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.note-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.25rem 2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-grow: 1;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
}

.note-box i {
  color: var(--accent);
  font-size: 1.25rem;
}

.note-box.closed-day {
  border-color: rgba(255, 69, 0, 0.15);
  background: rgba(255, 69, 0, 0.01);
}

.note-box.closed-day i {
  color: #ff4500;
}

/* Contact & Info Section */
.contact-section {
  padding: 8rem 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.info-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.social-icon {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  width: 48px;
  height: 48px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem;
  backdrop-filter: blur(12px);
}

.contact-form-container h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.contact-form-container p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.1);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

select.form-input option {
  background: var(--bg-main);
  color: var(--text-primary);
}

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #101014;
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px var(--accent-glow);
  z-index: 10000;
  transform: translateY(150%);
  transition: var(--transition);
}

.toast-notification.show {
  transform: translateY(0);
}

.toast-icon {
  color: var(--accent);
  font-size: 1.5rem;
}

.toast-content h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.toast-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Footer Section */
footer {
  background-color: #050507;
  border-top: 1px solid var(--border);
  padding: 5rem 0 3rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1.5rem;
  max-width: 320px;
}

.footer-nav h4, .footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav-links a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-nav-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-contact-details div {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-contact-details i {
  color: var(--accent);
  margin-top: 0.2rem;
}

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

/* Intersection Observer Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-grid {
    gap: 2rem;
  }
  .about-grid, .contact-grid {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  /* Compact logo height on mobile */
  .logo-icon {
    height: 32px;
  }

  /* Reduced padding on mobile sections for tighter spacing */
  .about-section,
  .classes-section,
  .schedule-section,
  .contact-section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }
  
  /* Align menu toggle to the right and ignore nav flex item wrapper */
  .mobile-nav-toggle {
    display: block;
    margin-left: auto;
  }
  
  nav {
    display: contents;
  }
  
  /* Premium side mobile navigation menu styling */
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: #0d0d0f;
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 0;
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .nav-links li {
    width: 100%;
    margin: 0;
  }
  
  .nav-links a {
    font-size: 1.15rem;
    font-weight: 600;
    width: 100%;
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-links li:last-child a {
    border-bottom: none;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 6rem 0 3rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 1rem;
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  
  .hero-desc {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.75rem;
    max-width: 480px;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-logo-large {
    max-width: 240px;
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  /* Using clean flexbox ordering instead of direction: rtl hack */
  .about-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 3rem;
  }
  
  /* Optimized card padding for middle blocks on mobile */
  .feature-card {
    padding: 1.5rem;
    gap: 1.25rem;
  }
  
  .class-body {
    padding: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Responsive Schedule */
  .schedule-desktop-view {
    display: none;
  }

  .schedule-mobile-view {
    display: block;
  }

  /* Horizontal scrolling filter tabs instead of multi-line wrapping */
  .schedule-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
  }

  .schedule-tabs::-webkit-scrollbar {
    display: none;
  }

  .schedule-tab {
    white-space: nowrap;
  }

  /* Mobile day selector buttons */
  .mobile-day-selector {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    scrollbar-width: none;
  }

  .mobile-day-selector::-webkit-scrollbar {
    display: none;
  }

  .day-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.65rem 1.25rem;
    border-radius: 30px; /* Rounded pill day tabs */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    flex-grow: 1;
    text-align: center;
    transition: var(--transition);
    white-space: nowrap;
  }

  .day-btn.active, .day-btn:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
  }

  /* Mobile Day Timeline (Roadmap vertical format) */
  .mobile-days-wrapper {
    position: relative;
    padding-left: 0.5rem;
  }

  /* Vertical roadmap line track running through the items */
  .mobile-days-wrapper::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 95px; /* Between the time col (80px) and cards */
    width: 2px;
    background: linear-gradient(to bottom, var(--border) 0%, rgba(var(--accent-rgb), 0.25) 50%, var(--border) 100%);
    z-index: 1;
  }

  .mobile-day-timeline {
    display: none;
    flex-direction: column;
    gap: 2rem;
  }

  .mobile-day-timeline.active {
    display: flex;
  }

  .mobile-timeline-item {
    display: flex;
    gap: 2.5rem; /* Large gap for the line */
    align-items: center;
    position: relative;
    z-index: 2;
    transition: var(--transition);
  }

  .item-time {
    width: 80px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    flex-shrink: 0;
    text-shadow: 0 0 6px var(--accent-glow);
  }

  /* Node dots on the roadmap vertical track */
  .mobile-timeline-item::after {
    content: '';
    position: absolute;
    left: 90px; /* Aligned with line */
    width: 12px;
    height: 12px;
    background: var(--bg-main);
    border: 3px solid var(--border);
    border-radius: 50%;
    z-index: 3;
    transition: var(--transition);
  }

  .mobile-timeline-item:hover::after {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
  }

  .item-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 5px solid var(--text-muted);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    flex-grow: 1;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: var(--transition);
  }

  .mobile-timeline-item:hover .item-card {
    transform: translateX(6px);
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.15);
  }

  .item-card h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
  }

  .item-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .coach-p {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--accent) !important;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    text-transform: uppercase;
  }

  .coach-small {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
  }

  .or-span {
    font-size: 0.75rem;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.05rem 0.4rem;
    border-radius: 12px;
    font-weight: 800;
    margin: 0 0.25rem;
    display: inline-block;
  }

  .card-mma { border-left-color: var(--accent); }
  .card-crossfit { border-left-color: #a1a1aa; }
  .card-grappling { border-left-color: #00bfff; }
  .card-boxing { border-left-color: #ff4500; }
  .card-kids { border-left-color: #ffd700; }
  .card-mixed { border-left-color: var(--accent); }
}

/* Stacking hero buttons vertically on small devices to prevent cramping */
@media (max-width: 576px) {
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-logo-large {
    max-width: 200px;
  }

  /* Centered, vertical feature cards for About section on mobile */
  .feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.5rem;
    gap: 1rem;
  }
  
  /* Cinematic aspect ratio for About visual banner on mobile */
  .about-visual {
    aspect-ratio: 16/10;
  }
  
  .about-overlay {
    padding: 1.5rem 1.25rem;
  }
  
  .about-overlay h3 {
    font-size: 1.15rem !important;
  }
  
  .about-overlay p {
    font-size: 0.85rem !important;
    line-height: 1.4;
  }

  /* 2-column layout for Disciplines on mobile, hiding text descriptions */
  .classes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .class-card {
    border-radius: 8px;
  }
  
  .class-header {
    height: 110px;
  }
  
  .class-header-icon {
    font-size: 2.2rem;
  }
  
  .class-body {
    padding: 0.75rem;
    text-align: center;
    justify-content: center;
    min-height: 55px;
  }
  
  .class-body h3 {
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.2;
    text-transform: uppercase;
  }
  
  .class-body p,
  .class-body .class-link {
    display: none !important;
  }
}

/* Adjust timeline margins and node positions on very small screens (<= 480px) */
@media (max-width: 480px) {
  .mobile-timeline-item {
    gap: 1.25rem;
  }
  
  .item-time {
    width: 60px;
    font-size: 0.75rem;
  }
  
  .mobile-days-wrapper::before {
    left: 72px;
  }
  
  .mobile-timeline-item::after {
    left: 67px;
  }
  
  .item-card {
    padding: 1rem;
  }
}
