/* ============================================================
   Elevate FC — Stylesheet
   Brand colors: Purple #6B3598 | Gold #F2C030
   ============================================================ */

:root {
  --purple:       #6B3598;
  --purple-dark:  #4a2570;
  --purple-light: #8b4bc8;
  --gold:         #F2C030;
  --gold-dark:    #d4a820;
  --coral:        #E8603A;
  --white:        #ffffff;
  --gray-light:   #faf8f5;
  --gray:         #e2e2e8;
  --text-dark:    #1a1a2e;
  --text-mid:     #555566;
  --radius:       10px;
  --shadow:       0 4px 20px rgba(0,0,0,0.10);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --transition:   0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--purple-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

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

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.45rem 1rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}

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

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #1c1916 0%, #2e2924 60%, #3d3630 100%);
  color: white;
  text-align: center;
  padding: 1.25rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-logo {
  width: 110px;
  margin: 0 auto 0.75rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.35));
  position: relative;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
}

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

.hero p {
  font-size: 1.15rem;
  opacity: 0.88;
  margin-top: 0.75rem;
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  position: relative;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

.btn-gold {
  background: var(--gold);
  color: var(--purple-dark);
}
.btn-gold:hover { background: var(--gold-dark); }

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; }

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

/* ── Section layout ── */
section { padding: 4rem 2rem; }
section.alt { background: var(--gray-light); }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--purple-dark);
}

.section-header p {
  color: var(--text-mid);
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

.section-header .underline {
  width: 56px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Teams + Facebook side-by-side ── */
.teams-fb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .teams-fb-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.fb-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Teams grid ── */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.team-card {
  background: white;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--purple);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.team-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--purple-dark);
}

.team-card p {
  font-size: 0.78rem;
  color: var(--text-mid);
  margin-top: 0.25rem;
}

/* ── Facebook feed ── */
.fb-wrapper {
  display: inline-block;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--gray);
  max-width: 500px;
  width: 100%;
}

.fb-wrapper .fb-header {
  background: var(--purple-dark);
  color: white;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.fb-wrapper .fb-header svg {
  flex-shrink: 0;
}

.fb-inner {
  padding: 0;
  line-height: 0;
  font-size: 0;
}

.fb-wrapper .fb-footer {
  padding: 1rem;
  border-top: 1px solid var(--gray);
}

/* ── Photo gallery (home) ── */
.photo-strip {
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 3px;
}

.photo-item {
  overflow: hidden;
  background: var(--gray);
}

.photo-item.tall {
  grid-row: span 2;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.photo-item:hover img {
  transform: scale(1.04);
}

/* ── Life photos (about) ── */
.life-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2.5rem 0;
}

.life-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #1c1916 0%, #2e2924 60%, #3d3630 100%);
  color: white;
  padding: 2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  position: relative;
  color: var(--gold);
}

.page-hero p {
  opacity: 0.85;
  margin-top: 0.5rem;
  font-size: 1.05rem;
  position: relative;
}

/* ── About page ── */
.about-content {
  max-width: 760px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.about-content h2:first-child { margin-top: 0; }

.about-content p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 260px));
  gap: 1.25rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.value-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  text-align: left;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* ── Contact page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--gray);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107,53,152,0.12);
}

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

.form-submit {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
}

.location-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 1rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray);
  margin-bottom: 1.5rem;
}

.map-embed iframe {
  width: 100%;
  height: 260px;
  display: block;
  border: none;
}

.field-map-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.field-map-img img {
  width: 100%;
}

.field-status-note {
  background: var(--gray-light);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.field-status-note a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
}

/* ── Thanks page ── */
.thanks-section {
  min-height: calc(100vh - 64px - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: var(--gray-light);
}

.thanks-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.thanks-icon {
  color: var(--purple);
  margin-bottom: 1.25rem;
}

.thanks-card h1 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 0.75rem;
}

.thanks-card p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.thanks-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-purple {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline-purple:hover { background: var(--purple); color: white; }

/* ── Footer ── */
footer {
  background: var(--purple-dark);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 2rem;
  text-align: center;
}

footer .footer-logo img {
  height: 52px;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 1.25rem;
}

footer .footer-links a {
  padding: 0.3rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: color var(--transition);
}

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

footer .copyright {
  font-size: 0.82rem;
  opacity: 0.55;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--purple-dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 1rem; }

  .hero { padding: 0.75rem 1.25rem 1.5rem; }
  .hero-logo { width: 90px; }

  section { padding: 3rem 1.25rem; }

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

  .teams-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .photo-item.tall { grid-row: span 1; }

  .life-photos { grid-template-columns: 1fr 1fr; }
  .life-photos img { height: 180px; }
}
