/* Fairplay — FAIRPLAY SPORTS site styles */
:root {
  --brand: #0b5ed7;
  --brand-ink: #0a3f95;
  --ink: #0b1220;
  --muted: #5b6470;
  --bg: #ffffff;
  --surface: #f6f8fb;
  --card: #ffffff;
  --border: #e2e8f0;
  --success: #149e55;
  --danger: #c62828;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.container { width: min(1120px, 92vw); margin: 0 auto; }
.small { color: var(--muted); font-size: 0.9rem; }

h1, h2, h3, h4 { font-family: Poppins, Inter, Arial, sans-serif; line-height: 1.25; margin: 0 0 0.5rem; }
h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
h2 { font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  font-weight: 600;
}
.btn.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn.outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn.link { background: transparent; border: none; padding: 0; color: var(--brand); }
.btn:focus { outline: 3px solid #bcd4ff; outline-offset: 2px; }
.center { text-align: center; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; }
.logo { font-weight: 800; letter-spacing: 0.5px; font-size: 1.25rem; color: var(--ink); }
.nav { display: flex; gap: 1rem; }
.nav a { padding: 0.5rem 0.25rem; border-bottom: 2px solid transparent; }
.nav a.active, .nav a:hover { border-color: var(--brand); text-decoration: none; }
.menu-toggle { display: none; border: 1px solid var(--border); border-radius: 8px; padding: 0.4rem 0.6rem; background: #fff; }

@media (max-width: 800px) {
  .nav { display: none; position: absolute; background: #fff; right: 1rem; top: 60px; padding: 0.75rem; box-shadow: 0 8px 30px rgba(2,8,20,0.08); border: 1px solid var(--border); border-radius: 10px; flex-direction: column; }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-block; }
}

.hero { padding: clamp(1.5rem, 5vw, 3rem) 0; background: linear-gradient(180deg, #f8fbff, #fff); }
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: 1.2fr 1fr; align-items: center; }
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }

.hero-copy .cta { display: flex; gap: 0.75rem; margin: 1rem 0 0.5rem; flex-wrap: wrap; }
.hero-copy .tagline { color: var(--muted); }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 40px rgba(2,8,20,0.12); }
.hero-media img.overlap { position: absolute; width: 58%; right: -10%; bottom: -10%; border: 6px solid #fff; }
@media (max-width: 900px) { .hero-media img.overlap { position: static; width: 100%; border: none; margin-top: 0.75rem; } }

.badges { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.75rem; list-style: none; padding: 0; margin: 1rem auto 2rem; }
.badges li { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0.75rem; font-weight: 600; color: var(--brand-ink); }
@media (max-width: 700px) { .badges { grid-template-columns: repeat(2,1fr); } }

.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1rem; box-shadow: 0 8px 30px rgba(2,8,20,0.04); }
.cards .card img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; margin-bottom: 0.6rem; }

.services-preview { padding: 2rem 0; }
.gallery { padding: 2rem 0; }
.images { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; }
.images img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; }
@media (max-width: 900px) { .images { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .images { grid-template-columns: 1fr; } }

.cta-band { background: var(--brand); color: #fff; }
.cta-band-inner { padding: 1.5rem 0; text-align: center; }
.cta-band .btn { border-color: #fff; }

.site-footer { background: #0b1220; color: #d9e1ec; margin-top: 2rem; }
.site-footer a { color: #d9e1ec; }
.footer-grid { display: grid; gap: 1rem; grid-template-columns: 2fr 1fr 1fr; padding: 1.25rem 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

.page { padding: 1.25rem 0 2rem; }
.form-card .field { margin-bottom: 0.9rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.field input, .field textarea { width: 100%; padding: 0.65rem 0.7rem; border: 1px solid var(--border); border-radius: 10px; font: inherit; }
.field .options { display: flex; gap: 1rem; }
.field .error { color: var(--danger); font-size: 0.85rem; height: 1rem; display: block; }
.actions { display: flex; gap: 0.75rem; align-items: center; }
.status { margin-top: 0.5rem; font-weight: 600; }

/* Print */
@media print {
  .site-header, .site-footer, .menu-toggle { display: none !important; }
  a { color: black; text-decoration: underline; }
}

