/* ==========================================================================
   Padel Goods Club — Minimum Viable Credibility Website
   Temporary visual identity for validation stage. No external dependencies.
   ========================================================================== */

:root {
  --bg: #0E1512;
  --bg-panel: #16201B;
  --bg-panel-2: #1C2822;
  --line: #253630;
  --text: #F5F7F3;
  --text-muted: #A9B4AC;
  --light-bg: #F3F4EF;
  --light-text: #12180F;
  --light-muted: #4B5348;
  --accent: #D4FF3F;
  --accent-dark: #A9CC29;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --radius: 14px;
  --container: 1120px;
  --header-h: 72px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--light-text);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 1000;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Offset anchor-jump targets so the sticky header never overlaps a heading */
#top, #about, #products, #clubs, #contact {
  scroll-margin-top: var(--header-h);
}

/* ---------- Section tags / typography ---------- */

.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 12px;
}
.section-tag--light { color: var(--accent); }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 18px;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; margin-bottom: 10px; }

.body-text, .lede, .section-intro, p { color: var(--text-muted); }
.body-text, .section-intro { max-width: 640px; font-size: 1.05rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 21, 18, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.logo-mark { color: var(--accent); flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}
.primary-nav a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: var(--light-text) !important;
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--accent-dark); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--light-text);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

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

.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at top right, black, transparent 70%);
}

.hero-inner { position: relative; max-width: 760px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}

.lede { font-size: 1.15rem; max-width: 620px; margin-bottom: 32px; }

/* ---------- About (light panel) ---------- */

.about {
  background: var(--light-bg);
  color: var(--light-text);
  padding: 88px 0;
}
.about .body-text { color: var(--light-muted); }
.about h2 { color: var(--light-text); }
.about .section-tag { color: var(--accent-dark); }
.about-inner { max-width: 720px; }
.about-inner p + p { margin-top: 18px; }

/* ---------- Products ---------- */

.products {
  background: var(--bg);
  padding: 96px 0;
}

.section-intro { margin-bottom: 48px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--bg-panel-2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.product-card p { color: var(--text-muted); font-size: 0.98rem; }

.products-footnote {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 680px;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* ---------- Clubs / venues (accent block) ---------- */

.clubs {
  background: var(--accent);
  color: var(--light-text);
  padding: 96px 0;
}
.clubs .section-tag { color: var(--light-text); opacity: 0.7; }
.clubs h2 { color: var(--light-text); }
.clubs .body-text { color: rgba(18, 24, 15, 0.75); }
.clubs-inner { max-width: 720px; }

.clubs-list {
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.clubs-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  color: var(--light-text);
}
.clubs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-text);
}

.clubs .btn-primary {
  background: var(--light-text);
  color: var(--accent);
}
.clubs .btn-primary:hover { background: #22301c; }

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

.contact {
  background: var(--bg);
  padding: 100px 0 110px;
  text-align: left;
}
.contact-inner { max-width: 620px; }
.contact .body-text { margin-bottom: 28px; }

.email-link {
  display: inline-block;
  font-size: clamp(1.3rem, 3.6vw, 1.9rem);
  font-weight: 800;
  color: var(--accent);
  border-bottom: 2px solid var(--accent-dark);
  padding-bottom: 4px;
}
.email-link:hover { color: var(--text); border-color: var(--text); }

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

.site-footer {
  background: #0A0F0D;
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}
.footer-brand .logo-mark { color: var(--accent); }
.footer-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  flex: 1 1 280px;
}
.footer-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}
.footer-meta a:hover { color: var(--accent); }

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

@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav a:last-child { border-bottom: none; }
  .nav-cta {
    margin-top: 12px;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  .hero { padding: 64px 0 56px; }
  .about, .products, .clubs { padding: 64px 0; }
  .contact { padding: 72px 0 84px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .product-card, .nav-toggle span { transition: none; }
}
