/* Justen Tehse Baseball Coaching - Design System */
/* Charcoal + Red, clean athletic feel */

:root {
  --charcoal: #111111;
  --charcoal-light: #1c1c1c;
  --charcoal-mid: #2a2a2a;
  --red: #e11d2e;
  --red-dark: #c41a28;
  --red-soft: #ff2d3f;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --gray: #a3a3a3;
  --gray-dark: #737373;
  
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --max-width: 1120px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--charcoal);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--red);
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, rgba(17, 17, 17, 0.92) 0%, rgba(17, 17, 17, 0.7) 45%, rgba(17, 17, 17, 0.4) 100%),
    url('../images/team.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 4rem 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--red);
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========== SECTION COMMON ========== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* ========== BENEFITS ========== */
.benefits {
  background: var(--charcoal-light);
}

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

.benefit-card {
  background: var(--charcoal-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.benefit-card:hover {
  border-color: rgba(225, 29, 46, 0.4);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: rgba(225, 29, 46, 0.15);
  color: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ========== PACKAGES TEASER ========== */
.packages-teaser {
  background: var(--charcoal);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.package-card {
  background: var(--charcoal-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.package-card.featured {
  border-color: var(--red);
  background: linear-gradient(145deg, #1c1c1c 0%, #221111 100%);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.package-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.package-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 0.25rem;
}

.package-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray);
}

.package-desc {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.package-card .btn {
  width: 100%;
}

/* ========== CTA BAND ========== */
.cta-band {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  text-align: center;
  padding: 4rem 0;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-band p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-band .btn {
  background: var(--white);
  color: var(--charcoal);
}

.cta-band .btn:hover {
  background: var(--off-white);
  transform: translateY(-1px);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--charcoal-light);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--gray-dark);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--gray-dark);
  font-size: 0.85rem;
}

/* ========== MOBILE ========== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ========== ABOUT PAGE ========== */
.about-hero {
  padding: 8rem 0 4rem;
  background: var(--charcoal-light);
}

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

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.about-content h1 span {
  color: var(--red);
}

.about-content .lead {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.approach-section {
  background: var(--charcoal);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.approach-card {
  background: var(--charcoal-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.75rem;
}

.approach-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--red);
}

.approach-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero-content {
    padding: 3rem 0;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .footer-inner {
    flex-direction: column;
  }
  
  .footer-links {
    gap: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
  }
}

/* ========== BOOK PAGE ========== */
.book-hero {
  padding: 7rem 0 3rem;
  background: var(--charcoal-light);
  text-align: center;
}

.book-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.book-hero h1 span {
  color: var(--red);
}

.book-hero p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}

.booking-section {
  padding: 3rem 0 5rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.booking-card {
  background: var(--charcoal-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.75rem;
}

.booking-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 0.4rem;
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--red);
}

.group-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.group-option {
  background: var(--charcoal);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.group-option:hover {
  border-color: rgba(225, 29, 46, 0.5);
}

.group-option.active {
  border-color: var(--red);
  background: rgba(225, 29, 46, 0.1);
}

.group-option .label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.group-option .price {
  font-size: 0.9rem;
  color: var(--red);
  font-weight: 700;
}

.package-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.package-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.package-item:hover,
.package-item.selected {
  border-color: var(--red);
}

.package-item .pkg-name {
  font-weight: 600;
}

.package-item .pkg-price {
  color: var(--red);
  font-weight: 700;
}

.calc-result {
  background: var(--charcoal);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.calc-result .line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  color: var(--gray);
}

.calc-result .total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.calc-result .total span {
  color: var(--red);
}

.availability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.slot {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.6rem 0.4rem;
  text-align: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s;
}

.slot:hover {
  border-color: var(--red);
}

.slot.selected {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.slot.booked {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.day-header {
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray);
  font-size: 0.9rem;
}

.day-header:first-of-type {
  margin-top: 0;
}

@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
  
  .group-options {
    grid-template-columns: 1fr;
  }
}
