/* DinkOptics — placeholder styles */

:root {
  --navy: #0f2a3d;
  --optic: #d7f23a;      /* pickleball yellow */
  --ink: #1b1f23;
  --muted: #5b6670;
  --bg: #ffffff;
  --panel: #f4f7f9;
  --radius: 10px;
  --max: 1000px;
}

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

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

a { color: var(--navy); }

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}
.logo span { color: var(--optic); }

.site-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}
.site-nav a:first-child { margin-left: 0; }
.site-nav a:hover,
.site-nav a.active { color: var(--optic); }

/* Hero */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 80px 0 90px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 28px;
  color: #d5dee5;
}

.badge {
  display: inline-block;
  background: var(--optic);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.button {
  display: inline-block;
  background: var(--optic);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.button:hover { filter: brightness(0.95); }

/* Sections */
.section { padding: 60px 0; }
.section h2 { font-size: 1.8rem; margin-bottom: 12px; }
.section p { color: var(--muted); margin-bottom: 12px; }

.page-title {
  background: var(--panel);
  padding: 48px 0;
}
.page-title h1 { font-size: 2.2rem; }
.page-title p { color: var(--muted); }

/* Card grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.grid:first-child { margin-top: 0; }
.card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; }

.placeholder-img {
  background: repeating-linear-gradient(
    45deg, #e3e9ee, #e3e9ee 10px, #edf1f4 10px, #edf1f4 20px
  );
  border-radius: 8px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.price { font-weight: 700; color: var(--navy); margin-top: 8px; }

/* Email signup */
.signup {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.signup input {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid #c9d3db;
  font-size: 1rem;
  min-width: 260px;
  flex: 0 1 320px;
}

/* Contact form */
.form { max-width: 520px; }
.form label { display: block; font-weight: 600; margin: 16px 0 6px; }
.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid #c9d3db;
  font: inherit;
}
.form .button { margin-top: 20px; }

.note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}

/* Footer */
.site-footer {
  background: var(--panel);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 24px 0;
  text-align: center;
}

@media (max-width: 560px) {
  .site-header .container { justify-content: center; }
  .site-nav a { margin-left: 14px; }
  .hero { padding: 56px 0 64px; }
}
