/* ============================================================
   DeCrescenzo.com — shared design system
   Palette: fairway green, warm cream, flag red, soft gold
   ============================================================ */

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

:root {
  --green-deep:   #14402a;
  --green:        #1a4d2e;
  --green-bright: #2d7a4f;
  --cream:        #faf6ee;
  --cream-dim:    #f1ead9;
  --red:          #c8553d;
  --gold:         #d4a843;
  --ink:          #233127;
  --ink-soft:     #5b6b60;
  --white:        #ffffff;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-card: 0 12px 32px -8px rgba(20, 64, 42, 0.18);
  --shadow-soft: 0 4px 16px -4px rgba(20, 64, 42, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Nunito', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

a {
  color: var(--green);
  text-decoration: none;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ──────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 64, 42, 0.08);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

/* ── Hole-path divider (signature element) ───────────────────
   A dotted routing line with a numbered marker, echoing the
   Happy Golf scorecard hole numbering. Used between sections. */
.hole-path {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 64px 0 40px;
  color: var(--green-bright);
}

.hole-path::before,
.hole-path::after {
  content: "";
  flex: 1;
  height: 0;
  border-top: 2px dotted rgba(45, 122, 79, 0.35);
}

.hole-path .marker {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

/* ── Sections ─────────────────────────────────────────────── */
section { padding: 80px 0; }

.eyebrow {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 12px;
  display: block;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  border: 2px solid rgba(20, 64, 42, 0.18);
}

.btn-ghost:hover {
  border-color: var(--green);
  background: rgba(45, 122, 79, 0.06);
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--green-deep);
  color: rgba(250, 246, 238, 0.7);
  padding: 48px 0 32px;
  font-size: 14px;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer a {
  color: rgba(250, 246, 238, 0.85);
  font-weight: 700;
}

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

footer .foot-links {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { gap: 18px; }
  section { padding: 56px 0; }
  footer .wrap { flex-direction: column; text-align: center; }
}

/* ── Motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
