/* ── Hoopers at Hart — Shared Styles ── */

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

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

:root {
  --primary:       #16A34A;
  --primary-dark:  #15803D;
  --primary-light: #F0FDF4;
  --accent:        #BBF7D0;
  --bg:            #F8FAF8;
  --card:          #FFFFFF;
  --text:          #1A2A1A;
  --muted:         #6B7280;
  --border:        #E5E7EB;
  --radius:        16px;
  --radius-sm:     10px;
  --shadow:        0 2px 14px rgba(0,0,0,0.07);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.11);
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

/* ── Nav ── */
nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--text); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 0.45rem 1.2rem !important;
  box-shadow: 0 2px 8px rgba(22,163,74,0.3);
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  box-shadow: 0 4px 12px rgba(22,163,74,0.4) !important;
}

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: all 0.2s; border-radius: 2px;
}

/* ── Page Header ── */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}
.page-header h1 { font-size: 2.4rem; font-weight: 900; letter-spacing: -0.02em; }
.page-header p { font-size: 1.1rem; margin-top: 0.5rem; opacity: 0.88; font-weight: 600; }

/* ── Container ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

/* ── Typography ── */
.section-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
h2.section-heading {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}
h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; }
p { color: #374151; font-weight: 600; }

/* ── Cards ── */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.card-grid {
  display: grid;
  gap: 1.25rem;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(22,163,74,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22,163,74,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
}
.btn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 0.25em 0.8em;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-green { background: var(--accent); color: var(--primary-dark); }
.badge-blue  { background: #DBEAFE; color: #1E40AF; }
.badge-purple{ background: #EDE9FE; color: #5B21B6; }

/* ── Image placeholder ── */
.img-placeholder {
  background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-dark);
  min-height: 220px;
  border: 2px dashed #86EFAC;
}
.img-placeholder.tall { min-height: 340px; }
.img-placeholder.short { min-height: 160px; }

/* ── Footer ── */
footer {
  background: var(--text);
  color: #E5E7EB;
  padding: 3rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
footer h4 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}
footer p, footer li {
  color: #9CA3AF;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
footer ul { list-style: none; }
footer ul li a { color: #9CA3AF; transition: color 0.15s; }
footer ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #374151;
  text-align: center;
  color: #6B7280;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── Venue card ── */
.venue-card {
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow);
}
.venue-card .venue-day {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.venue-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.venue-card p { font-size: 0.88rem; color: var(--muted); }

/* ── Qualification badge ── */
.qual-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.qual-item:last-child { border-bottom: none; }
.qual-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.qual-item h4 { font-size: 0.95rem; font-weight: 800; }
.qual-item p { font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }

/* ── Form ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.btn-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 50px;
}

/* ── CTA strip ── */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  margin: 0 1.5rem 3rem;
}
.cta-strip h2 { font-size: 2rem; font-weight: 900; margin-bottom: 0.75rem; }
.cta-strip p { opacity: 0.88; font-size: 1.05rem; margin-bottom: 1.5rem; font-weight: 600; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }

/* ── Split grid (text + image) ── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-grid-wide {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .split-grid-wide { grid-template-columns: 1fr; }
  .split-grid-wide img { max-height: 320px; object-fit: cover; }
}

@media (max-width: 640px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-grid img { max-height: 280px; width: 100%; object-fit: cover; border-radius: var(--radius); }
  .page-header h1 { font-size: 1.8rem; }
  h2.section-heading { font-size: 1.6rem; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-strip { margin: 0 0 2rem; border-radius: 0; }
  .cta-strip h2 { font-size: 1.6rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow);
    gap: 0.25rem;
  }
  .nav-links.open a { display: block; padding: 0.6rem 0.85rem; }
}
