/* BR Elite Sports — Purple / Gold / White theme
   Palette + motifs aligned to team jersey: deep royal purple, antique metallic gold,
   fleur-de-lis, and a Baton Rouge skyline silhouette. */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&display=swap');

:root {
  --purple-deep: #260B44;
  --purple: #481C82;
  --purple-light: #6B3FB0;
  --gold: #FFC72C;
  --gold-metallic: #C9A227;
  --gold-dark: #A6821F;
  --white: #FFFFFF;
  --off-white: #F7F5FA;
  --gray: #6B6478;
  --dark-text: #1F1530;
  --shadow: 0 4px 18px rgba(38, 11, 68, 0.18);
  --heading-font: 'Oswald', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark-text);
  background: var(--off-white);
  line-height: 1.6;
}

h1, h2, h3, h4,
.brand-text .name,
.hero h1,
.section-head h2,
.card h3,
.team-card h3,
.team-card .team-banner h3,
.page-header h1,
.player-card h4,
.cta-band h2 {
  font-family: var(--heading-font);
  letter-spacing: 0.3px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  background: linear-gradient(120deg, var(--purple-deep), var(--purple));
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand .logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold), var(--gold-metallic));
  color: var(--purple-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  border: 2px solid var(--white);
  flex-shrink: 0;
}

.brand-text { line-height: 1.15; }
.brand-text .name { font-weight: 800; font-size: 19px; letter-spacing: 0.5px; }
.brand-text .tag { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; }

.main-nav ul {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--gold);
  color: var(--purple-deep);
}

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.3px;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--purple-deep);
  box-shadow: 0 6px 16px rgba(255, 199, 44, 0.35);
}

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

.btn-outline:hover { background: rgba(255,255,255,0.12); }

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

/* ---------- Hero ---------- */

.hero {
  background-image:
    linear-gradient(100deg, rgba(38,11,68,0.94) 0%, rgba(38,11,68,0.80) 32%, rgba(38,11,68,0.45) 62%, rgba(38,11,68,0.25) 100%),
    linear-gradient(rgba(38,11,68,0.35), rgba(38,11,68,0.35)),
    url('../images/hero-bg.jpg');
  background-size: cover, cover, cover;
  background-position: center, center, center 35%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  color: var(--white);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 199, 44, 0.12);
}

.hero::before,
.page-header::before {
  content: "\269C";
  position: absolute;
  top: -50px;
  right: -10px;
  font-size: 240px;
  color: rgba(255,255,255,0.05);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.page-header::before { font-size: 150px; top: -15px; right: 0; }

/* ---------- Skyline divider (Baton Rouge skyline motif) ---------- */

.skyline-strip {
  background: var(--purple-deep);
  line-height: 0;
  position: relative;
  z-index: 2;
}

.skyline-strip svg {
  display: block;
  width: 100%;
  height: 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
}

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

.hero p.lead {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 30px;
  backdrop-filter: blur(4px);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: center;
}

.stat-grid .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
}

.stat-grid .label {
  font-size: 12.5px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ---------- Sections ---------- */

section.block { padding: 70px 0; }
section.block.alt { background: var(--white); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head .eyebrow { color: var(--purple); }

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--purple-deep);
  margin-bottom: 12px;
}

.section-head p { color: var(--gray); font-size: 15.5px; }

/* ---------- Cards ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform 0.2s;
}

.card:hover { transform: translateY(-4px); }

.card .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--purple);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 18px;
}

.card h3 { color: var(--purple-deep); font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 14.5px; }

/* Team card variant */

.team-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-card .team-banner {
  background: linear-gradient(120deg, var(--purple), var(--purple-deep));
  color: var(--white);
  padding: 26px;
  position: relative;
}

.team-card .team-banner .age {
  font-size: 13px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.team-card .team-banner h3 { font-size: 22px; margin-top: 6px; }

.team-card .team-body { padding: 22px 26px 26px; }

.team-card ul.info li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px dashed #e6e0f0;
  color: var(--dark-text);
}

.team-card ul.info li span:first-child { color: var(--gray); }
.team-card ul.info li strong { color: var(--purple-deep); }

.badge-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-metallic), var(--gold));
  color: var(--purple-deep);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Tables (Schedule) ---------- */

.table-wrap {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

table { width: 100%; border-collapse: collapse; }

table thead {
  background: var(--purple-deep);
  color: var(--white);
}

table th, table td {
  padding: 15px 18px;
  text-align: left;
  font-size: 14.5px;
}

table th { text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }

table tbody tr:nth-child(even) { background: var(--off-white); }
table tbody tr:hover { background: #f0e9fa; }

.result-win { color: #1b8a4a; font-weight: 700; }
.result-loss { color: #c23b3b; font-weight: 700; }
.result-upcoming { color: var(--purple); font-weight: 700; }

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.filter-bar button {
  border: 2px solid var(--purple);
  background: transparent;
  color: var(--purple);
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-bar button.active,
.filter-bar button:hover {
  background: var(--purple);
  color: var(--white);
}

/* ---------- Roster ---------- */

.player-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: center;
  padding: 26px 18px 22px;
  position: relative;
}

.player-card .jersey-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--gold);
  font-weight: 800;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 3px solid var(--gold);
}

.player-card h4 { color: var(--purple-deep); font-size: 17px; margin-bottom: 4px; }
.player-card .pos { color: var(--gray); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }

.player-card .meta {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--gray);
  border-top: 1px dashed #e6e0f0;
  padding-top: 10px;
  margin-top: 6px;
}

.player-card .meta strong { color: var(--dark-text); display: block; font-size: 14px; }

/* ---------- Timeline (About) ---------- */

.timeline { border-left: 3px solid var(--gold); padding-left: 30px; margin-left: 10px; }

.timeline .item { position: relative; padding-bottom: 34px; }

.timeline .item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--purple);
  border: 3px solid var(--gold);
}

.timeline .item .year { color: var(--purple); font-weight: 800; font-size: 14px; }
.timeline .item h4 { color: var(--purple-deep); margin: 4px 0 6px; }
.timeline .item p { color: var(--gray); font-size: 14.5px; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info .info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info .info-row .ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--purple);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.contact-info .info-row h4 { color: var(--purple-deep); font-size: 15.5px; margin-bottom: 3px; }
.contact-info .info-row p, .contact-info .info-row a { color: var(--gray); font-size: 14.5px; }

.social-row { display: flex; gap: 10px; margin-top: 10px; }

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

form.contact-form {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--purple-deep);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd3ea;
  border-radius: 8px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--dark-text);
  background: var(--off-white);
}

.form-group textarea { resize: vertical; min-height: 110px; }

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

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--gold-metallic), var(--gold));
  padding: 50px 0;
  text-align: center;
  color: var(--purple-deep);
}

.cta-band h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.cta-band p { margin-bottom: 24px; font-size: 15.5px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--purple-deep);
  color: rgba(255,255,255,0.75);
  padding: 50px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 34px;
}

.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; font-size: 14px; }
.footer-grid ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

.footer-bottom .gold { color: var(--gold); font-weight: 700; }

/* ---------- Page header (interior pages) ---------- */

.page-header {
  background:
    linear-gradient(112deg, transparent 46%, rgba(255,255,255,0.05) 47%, rgba(255,255,255,0.05) 48%, transparent 49%),
    linear-gradient(25deg, transparent 61%, rgba(201,162,39,0.10) 62%, transparent 64%),
    linear-gradient(120deg, var(--purple-deep), var(--purple));
  color: var(--white);
  padding: 55px 0 45px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header .container { position: relative; z-index: 2; }

.page-header h1 { font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: var(--gold); margin-bottom: 12px; letter-spacing: 0.5px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-wrap { flex-wrap: wrap; }
}
