/* ===================================
   DeMatha Track & Field - Modern 2025 Design System
   Enterprise-Level Athletics Website
   =================================== */

/* DeMatha Colors - Blue & Red */
:root {
  --primary-color: #8B2332;        /* DeMatha Burgundy Red */
  --primary-dark: #6B1A28;         /* Deep Burgundy */
  --secondary-color: #003087;      /* DeMatha Royal Blue */
  --secondary-light: #0047AB;      /* Light Royal Blue */
  --accent-gold: #FFB800;          /* Gold Accent */
  --accent-blue: #0066CC;          /* Bright Blue */

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-150: #E9EEF4;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Status Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;

  /* Typography Scale */
  --font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-heading: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes - Modern Scale */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  --text-7xl: 4.5rem;      /* 72px */

  /* Spacing Scale */
  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */
  --space-32: 8rem;        /* 128px */

  /* Border Radius */
  --radius-sm: 0.375rem;   /* 6px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* Shadows - Modern & Subtle */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.12);
  --shadow-2xl: 0 24px 48px rgba(0, 0, 0, 0.16);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Reset & Base Styles
   =================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-900);
  line-height: 1.7;
  background-color: var(--white);
  font-weight: 400;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===================================
   Typography - Modern & Bold
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

h1 {
  font-size: var(--text-6xl);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--text-5xl);
  font-weight: 700;
}

h3 {
  font-size: var(--text-4xl);
  font-weight: 700;
}

h4 {
  font-size: var(--text-3xl);
  font-weight: 600;
}

h5 {
  font-size: var(--text-2xl);
  font-weight: 600;
}

h6 {
  font-size: var(--text-xl);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
  color: var(--gray-600);
  line-height: 1.8;
}

.text-muted {
  color: var(--gray-500);
}

.text-small {
  font-size: var(--text-sm);
}

.text-large {
  font-size: var(--text-xl);
}

/* ===================================
   Layout Components
   =================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 1536px) {
  .container {
    max-width: 1440px;
  }
}

.section {
  padding: var(--space-24) 0;
}

.section-large {
  padding: var(--space-32) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-title h2 {
  margin-bottom: var(--space-4);
}

.section-title p {
  font-size: var(--text-xl);
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  margin-bottom: var(--space-4);
}

/* ===================================
   Modern Navigation Bar
   =================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--secondary-color);
}

.navbar-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.navbar-brand span {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

.navbar-menu a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: var(--text-base);
  padding: var(--space-2) 0;
  position: relative;
  transition: var(--transition-base);
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-base);
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--primary-color);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

/* Admin Button in Navbar */
.navbar-menu a.btn {
  background: var(--secondary-color);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600;
}

.navbar-menu a.btn::after {
  display: none;
}

.navbar-menu a.btn:hover {
  background: var(--secondary-light);
  color: white;
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-2);
}

.navbar-toggle span {
  width: 28px;
  height: 2px;
  background-color: var(--secondary-color);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* ===================================
   Hero Section - Full Screen Impact
   =================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  padding-top: 80px;
  text-align: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 48, 135, 0.85), rgba(10, 25, 41, 0.75));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin: 0 auto var(--space-6) auto;
  padding: var(--space-3) var(--space-6);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.hero-title {
  font-size: var(--text-7xl);
  color: white;
  margin: 0 auto var(--space-6) auto;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
  font-weight: 800;
  text-align: center !important;
  width: 100%;
  padding: 0;
}

.hero-subtitle {
  font-size: var(--text-2xl);
  margin: 0 auto var(--space-10) auto;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  max-width: 700px;
  text-align: center !important;
  width: 100%;
  padding: 0 var(--space-4);
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.hero-stats {
  position: absolute;
  bottom: var(--space-12);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-12);
  z-index: 3;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: white;
  display: block;
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===================================
   Modern Buttons
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--text-base);
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 20, 60, 0.4);
}

.btn-secondary {
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(10, 25, 41, 0.3);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 25, 41, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: white;
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* ===================================
   Alert Banner
   =================================== */

.alert-banner {
  background: white;
  color: var(--gray-900);
  padding: var(--space-5) var(--space-6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: none;
  position: fixed;
  top: 100px;
  right: var(--space-6);
  width: 380px;
  max-width: calc(100vw - var(--space-12));
  z-index: 999;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-color);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.alert-banner.active {
  display: block;
}

.alert-banner-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-3);
}

.alert-banner-close {
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: var(--text-2xl);
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.alert-banner-close:hover {
  background: var(--gray-100);
  color: var(--gray-600);
}

.alert-banner-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--gray-900);
  flex: 1;
}

.alert-banner-content {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-bottom: var(--space-4);
}

.alert-banner-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary-color);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  transition: all 0.2s ease;
}

.alert-banner-link:hover {
  background: var(--primary-color);
  color: white;
}

/* ===================================
   Modern Cards
   =================================== */

.card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-base);
  border: 1px solid var(--gray-200);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--gray-300);
}

.card-header {
  padding: var(--space-6);
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  color: white;
  font-weight: 700;
  font-size: var(--text-xl);
}

.card-body {
  padding: var(--space-8);
}

.card-footer {
  padding: var(--space-6);
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.card-title {
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  font-size: var(--text-2xl);
  font-weight: 700;
}

.card-text {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: var(--text-base);
}

/* ===================================
   Grid System
   =================================== */

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ===================================
   Stats Section - Enterprise Style
   =================================== */

.stats-section {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  color: white;
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}

.stats-section h2,
.stats-section h3,
.stats-section p {
  color: white !important;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.15), transparent);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-12);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: var(--text-6xl);
  font-weight: 800;
  color: white;
  display: block;
  margin-bottom: var(--space-2);
  background: linear-gradient(135deg, white, var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ===================================
   Feature Section - Side by Side
   =================================== */

.feature-section {
  padding: var(--space-32) 0 var(--space-16) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.feature-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.feature-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.feature-content {
  padding: var(--space-8);
}

.feature-content h2 {
  margin-bottom: var(--space-6);
}

.feature-content p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

.feature-list {
  list-style: none;
  margin-bottom: var(--space-8);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
  color: var(--gray-700);
}

.feature-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}

/* Rotating Images */
.rotating-images {
  position: relative;
  width: 100%;
  height: 600px;
}

.rotating-images .feature-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.rotating-images .feature-image.active {
  opacity: 1;
}

/* ===================================
   Schedule Components
   =================================== */

.schedule-header {
  background: white;
  color: var(--gray-900);
  padding: var(--space-5) var(--space-6);
  text-align: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
}

.schedule-header h3,
.schedule-header p {
  color: var(--gray-900) !important;
}

.schedule-week {
  font-size: var(--text-xl);
  margin-bottom: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gray-900);
}

.schedule-dates {
  font-size: var(--text-sm);
  opacity: 0.7;
  font-weight: 500;
  color: var(--gray-600);
}

.schedule-day-card {
  position: relative;
  background: white;
  border: 1px solid var(--gray-200);
  margin-bottom: var(--space-5);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.schedule-day-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.schedule-day-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  object-fit: cover;
  opacity: 0.08;
}

.schedule-day-header {
  position: relative;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  color: white;
  padding: var(--space-5) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100px;
}

.schedule-day-name {
  font-size: var(--text-2xl);
  color: white;
  font-weight: 700;
  letter-spacing: -0.01em;
  z-index: 2;
  position: relative;
}

.schedule-location {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 2;
  position: relative;
}

.schedule-day-body {
  padding: var(--space-6);
}

.schedule-time {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gray-700);
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
  font-weight: 600;
}

.schedule-bus {
  background: linear-gradient(135deg, #FEF7ED, #FFF4E6);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
  font-weight: 500;
  font-size: var(--text-sm);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-left: 3px solid #F59E0B;
  color: var(--gray-800);
}

.schedule-notes {
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background-color: #F9FAFB;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--gray-400);
}

.general-notes {
  background: white;
  border-left: 3px solid #F59E0B;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  border-left: 3px solid #F59E0B;
}

.general-notes-title {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ===================================
   Meet Components - Modern Card Grid
   =================================== */

.meet-card {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.meet-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.meet-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  object-fit: cover;
  opacity: 0.08;
}

.meet-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  z-index: 1;
}

.meet-card-content {
  position: relative;
  z-index: 2;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.meet-card-header {
  padding: var(--space-6) var(--space-6) var(--space-5);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  min-height: 140px;
  display: flex;
  flex-direction: column;
}

/* JV Meet Card - Blue and Red Gradient */
.meet-card-header-jv {
  padding: var(--space-6) var(--space-6) var(--space-5);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white;
  min-height: 140px;
  display: flex;
  flex-direction: column;
}

.meet-card:hover .meet-card-header-jv {
  background: linear-gradient(135deg, #0047AB, var(--primary-color));
}

.meet-date-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  align-self: flex-start;
  margin-bottom: var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meet-name {
  font-size: var(--text-xl);
  color: white;
  margin-bottom: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  flex-grow: 1;
}

.meet-card-body {
  padding: var(--space-6);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.meet-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  color: var(--gray-600);
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
  flex-grow: 1;
}

.meet-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  line-height: 1.6;
  color: var(--gray-700);
}

.meet-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: auto;
}

/* ===================================
   Travel Components
   =================================== */

.travel-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: var(--space-12) var(--space-10);
  text-align: center;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-8);
  box-shadow: 0 4px 20px rgba(139, 35, 50, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.travel-title {
  font-size: var(--text-4xl);
  color: white;
  margin-bottom: var(--space-2);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.travel-info-grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.travel-info-card {
  background: white;
  padding: var(--space-7) var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
}

.travel-info-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.travel-card-title {
  color: var(--primary-color);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
}

.travel-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--gray-150);
  gap: var(--space-4);
}

.travel-info-row:last-child {
  border-bottom: none;
}

.travel-info-label {
  font-weight: 600;
  color: var(--gray-700);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.travel-info-value {
  font-size: var(--text-sm);
  color: var(--gray-900);
  text-align: right;
}

.travel-info-value {
  color: var(--gray-900);
  text-align: right;
  font-size: var(--text-base);
}

/* ===================================
   Instagram Carousel
   =================================== */

.instagram-section {
  background: var(--gray-50);
  padding: var(--space-32) 0;
}

.carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-2xl);
}

.carousel-container {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.instagram-post {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  margin: 0 auto;
}

.instagram-post img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.instagram-post-caption {
  padding: var(--space-6);
  color: var(--gray-700);
  font-size: var(--text-base);
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 var(--space-4);
  pointer-events: none;
}

.carousel-btn {
  pointer-events: all;
  background: white;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  color: var(--gray-900);
  transition: var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.carousel-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gray-300);
  cursor: pointer;
  transition: var(--transition-base);
}

.carousel-indicator.active {
  background-color: var(--primary-color);
  transform: scale(1.4);
}

/* ===================================
   Footer
   =================================== */

.footer {
  background: linear-gradient(135deg, var(--secondary-color), #000000);
  color: white;
  padding: var(--space-20) 0 var(--space-8);
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6,
.footer p {
  color: white !important;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-section h4 {
  color: var(--accent-gold);
  margin-bottom: var(--space-6);
  font-size: var(--text-xl);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-3);
  display: block;
  font-size: var(--text-base);
  transition: var(--transition-base);
}

.footer-section a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  transform: translateY(-4px);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
}

/* ===================================
   Admin Dashboard Styles
   =================================== */

.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-8);
}

.admin-header {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-dark));
  color: white;
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  margin-bottom: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.admin-header h1,
.admin-header h2,
.admin-header h3,
.admin-header p {
  color: white !important;
}

.admin-nav {
  background: white;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-8);
}

.admin-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.admin-nav a {
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--gray-100);
  color: var(--gray-700);
  font-weight: 600;
  transition: var(--transition-base);
  font-size: var(--text-base);
}

.admin-nav a:hover,
.admin-nav a.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--gray-900);
  font-size: var(--text-base);
}

.form-control {
  width: 100%;
  padding: var(--space-4);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  transition: var(--transition-base);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
}

.form-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: flex-end;
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 2px solid var(--gray-200);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* ===================================
   Utility Classes
   =================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-2); }
.mt-2 { margin-top: var(--space-4); }
.mt-3 { margin-top: var(--space-6); }
.mt-4 { margin-top: var(--space-8); }
.mt-5 { margin-top: var(--space-12); }

.mb-1 { margin-bottom: var(--space-2); }
.mb-2 { margin-bottom: var(--space-4); }
.mb-3 { margin-bottom: var(--space-6); }
.mb-4 { margin-bottom: var(--space-8); }
.mb-5 { margin-bottom: var(--space-12); }

.hidden { display: none; }
.visible { display: block; }

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .feature-image {
    height: 400px;
  }

  .rotating-images {
    height: 400px;
  }
}

@media (max-width: 768px) {
  :root {
    --text-7xl: 3rem;
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
  }

  .navbar .container {
    height: 70px;
  }

  .navbar-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    padding: var(--space-8);
    box-shadow: var(--shadow-xl);
    transition: left 0.3s ease;
    align-items: flex-start;
  }

  .navbar-menu.active {
    left: 0;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .alert-banner {
    top: 80px;
    right: var(--space-4);
    width: calc(100vw - var(--space-8));
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: var(--space-4);
    text-align: center !important;
    margin: 0 auto;
  }

  .hero-label {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-4);
    margin: 0 auto var(--space-4) auto;
    text-align: center !important;
  }

  .hero-title {
    font-size: var(--text-5xl);
    text-align: center !important;
    margin: 0 auto var(--space-4) auto;
    padding: 0 !important;
  }

  .hero-subtitle {
    font-size: var(--text-lg);
    text-align: center !important;
    padding: 0 var(--space-4);
    margin: 0 auto var(--space-6) auto;
  }

  .hero-stats {
    position: relative;
    bottom: auto;
    transform: none;
    margin-top: var(--space-12);
    flex-direction: column;
    gap: var(--space-6);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-16) 0;
  }

  .admin-header {
    flex-direction: column;
    gap: var(--space-6);
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: var(--text-2xl);
  }

  .instagram-post img {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .btn {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-up {
  animation: slideInUp 0.8s ease-out;
}
