/* ============================================================
   Shoal — Shared stylesheet (Mayıs 2026 yeni tasarım)
   ============================================================
   Tüm sayfalar bu dosyayı kullanır. Sayfa-spesifik stiller
   ilgili template içinde inline veya ayrı dosyada olabilir.
   ============================================================ */

:root {
  --bg: #FAFAF7;
  --bg-elevated: #FFFFFF;
  --surface: #F4F1EB;
  --ink: #0A0908;
  --ink-2: #353230;
  --ink-3: #6B665F;
  --ink-4: #A39E94;
  --line: #E5E0D5;
  --line-strong: #C9C3B5;
  --accent: #B8520A;
  --accent-2: #9A4308;
  --accent-soft: rgba(184, 82, 10, 0.08);
  --accent-soft-2: rgba(184, 82, 10, 0.14);
  --pos: #2E6E4B;
  --pos-soft: rgba(46, 110, 75, 0.08);
  --neg: #A33A2C;

  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01", "ss02", "cv11";
  overflow-x: hidden;
}

/* Subtle noise overlay (texture) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.2  0 0 0 0 0.2  0 0 0 0 0.2  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============= NAVIGATION ============= */
nav {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.brand::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-2px);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--accent); }

/* ============= COMMON SECTION ============= */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 12vw, 140px) var(--gutter);
}
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  margin-bottom: clamp(48px, 6vw, 80px);
  align-items: end;
}
.section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow .num { color: var(--accent); font-weight: 500; }
.section-title {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
}
.section-title .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
.section-desc {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 540px;
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 18px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { color: var(--ink-2); background: transparent; }
.btn-ghost:hover { color: var(--ink); transform: translateX(2px); }
.btn-ghost .arrow { transition: transform 0.15s; }
.btn-ghost:hover .arrow { transform: translateX(2px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--ink); background: var(--surface); }

/* ============= GENERIC CARDS ============= */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  transition: all 0.2s ease;
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 36px -16px rgba(20, 18, 12, 0.12);
}

/* ============= FOOTER ============= */
footer.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 48px var(--gutter) 32px;
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a { color: var(--ink-3); text-decoration: none; }
.footer-bottom .legal-links a:hover { color: var(--ink); }

/* ============= TYPOGRAPHY HELPERS ============= */
.mono { font-family: var(--mono); }
.muted { color: var(--ink-3); }
.text-accent { color: var(--accent); }
.text-pos { color: var(--pos); }
.text-neg { color: var(--neg); }

/* ============= ANIMATIONS ============= */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: reveal 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.25s; }
.d4 { animation-delay: 0.35s; }
.d5 { animation-delay: 0.45s; }

/* ============= RESPONSIVE ============= */
@media (max-width: 980px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
}
