/* EB Sports Recruiting - Shared Stylesheet */

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

:root {
  --red: #C1121F;
  --red-light: #E63946;
  --red-dark: #8B0000;
  --black: #0a0a0a;
  --black-soft: #1a1a1a;
  --grey-dark: #3a3a3a;
  --grey: #6a6a6a;
  --grey-light: #cfcfcf;
  --grey-bg: #f5f5f5;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  color: var(--black);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.logo-img { height: 140px; width: auto; display: block; }
.footer-logo { height: 140px; width: auto; display: block; }

.main-nav { display: flex; gap: 32px; align-items: center; }
.main-nav a {
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 4px;
  color: var(--white) !important;
}
.nav-cta:hover { background: var(--red-light); color: var(--white) !important; }

.nav-toggle { display: none; background: none; border: none; color: var(--black); font-size: 28px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
  color: var(--white);
  padding: 100px 32px 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--red) 0%, transparent 70%);
  opacity: 0.18;
}
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.hero-eyebrow { color: var(--red-light); font-weight: 700; letter-spacing: 4px; font-size: 13px; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -2px;
  max-width: 850px;
  margin-bottom: 22px;
}
.hero h1 em { color: var(--red-light); font-style: normal; }
.hero p.lead { font-size: 20px; max-width: 640px; color: var(--grey-light); margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-light); transform: translateY(-1px); }
.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); }
.btn-dark:hover { background: var(--red); }

/* ---------- Sections ---------- */
section { padding: 90px 32px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-eyebrow { color: var(--red); font-weight: 700; letter-spacing: 3px; font-size: 12px; text-transform: uppercase; margin-bottom: 14px; }
.section-title { font-family: Georgia, serif; font-size: clamp(32px, 4.5vw, 48px); font-weight: 900; line-height: 1.1; letter-spacing: -1px; margin-bottom: 22px; }
.section-lead { font-size: 18px; color: var(--grey); max-width: 720px; margin-bottom: 50px; }

.bg-light { background: var(--grey-bg); }
.bg-dark { background: var(--black); color: var(--white); }
.bg-dark .section-eyebrow { color: var(--red-light); }
.bg-dark .section-lead { color: var(--grey-light); }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
  color: var(--white);
  padding: 80px 32px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.page-header h1 {
  font-family: Georgia, serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.page-header p { color: var(--grey-light); font-size: 18px; }

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-top: 4px solid var(--red);
  padding: 36px 30px;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.service-card .icon { font-size: 32px; margin-bottom: 16px; color: var(--red); font-weight: 900; font-family: Georgia, serif; }
.service-card h3 { font-family: Georgia, serif; font-size: 22px; font-weight: 900; margin-bottom: 12px; }
.service-card p { color: var(--grey); font-size: 15px; }

/* ---------- Story / about content ---------- */
.story-block { max-width: 800px; margin: 0 auto; }
.story-block h2 { font-family: Georgia, serif; font-size: 32px; font-weight: 900; margin: 40px 0 16px; }
.story-block h2:first-child { margin-top: 0; }
.story-block p { font-size: 17px; margin-bottom: 18px; color: var(--black-soft); }
.story-pullquote {
  border-left: 4px solid var(--red);
  padding: 20px 28px;
  margin: 36px 0;
  background: var(--grey-bg);
  font-family: Georgia, serif;
  font-size: 22px;
  font-style: italic;
  color: var(--black-soft);
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--black);
  color: var(--white);
  padding: 60px 32px;
  text-align: center;
}
.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.stat-num { font-family: Georgia, serif; font-size: 56px; font-weight: 900; color: var(--red-light); line-height: 1; }
.stat-label { color: var(--grey-light); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-top: 8px; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  padding: 70px 32px;
  text-align: center;
}
.cta-strip h2 { font-family: Georgia, serif; font-size: clamp(28px, 3.5vw, 40px); font-weight: 900; margin-bottom: 14px; }
.cta-strip p { font-size: 18px; opacity: 0.95; margin-bottom: 28px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-family: Georgia, serif; font-size: 22px; margin-bottom: 8px; }
.contact-info .info-block { margin-bottom: 28px; padding-left: 20px; border-left: 3px solid var(--red); }
.contact-info .info-block .label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); font-weight: 700; }
.contact-info .info-block .value { font-size: 18px; color: var(--black); margin-top: 4px; }
.contact-info a { color: var(--black); text-decoration: none; border-bottom: 1px solid var(--red); }
.contact-info a:hover { color: var(--red); }

.contact-form { background: var(--grey-bg); padding: 36px; border-radius: 6px; border-top: 4px solid var(--red); }
.contact-form label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-dark); margin-bottom: 6px; margin-top: 16px; }
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button { margin-top: 22px; width: 100%; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--grey-light);
  padding: 56px 32px 28px;
  text-align: center;
}
.site-footer .container { max-width: 1100px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid #2a2a2a; }
.footer-nav a { color: var(--grey-light); text-decoration: none; margin: 0 14px; font-size: 14px; }
.footer-nav a:hover { color: var(--red-light); }
.footer-bottom { padding-top: 22px; font-size: 13px; color: var(--grey); }

/* ---------- Athlete Portal ---------- */
.portal-shell { background: #f0f2f5; min-height: calc(100vh - 120px); padding: 32px; }
.portal-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
}
.portal-sidebar {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 22px;
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.athlete-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red-dark), var(--red-light));
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: Georgia, serif; font-weight: 900; font-size: 36px;
  margin: 0 auto 16px;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
}
.athlete-name { text-align: center; font-family: Georgia, serif; font-size: 22px; font-weight: 900; }
.athlete-meta { text-align: center; color: var(--grey); font-size: 14px; margin-bottom: 20px; }
.portal-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; border-top: 1px solid #ececec; padding-top: 18px; }
.portal-nav a { padding: 10px 12px; border-radius: 4px; color: var(--black-soft); text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.15s; }
.portal-nav a:hover { background: #f5f5f5; }
.portal-nav a.active { background: var(--red); color: var(--white); }

.portal-main { display: grid; gap: 24px; }
.card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.card h3 { font-family: Georgia, serif; font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.card .card-sub { color: var(--grey); font-size: 14px; margin-bottom: 18px; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-stat { background: #fafafa; padding: 18px; border-radius: 6px; border-left: 3px solid var(--red); }
.mini-stat .num { font-family: Georgia, serif; font-size: 28px; font-weight: 900; }
.mini-stat .lbl { font-size: 12px; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

.task-list { list-style: none; }
.task-list li { padding: 12px 0; border-bottom: 1px solid #ececec; display: flex; gap: 12px; align-items: center; }
.task-list li:last-child { border-bottom: none; }
.task-checkbox { width: 18px; height: 18px; border: 2px solid var(--grey); border-radius: 4px; flex-shrink: 0; }
.task-checkbox.done { background: var(--red); border-color: var(--red); }
.task-checkbox.done::after { content: '✓'; color: white; font-size: 13px; display: block; text-align: center; line-height: 14px; font-weight: bold; }
.task-text.done { text-decoration: line-through; color: var(--grey); }
.task-meta { margin-left: auto; font-size: 12px; color: var(--grey); }

.college-list { list-style: none; }
.college-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #ececec; }
.college-item:last-child { border-bottom: none; }
.college-name { font-weight: 700; }
.college-div { font-size: 12px; color: var(--grey); margin-top: 2px; }
.college-status { font-size: 12px; padding: 4px 10px; border-radius: 12px; font-weight: 700; letter-spacing: 0.5px; }
.status-interested { background: #fff4e6; color: #c95900; }
.status-contacted { background: #e6f3ff; color: #0066cc; }
.status-offer { background: #e8f7ec; color: #0a7a2f; }
.status-target { background: #f0eafe; color: #5a2eaf; }

.message { padding: 14px; border-left: 3px solid var(--red); background: #fafafa; margin-bottom: 12px; border-radius: 4px; }
.message-from { font-weight: 700; font-size: 14px; }
.message-time { color: var(--grey); font-size: 12px; }
.message-body { font-size: 14px; margin-top: 6px; color: var(--black-soft); }

.video-placeholder {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  height: 280px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.play-button {
  width: 76px; height: 76px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.play-button:hover { transform: scale(1.08); }
.play-button::after { content: ''; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent white; margin-left: 6px; }

.portal-banner { background: var(--black); color: var(--white); padding: 14px 32px; font-size: 13px; text-align: center; }
.portal-banner strong { color: var(--red-light); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 20px 32px; gap: 18px; align-items: flex-start; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-sidebar { position: static; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 24px; }
  .hero { padding: 70px 24px 80px; }
  /* Stack the X feed + follow card on phones */
  .x-feed-wrap + div,
  .x-feed-row,
  .x-cta-row { grid-template-columns: 1fr !important; }
}
