/* =========================================================
   ERGIN HUKUK — Açık Krem Tasarım Sistemi
   Franklin / Ogletree tonlu · altın aksanlı · serif başlıklar
   ========================================================= */

:root {
  /* Light theme */
  --bg: #ece8e0;             /* warm cream (Franklin-style) */
  --bg-soft: #f4f0e7;        /* lighter cream surface */
  --bg-elev: #f7f4ed;        /* card surfaces */
  --bg-dark: #1d1b17;        /* dark accent section */
  --bg-darker: #14130f;

  --text: #1a1a1a;
  --text-dim: #4a463f;
  --text-mute: #8b867b;
  --text-on-dark: #ece8e0;

  --gold: #a89968;           /* olive gold — Franklin */
  --gold-deep: #8a7d54;
  --gold-soft: #c4b585;
  --gold-glow: rgba(168, 153, 104, 0.18);

  --line: rgba(26, 26, 26, 0.10);
  --line-strong: rgba(26, 26, 26, 0.18);
  --line-gold: rgba(168, 153, 104, 0.35);

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1340px;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --radius-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: #fff; }

/* ============== TYPOGRAPHY ============== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.05;
  color: var(--gold);
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--gold);
}
.display .accent { color: var(--text); font-style: italic; font-weight: 400; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--gold-deep);
  display: inline-block;
}
.lead {
  font-size: clamp(18px, 1.4vw, 22px);
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 62ch;
  font-weight: 400;
}
.section-title {
  font-size: clamp(40px, 5.5vw, 78px);
  font-weight: 400;
  line-height: 1.02;
  color: var(--gold);
  letter-spacing: -0.01em;
}
.section-title .accent { color: var(--text); font-style: italic; }
.section-eyebrow-large {
  font-size: clamp(60px, 10vw, 160px);
  color: var(--gold);
  font-family: var(--font-display);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

/* ============== NAVIGATION ============== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(236, 232, 224, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.nav.scrolled {
  padding: 14px var(--pad);
  background: rgba(236, 232, 224, 0.95);
  border-bottom-color: var(--line);
}

.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand-mark {
  width: 48px; height: 48px;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.02em;
  position: relative;
  transition: all .5s var(--ease);
  background: rgba(255, 255, 255, 0.3);
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  width: 7px; height: 7px;
  border: 1px solid var(--gold);
}
.brand-mark::before { top: -4px; left: -4px; border-right: none; border-bottom: none; }
.brand-mark::after { bottom: -4px; right: -4px; border-left: none; border-top: none; }
.brand:hover .brand-mark { background: var(--gold); color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-weight: 500;
  letter-spacing: 0.12em;
  font-size: 15px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  color: var(--text);
}
.brand-text span {
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 5px;
  font-family: var(--font-mono);
}

.nav-links {
  display: flex; gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
  font-weight: 500;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-deep); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

.nav-cta {
  background: var(--gold);
  color: #fff !important;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all .35s var(--ease);
  display: inline-flex; align-items: center; gap: 10px;
}
.nav-cta:hover { background: var(--gold-deep); transform: translateY(-1px); }

.menu-toggle { display: none; }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle {
    display: block;
    width: 44px; height: 44px;
    border: 1px solid var(--gold);
    color: var(--gold);
    position: relative;
    border-radius: var(--radius-pill);
  }
  .menu-toggle span, .menu-toggle::before, .menu-toggle::after {
    content: ""; position: absolute; left: 12px; right: 12px;
    height: 1px; background: currentColor;
  }
  .menu-toggle::before { top: 14px; }
  .menu-toggle span { top: 21px; }
  .menu-toggle::after { bottom: 14px; }

  .mobile-menu {
    position: fixed; inset: 0;
    background: var(--bg);
    z-index: 99;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    font-family: var(--font-display);
    font-size: 38px;
    color: var(--gold);
  }
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 160px var(--pad) 100px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse at 80% 25%, var(--gold-glow) 0%, transparent 45%),
    radial-gradient(ellipse at 20% 90%, rgba(168,153,104,0.08) 0%, transparent 50%);
  z-index: -2;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -3;
}
.hero-bg svg { width: 100%; height: 100%; object-fit: cover; }
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 25%;
  background: linear-gradient(180deg, transparent, var(--bg) 90%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-top: 50px;
  border-top: 1px solid var(--line-gold);
  margin-top: 40px;
}
@media (max-width: 700px) { .hero-meta { grid-template-columns: 1fr 1fr; } }
.hero-meta .item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.hero-meta .item strong {
  display: block;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.01em;
}

.scroll-cue {
  position: absolute;
  bottom: 30px; right: var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-mute);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: cue 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue { 0%,100% { transform: scaleY(0.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============== SECTIONS ============== */
section { position: relative; }
.section {
  padding: clamp(80px, 12vh, 160px) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; gap: 28px; } }

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: clamp(80px, 12vh, 160px) var(--pad);
  position: relative;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--gold); }
.section-dark .section-title .accent { color: var(--text-on-dark); }
.section-dark .lead { color: rgba(236,232,224,0.7); }
.section-dark .eyebrow { color: var(--gold); }
.section-dark .eyebrow::before { background: var(--gold); }
.section-dark .inner { max-width: var(--max); margin: 0 auto; }

.divider {
  height: 1px; background: var(--line);
  max-width: var(--max);
  margin: 0 auto;
}

/* ============== BUTTONS (Pill style — Franklin) ============== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all .35s var(--ease);
  position: relative;
}
.btn:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(138, 125, 84, 0.25); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(6px); }

.btn-ghost {
  background: transparent;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
}
.btn-ghost:hover { background: var(--gold); color: #fff; }

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}
.btn-outline-dark:hover { background: var(--text); color: var(--bg); }

/* ============== CARDS (Light surfaces with hairline) ============== */
.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 44px 38px;
  transition: all .5s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }
.card:hover::after { transform: scaleX(1); }

.card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  margin-bottom: 28px;
  display: block;
  font-weight: 500;
}
.card h3 {
  font-size: 30px;
  margin-bottom: 18px;
  font-weight: 400;
  color: var(--gold);
}
.card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

/* ============== FOOTER ============== */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 100px var(--pad) 30px;
  position: relative;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(168, 153, 104, 0.2);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--gold);
}
.footer-brand h4 .accent { color: var(--text-on-dark); font-style: italic; }
.footer-brand p { color: rgba(236,232,224,0.65); max-width: 38ch; font-size: 14px; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 14px; color: rgba(236,232,224,0.7); }
.footer-col a { transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max);
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236,232,224,0.45);
}

/* ============== UTILITIES ============== */
.split-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .split-cols { grid-template-columns: 1fr; gap: 40px; } }

.image-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.image-frame::after {
  content: "";
  position: absolute; top: 18px; left: 18px; right: 18px; bottom: 18px;
  border: 1px solid var(--gold);
  z-index: 2; pointer-events: none;
  opacity: .35;
}
.image-frame svg, .image-frame img { width: 100%; height: 100%; object-fit: cover; }

.kv-list { display: grid; gap: 0; }
.kv-list .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.kv-list .row:first-child { border-top: 1px solid var(--line); }
.kv-list .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}
.kv-list .v {
  color: var(--text);
  font-size: 18px;
  font-family: var(--font-display);
}
.kv-list .v small {
  display: block;
  color: var(--text-mute);
  font-size: 12px;
  margin-top: 6px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

@media (max-width: 700px) {
  .kv-list .row { grid-template-columns: 1fr; gap: 6px; }
}

/* ============== REVEAL ANIMATIONS ============== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ============== BIG QUOTE ============== */
.quote-block {
  padding: clamp(80px, 12vh, 160px) var(--pad);
  text-align: center;
  position: relative;
}
.quote-block::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 240px;
  color: var(--gold);
  opacity: 0.18;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}
.quote-block blockquote {
  max-width: 960px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.25;
  color: var(--text);
  font-weight: 400;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.quote-block cite {
  display: block;
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-style: normal;
}
