/* =====================================================
   ET Elite Wrestling Camps — Main Stylesheet
   Brand: Green (#28a745) | Black (#000000) | White (#FFF)
   ===================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --green: #28a745;
  --green-dark: #1e7e34;
  --green-light: #d4edda;
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
  --font-heading: 'Oswald', 'Arial Black', Impact, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--gray-100); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 span { color: var(--green); }

.section-header p {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40,167,69,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover {
  background: var(--gray-800);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Navigation ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--green);
  transition: all var(--transition);
}

#navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img { height: 60px; width: auto; }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-logo-text .sub {
  font-size: 0.65rem;
  color: var(--green);
  letter-spacing: 3px;
  text-transform: uppercase;
}

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

.nav-links a {
  padding: 8px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--green);
  background: rgba(40,167,69,0.1);
}

.nav-links .btn {
  padding: 10px 22px;
  font-size: 0.8rem;
  margin-left: 8px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero Section ---------- */
#hero {
  min-height: 100vh;
  background:
    var(--black)
    url('../assets/Wrestling3.JPG')
    center center / cover
    no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(0,0,0,0.88) 0%,
      rgba(0,0,0,0.65) 55%,
      rgba(0,0,0,0.45) 100%
    );
  z-index: 1;
}

/* Animated wrestling mat pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(40,167,69,0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(40,167,69,0.05) 0%, transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(40,167,69,0.04) 79px,
      rgba(40,167,69,0.04) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(40,167,69,0.04) 79px,
      rgba(40,167,69,0.04) 80px
    );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(40,167,69,0.15);
  border: 1px solid rgba(40,167,69,0.4);
  color: var(--green);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

#hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

#hero h1 .highlight {
  color: var(--green);
  display: block;
}

#hero p.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.5); }
}

/* ---------- Stats Bar ---------- */
#stats {
  background: var(--green);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
  transition: background var(--transition);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(0,0,0,0.1); }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-mat {
  width: 100%;
  aspect-ratio: 1;
  max-width: 400px;
  margin: 0 auto;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 4px solid var(--green);
  box-shadow: 0 0 60px rgba(40,167,69,0.25), var(--shadow-lg);
}

.about-mat::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 3px solid rgba(40,167,69,0.4);
}

.about-mat::after {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 2px solid rgba(40,167,69,0.25);
}

.about-mat-text {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1;
}

.about-mat-text small {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.about-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--green);
  color: var(--white);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
}

.about-badge .num { font-size: 1.8rem; }
.about-badge .txt { font-size: 0.5rem; letter-spacing: 1px; text-transform: uppercase; }

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
}

.about-content h2 span { color: var(--green); }

.about-content p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}

.feature-text span {
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* ---------- Camps Section ---------- */
.camps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Past camps section */
.past-camps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 64px 0 28px;
  padding-top: 40px;
  border-top: 2px solid var(--gray-200);
}

.past-camps-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.past-camps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Past camp cards are muted */
.camp-card.past {
  opacity: 0.72;
  filter: grayscale(30%);
  cursor: pointer;
}
.camp-card.past:hover {
  opacity: 1;
  filter: none;
}

/* Hidden past camps */
.past-camp-hidden { display: none; }

/* Past camp cards stack vertically (image on top) since they're in 2 columns */
.past-camps-grid > div { min-width: 0; } /* prevent wrapper divs from overflowing grid */
.past-camps-grid .camp-card { flex-direction: column; width: 100%; }
.past-camps-grid .camp-image { width: 100%; min-width: unset; aspect-ratio: 16 / 9; height: auto; }

#showMorePast {
  display: block;
  margin: 24px auto 0;
  background: transparent;
  border: 2px solid var(--gray-300);
  color: var(--gray-600);
  padding: 10px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}
#showMorePast:hover {
  border-color: var(--green);
  color: var(--green);
}

.camp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.camp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

.camp-image {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: var(--black);
  position: relative;
}

.camp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.camp-card:hover .camp-image img { transform: scale(1.05); }

.camp-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111 0%, #1e7e34 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.camp-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.camp-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.camp-body {
  padding: 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.camp-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.camp-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.camp-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.camp-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

.camp-description {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.camp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

/* Make cards feel clickable */
.camp-card { cursor: pointer; }

.camp-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
}

.camp-price.onsite { color: var(--gray-800); }

.camp-price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.camp-price-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-600);
  min-width: 44px;
}

/* Loading & Empty States */
.camps-loading, .camps-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

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

/* ---------- Registration Section ---------- */
#registration {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

#registration::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(40,167,69,0.08) 0%, transparent 60%),
    radial-gradient(circle at 90% 20%, rgba(40,167,69,0.05) 0%, transparent 50%);
}

#registration .section-header h2,
#registration .section-header .eyebrow { color: var(--green); }
#registration .section-header p { color: rgba(255,255,255,0.6); }

.reg-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.reg-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.reg-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reg-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.reg-step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

.reg-step-text strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.reg-step-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* Form Styles */
.reg-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--green);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-800);
}

.form-group label .required {
  color: var(--green);
  margin-left: 4px;
}

.form-control {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(40,167,69,0.15);
}

.form-control.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220,53,69,0.1);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2328a745' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.error-msg {
  font-size: 0.75rem;
  color: #dc3545;
  display: none;
}

.form-group.has-error .error-msg { display: block; }
.form-group.has-error .form-control { border-color: #dc3545; }

/* Waiver checkbox */
.waiver-box {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 4px;
}

.waiver-text {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 14px;
  max-height: 120px;
  overflow-y: auto;
  padding-right: 8px;
}

.waiver-text::-webkit-scrollbar { width: 4px; }
.waiver-text::-webkit-scrollbar-track { background: var(--gray-200); border-radius: 2px; }
.waiver-text::-webkit-scrollbar-thumb { background: var(--green); border-radius: 2px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--gray-800);
  font-weight: 600;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--green);
  margin-top: 1px;
  cursor: pointer;
}

/* Form success/error alerts */
.form-alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 10px;
}

.form-alert.show { display: flex; }
.form-alert.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-alert.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Camp selector in form */
.camp-select-wrapper { position: relative; }

/* ---------- Clinicians Section ---------- */
.clinicians-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.clinician-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.clinician-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}

.clinician-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  border: 3px solid var(--green);
  box-shadow: 0 4px 16px rgba(40,167,69,0.2);
}

.clinician-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111 0%, #1e7e34 100%);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--green);
}

.clinician-photo-placeholder svg {
  width: 48px;
  height: 48px;
  color: rgba(255,255,255,0.3);
}

.clinician-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.clinician-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.clinician-bio {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.clinician-credential-tag {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 0 6px 6px 0;
  border: 1px solid var(--green);
}

/* ---------- Clinician Detail Panel ---------- */
#clinicianDetailPanel {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  pointer-events: none;
  overflow: hidden;
}
#clinicianDetailPanel.open { pointer-events: auto; }
#clinicianDetailPanel .detail-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background 0.35s ease; cursor: pointer; }
#clinicianDetailPanel.open .detail-backdrop { background: rgba(0,0,0,0.65); }
#clinicianDetailPanel .detail-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 100%; max-width: 620px; background: var(--white); transform: translateX(100%); transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; overflow: hidden; box-shadow: -8px 0 40px rgba(0,0,0,0.25); }
#clinicianDetailPanel.open .detail-drawer { transform: translateX(0); }

/* ---------- Gallery Section ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--black);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.2s;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.9;
}

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.25s;
}

.gallery-item:hover .gallery-caption { opacity: 1; }

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--gray-600);
}

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-item-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-item-text span {
  font-size: 0.95rem;
  color: var(--gray-600);
}

.contact-form-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-200);
}

.contact-form-card .form-title {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-logo { margin-bottom: 4px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.8rem; }
.footer-bottom a { color: var(--green); }

/* ---------- Toast Notifications ---------- */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--gray-800);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  max-width: 380px;
  animation: slideIn 0.3s ease;
  border-left: 4px solid var(--green);
}

.toast.error { border-left-color: #dc3545; }

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

/* ---------- Camp Detail Panel ---------- */
#campDetailPanel {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  pointer-events: none;
  overflow: hidden;
}

#campDetailPanel.open { pointer-events: auto; }

/* Dark backdrop */
.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.35s ease;
  cursor: pointer;
}

#campDetailPanel.open .detail-backdrop {
  background: rgba(0,0,0,0.65);
}

/* Slide-in drawer */
.detail-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 720px;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -8px 0 40px rgba(0,0,0,0.25);
}

#campDetailPanel.open .detail-drawer {
  transform: translateX(0);
}

/* Sticky top bar */
.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 2px solid var(--green);
  background: var(--black);
  flex-shrink: 0;
}

.detail-topbar-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 60px);
}

.detail-close {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border: none;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s;
}
.detail-close:hover { background: rgba(255,255,255,0.2); }

/* Scrollable body */
.detail-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.detail-body::-webkit-scrollbar { width: 5px; }
.detail-body::-webkit-scrollbar-track { background: var(--gray-100); }
.detail-body::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* Flyer / hero image */
.detail-flyer {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: var(--black);
  display: block;
}

.detail-flyer-placeholder {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, #111 0%, #1e7e34 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.detail-flyer-placeholder svg { width: 56px; height: 56px; opacity: 0.3; }
.detail-flyer-placeholder span {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

/* Flyer clickable */
.detail-flyer {
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.detail-flyer:hover { opacity: 0.92; }

/* ---------- Lightbox ---------- */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  visibility: hidden;
  transition: background 0.25s ease;
}

#lightbox.open {
  background: rgba(0,0,0,0.92);
  pointer-events: auto;
  cursor: zoom-out;
  visibility: visible;
}

#lightbox.open #lightbox-close { display: flex; }

#lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}

#lightbox.open img {
  transform: scale(1);
  opacity: 1;
}

#lightbox-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s;
}
#lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* Content area */
.detail-content { padding: 32px; }

.detail-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.detail-meta-item {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 14px 16px;
  border-left: 3px solid var(--green);
}

.detail-meta-item .meta-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}

.detail-meta-item .meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.4;
}

.detail-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.detail-description {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  white-space: pre-line;
  margin-bottom: 32px;
}

/* Sticky register CTA at bottom */
.detail-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 16px;
  flex-wrap: wrap;
}

.detail-price-block .price-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-600);
}

.detail-price-block .price-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

/* ---------- Back to Top ---------- */
#back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
}

#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--green-dark); transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid { gap: 40px; }
  .reg-container { grid-template-columns: 1fr; }
  .reg-info { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .camps-grid, .past-camps-grid { grid-template-columns: 1fr; }

  .nav-links { display: none; flex-direction: column; position: absolute;
    top: 70px; left: 0; right: 0; background: rgba(0,0,0,0.98);
    padding: 20px; gap: 0; border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); width: 100%; }
  .nav-links .btn { margin: 12px 0 4px; }
  .nav-toggle { display: flex; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 300px; margin: 0 auto; }
  .about-badge { display: none; }
  .about-visual { display: none; }

  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }

  .reg-form-card { padding: 24px; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }


  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* Detail panel — full width on small screens */
  .detail-drawer { max-width: 100%; }

  /* Hero */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }
  #hero h1 { font-size: 2.6rem; }

  /* Stats — single column on small screens */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 1.8rem; }

  /* Nav logo text — hide subtitle to save space */
  .nav-logo-text .sub { display: none; }
  .nav-logo img { height: 48px; }

  /* Registration form card */
  .reg-form-card { padding: 18px; }

  /* Camp cards */
  .camp-body { padding: 18px; }
  .camp-body h3 { font-size: 1.1rem; }
  .camp-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .camp-footer .btn { width: 100%; }

  /* Detail panel */
  .detail-content { padding: 20px; }
  .detail-meta-grid { grid-template-columns: 1fr; }
  .detail-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  #detailRegisterBtn { width: 100%; }

  /* About */
  .about-mat { max-width: 220px; }
  .about-mat-text { font-size: 3rem; }

  /* Footer */
  .footer-links { gap: 8px; }

  /* Section padding */
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
}
