/* =========================================================
   Fresh Start 716 Water Features — Shared Stylesheet
   Palette: Slate + Koi Orange accent
   ========================================================= */

:root {
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --koi-500: #f97316;
  --koi-600: #ea580c;
  --koi-100: #ffedd8;

  --white: #ffffff;

  --font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.16);

  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--slate-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--slate-900);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p.lede {
  font-size: 1.15rem;
  color: var(--slate-600);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--koi-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--koi-500);
  display: inline-block;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--koi-500);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--koi-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  border-color: var(--slate-200);
  color: var(--slate-800);
}

.btn-ghost:hover {
  border-color: var(--koi-500);
  color: var(--koi-600);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--slate-900);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--slate-900);
}

.brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--koi-500), var(--slate-800));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand .brand-mark svg { width: 20px; height: 20px; }

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav.primary-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--slate-600);
  transition: background 0.2s ease, color 0.2s ease;
}

nav.primary-nav a:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}

nav.primary-nav a.active {
  background: var(--slate-900);
  color: var(--white);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--slate-900);
  display: block;
}

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

.hero {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.10), transparent 55%),
              linear-gradient(180deg, var(--slate-50) 0%, #eef2f6 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .btn-row {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-copy p.lede { margin: 20px 0 4px; max-width: 480px; }

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 46px;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--slate-900);
}

.hero-stats div span {
  font-size: 0.85rem;
  color: var(--slate-400);
}

/* Placeholder art blocks (used instead of real photography) */

.art-block {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--slate-800) 0%, var(--slate-700) 45%, var(--koi-600) 130%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.art-block.ripples::before,
.art-block.ripples::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.art-block.ripples::before { width: 220px; height: 220px; top: -60px; right: -60px; }
.art-block.ripples::after { width: 340px; height: 340px; bottom: -120px; left: -80px; }

.hero-art { height: 420px; display: flex; align-items: center; justify-content: center; }

.hero-art .koi-icon { width: 120px; height: 120px; opacity: 0.9; }

/* ---------- Sections ---------- */

section { padding: 90px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head.left { margin: 0 0 48px; text-align: left; }

.alt-bg { background: var(--white); }

/* ---------- Feature / Value cards ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--koi-100);
  color: var(--koi-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-badge svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate-600); font-size: 0.97rem; }

/* ---------- Process steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 22px 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--koi-600);
  background: var(--koi-100);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 14px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--slate-900), var(--slate-700));
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--slate-200); }

/* ---------- Gallery (Showcase page) ---------- */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover { border-color: var(--koi-500); color: var(--koi-600); }
.filter-btn.active { background: var(--slate-900); border-color: var(--slate-900); color: var(--white); }

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.gallery-thumb {
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}

.gallery-thumb .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.55);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-thumb svg { width: 46px; height: 46px; }

.gallery-caption { padding: 18px 20px 22px; }
.gallery-caption h3 { font-size: 1.05rem; margin-bottom: 4px; }
.gallery-caption p { font-size: 0.88rem; color: var(--slate-400); }

/* Thumbnail color variants */
.thumb-1 { background: linear-gradient(145deg, #1e293b, #f97316); }
.thumb-2 { background: linear-gradient(145deg, #334155, #64748b); }
.thumb-3 { background: linear-gradient(145deg, #0f172a, #ea580c); }
.thumb-4 { background: linear-gradient(145deg, #475569, #1e293b); }
.thumb-5 { background: linear-gradient(145deg, #f97316, #334155); }
.thumb-6 { background: linear-gradient(145deg, #1e293b, #475569); }

/* ---------- Video section ---------- */

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--slate-900);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--slate-400);
  margin-top: 16px;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.video-thumb {
  border-radius: var(--radius-md);
  height: 150px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--slate-200);
}

.video-thumb .play-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb .play-btn svg { width: 18px; height: 18px; color: var(--koi-600); margin-left: 2px; }

/* ---------- About page specifics ---------- */

.owner-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}

.owner-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-list { display: grid; gap: 18px; margin-top: 24px; }

.value-list .value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-list .icon-badge { flex-shrink: 0; margin-bottom: 0; }

.quote-block {
  border-left: 3px solid var(--koi-500);
  padding: 8px 0 8px 26px;
  margin: 40px 0;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--slate-800);
}

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

footer.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.footer-grid p, .footer-grid a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--slate-400);
  transition: color 0.2s ease;
}

.footer-grid a:hover { color: var(--koi-500); }

footer .brand { color: var(--white); margin-bottom: 14px; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

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

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 300px; }
  .grid-3, .steps, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .video-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  nav.primary-nav, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-wrap.open nav.primary-nav {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--slate-200);
    gap: 2px;
  }
  .grid-3, .grid-2, .steps, .footer-grid, .gallery-grid, .video-list {
    grid-template-columns: 1fr;
  }
  .cta-band { flex-direction: column; text-align: center; padding: 44px 30px; }
  section { padding: 64px 0; }
}
