/* =====================================================================
   Av. Hazal Ateş Uçar — Altın-Antrasit Lüks Tasarım Sistemi
   ===================================================================== */

/* ---------- fontlar (yerel fallback'li Google Fonts) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600;700;800&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

/* ---------- degiskenler ---------- */
:root {
  --gold: #c9a227;
  --gold-light: #e8c95c;
  --gold-dark: #9a7b1a;
  --gold-soft: rgba(201, 162, 39, 0.12);

  /* koyu tema (varsayilan) */
  --bg: #0e0f11;
  --bg-2: #16181b;
  --bg-3: #1e2126;
  --surface: #191c20;
  --line: rgba(201, 162, 39, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #eceae4;
  --text-2: #b8b4a9;
  --text-3: #807c72;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.3);

  --serif: 'Cormorant Garamond', 'Amiri', Georgia, serif;
  --sans: 'Manrope', 'Segoe UI', system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

html[data-theme='light'] {
  --bg: #f6f3ec;
  --bg-2: #efebe0;
  --bg-3: #e7e2d4;
  --surface: #fdfcf8;
  --line: rgba(154, 123, 26, 0.22);
  --line-soft: rgba(20, 18, 10, 0.08);
  --text: #191712;
  --text-2: #57534a;
  --text-3: #8b867a;
  --shadow: 0 24px 60px rgba(60, 48, 12, 0.12);
  --shadow-sm: 0 8px 24px rgba(60, 48, 12, 0.08);
}

/* Arapca: serif basliklarda Amiri one gecsin */
html[dir='rtl'] {
  --serif: 'Amiri', 'Cormorant Garamond', serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #14120a; }

/* ---------- genel yerlesim ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 70px 0; }
.section--alt { background: var(--bg-2); }

/* kicker + baslik kalibi */
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
}
.kicker::before { content: ''; width: 42px; height: 1px; background: var(--gold); }
html[dir='rtl'] .kicker { letter-spacing: 0.1em; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 600; line-height: 1.12;
  margin: 18px 0 14px;
}
.section-desc { color: var(--text-2); max-width: 640px; font-size: 1.05rem; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s var(--ease), color 0.35s var(--ease);
  will-change: transform;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: #17130a;
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.35);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(201, 162, 39, 0.45); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn--sm { padding: 10px 22px; font-size: 0.85rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 90;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              height 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.scrolled {
  height: 68px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}

.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mono {
  width: 46px; height: 46px; flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif); font-size: 1.55rem; font-weight: 700;
  border-radius: 4px;
  position: relative;
}
.brand-mono::after {
  content: ''; position: absolute; inset: 3px;
  border: 1px solid rgba(201, 162, 39, 0.35); border-radius: 2px;
}
.brand-text { line-height: 1.2; white-space: nowrap; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.02em; }
.brand-sub { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
html[dir='rtl'] .brand-sub { letter-spacing: 0.08em; }

.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; min-width: 0; }
.main-nav a {
  padding: 8px 9px; font-size: 0.86rem; font-weight: 600;
  color: var(--text-2); border-radius: 8px; position: relative;
  transition: color 0.3s; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a.active::after {
  content: ''; position: absolute; inset-inline: 11px; bottom: 3px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
/* SSS + Portal yalnizca mobil tam-ekran menude gorunur; masaustunde
   header'i tasirmamak icin gizlidir (portal icin ikon butonu var) */
.main-nav a.nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.portal-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--text-2); transition: color 0.3s, border-color 0.3s;
}
.portal-btn:hover { color: var(--gold); border-color: var(--gold); }
.portal-btn svg { width: 18px; height: 18px; }

/* tema dugmesi: aktif temaya gore tek ikon goster */
.theme-toggle .icon-when-dark, .theme-toggle .icon-when-light { display: none; line-height: 0; }
html[data-theme='dark'] .theme-toggle .icon-when-dark { display: block; }
html[data-theme='light'] .theme-toggle .icon-when-light { display: block; }

/* dil secici */
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch a {
  padding: 6px 10px; font-size: 0.78rem; font-weight: 700; color: var(--text-2);
  transition: background 0.3s, color 0.3s;
}
.lang-switch a.active { background: var(--gold); color: #17130a; }
.lang-switch a:not(.active):hover { color: var(--gold); }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--text-2); transition: color 0.3s, border-color 0.3s, transform 0.5s var(--ease);
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); transform: rotate(40deg); }
.theme-toggle svg { width: 18px; height: 18px; }

.nav-burger { display: none; width: 42px; height: 42px; position: relative; z-index: 101; }
.nav-burger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px auto; transition: transform 0.4s var(--ease), opacity 0.3s;
}
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: grid; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 500px at 78% 18%, rgba(201, 162, 39, 0.13), transparent 60%),
    radial-gradient(800px 600px at 12% 85%, rgba(201, 162, 39, 0.07), transparent 55%),
    var(--bg);
}
.hero-lines {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: 60px; align-items: center;
}
.hero-copy .kicker { margin-bottom: 8px; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.2vw, 5.6rem);
  font-weight: 600; line-height: 1.04; letter-spacing: 0.01em;
  margin: 14px 0 26px;
}
/* padding+negatif margin: "g, ş, ç" gibi harflerin alt kuyruklari ile
   "Ö" noktalari overflow:hidden tarafindan kesilmesin (animasyon bozulmaz) */
.hero-title .line {
  display: block; overflow: hidden;
  padding: 0.1em 0.05em 0.16em 0;
  margin: -0.1em 0 -0.16em 0;
}
html[dir='rtl'] .hero-title .line { padding: 0.1em 0 0.16em 0.05em; }
.hero-title .word { display: inline-block; }
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub { color: var(--text-2); font-size: 1.12rem; max-width: 520px; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-photo-frame {
  position: relative;
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  max-height: 72vh;
}
.hero-photo-frame::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  border: 1px solid rgba(201, 162, 39, 0.4); border-radius: 18px;
  pointer-events: none;
}
.hero-photo-frame::after {
  content: ''; position: absolute; inset: 14px; z-index: 2;
  border: 1px solid rgba(201, 162, 39, 0.22); border-radius: 10px;
  pointer-events: none;
}
.hero-photo-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transform: scale(1.06);
  transition: transform 1.6s var(--ease);
}
.hero:hover .hero-photo-frame img { transform: scale(1.0); }

.hero-card {
  position: absolute; z-index: 3;
  inset-inline-start: -34px; bottom: 44px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 16px;
}
.hero-card .mono {
  font-family: var(--serif); font-size: 1.9rem; color: var(--gold); font-weight: 700;
}
.hero-card .t { font-size: 0.88rem; color: var(--text-2); line-height: 1.45; }
.hero-card .t strong { color: var(--text); display: block; font-size: 0.95rem; }

.scroll-cue {
  position: absolute; bottom: 30px; inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-3); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
}
html[dir='rtl'] .scroll-cue { transform: translateX(50%); }
.scroll-cue::after {
  content: ''; width: 1px; height: 44px;
  background: linear-gradient(var(--gold), transparent);
  animation: cueDrop 2.2s var(--ease) infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- sayaç şeridi ---------- */
.stats-strip {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--gold) 4%, var(--bg));
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 34px 20px; text-align: center;
  border-inline-start: 1px solid var(--line);
}
.stat:first-child { border-inline-start: 0; }
.stat .num {
  font-family: var(--serif); font-size: 2.5rem; font-weight: 700; color: var(--gold);
  line-height: 1.1;
}
.stat .lbl { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; }

/* ---------- kartlar ---------- */
.areas-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px;
}
.area-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.area-card::before {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.5s var(--ease);
}
.area-card:hover { transform: translateY(-8px); border-color: var(--line); box-shadow: var(--shadow-sm); }
.area-card:hover::before { transform: scaleX(1); }
.area-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold);
  margin-bottom: 20px;
  transition: transform 0.45s var(--ease);
}
.area-card:hover .area-icon { transform: rotate(-8deg) scale(1.08); }
.area-icon svg { width: 26px; height: 26px; }
.area-card h3 {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 700; margin-bottom: 10px;
}
.area-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.area-card .go {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.area-card:hover .go { opacity: 1; transform: translateY(0); }

/* ---------- hakkinda onizleme ---------- */
.about-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center;
}
.about-photo { position: relative; }
.about-photo img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4/5; object-fit: cover; width: 100%;
}
.about-photo::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(201, 162, 39, 0.35); border-radius: var(--radius);
  transform: translate(18px, 18px); z-index: -1;
}
html[dir='rtl'] .about-photo::after { transform: translate(-18px, 18px); }
.about-copy .lead { font-size: 1.1rem; color: var(--text-2); margin: 8px 0 28px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.principle { display: flex; gap: 14px; align-items: flex-start; }
.principle .dot {
  flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); margin-top: 7px;
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.principle h4 { font-size: 0.98rem; margin-bottom: 3px; }
.principle p { font-size: 0.86rem; color: var(--text-2); }

/* ---------- makale kartlari ---------- */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.article-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: var(--line); }
.article-card .meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
  padding: 24px 26px 0;
}
.article-card .meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }
.article-card .meta .dim { color: var(--text-3); }
.article-card h3 {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 700; line-height: 1.3;
  padding: 12px 26px 0;
}
.article-card p { padding: 10px 26px 0; font-size: 0.9rem; color: var(--text-2); flex: 1; }
.article-card .foot {
  padding: 20px 26px 24px; display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; color: var(--gold);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.article-card .foot svg { transition: transform 0.35s var(--ease); }
.article-card:hover .foot svg { transform: translateX(6px); }
html[dir='rtl'] .article-card:hover .foot svg { transform: translateX(-6px) scaleX(-1); }
html[dir='rtl'] .article-card .foot svg { transform: scaleX(-1); }

/* ---------- araclar bandi ---------- */
.tools-band {
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(201, 162, 39, 0.12), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.tool-chip {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 18px 20px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.tool-chip:hover { transform: translateY(-4px); border-color: var(--gold); }
.tool-chip .ic {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 10px;
  display: grid; place-items: center; background: var(--gold-soft); color: var(--gold);
}
.tool-chip .ic svg { width: 22px; height: 22px; }
.tool-chip .t { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.tool-chip .d { font-size: 0.78rem; color: var(--text-3); }

/* ---------- CTA / iletisim onizleme ---------- */
.cta-panel {
  background:
    radial-gradient(700px 380px at 20% 0%, rgba(201, 162, 39, 0.15), transparent 55%),
    var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 70px 60px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-panel::after {
  content: '§'; position: absolute; inset-inline-end: -30px; bottom: -60px;
  font-family: var(--serif); font-size: 20rem; color: var(--gold);
  opacity: 0.06; line-height: 1; pointer-events: none;
}
.cta-title { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 600; line-height: 1.15; }
.cta-desc { color: var(--text-2); margin-top: 14px; max-width: 480px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-line {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.cta-line:hover { border-color: var(--gold); transform: translateX(6px); }
html[dir='rtl'] .cta-line:hover { transform: translateX(-6px); }
.cta-line .ic { color: var(--gold); flex: 0 0 auto; }
.cta-line .ic svg { width: 22px; height: 22px; }
.cta-line .lbl { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.cta-line .val { font-weight: 700; font-size: 0.98rem; }

/* ---------- footer ---------- */
.site-footer {
  background: #0a0b0d;
  border-top: 1px solid var(--line);
  padding: 80px 0 0;
  color: #b8b4a9;
}
html[data-theme='light'] .site-footer { background: #14120c; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px;
  padding-bottom: 60px;
}
.footer-brand .brand-mono { width: 54px; height: 54px; font-size: 1.8rem; margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: #807c72; max-width: 300px; margin-top: 12px; }
.footer-col h4 {
  color: #eceae4; font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 22px;
}
html[dir='rtl'] .footer-col h4 { letter-spacing: 0.06em; }
.footer-col a {
  display: block; padding: 6px 0; font-size: 0.92rem; color: #918d82;
  transition: color 0.3s, transform 0.3s var(--ease);
}
.footer-col a:hover { color: var(--gold); transform: translateX(5px); }
html[dir='rtl'] .footer-col a:hover { transform: translateX(-5px); }
.footer-contact div { display: flex; gap: 12px; padding: 7px 0; font-size: 0.9rem; color: #918d82; }
.footer-contact svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 0; font-size: 0.78rem; color: #6b675e; line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 0.82rem; color: #6b675e;
}

/* ---------- alt sayfa hero ---------- */
.page-hero {
  padding: calc(var(--header-h) + 70px) 0 70px;
  background:
    radial-gradient(900px 400px at 80% 0%, rgba(201, 162, 39, 0.1), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 600;
  margin-top: 16px;
}
.page-hero .crumbs { display: flex; gap: 10px; font-size: 0.85rem; color: var(--text-3); margin-top: 18px; }
.page-hero .crumbs a:hover { color: var(--gold); }

/* ---------- form ogeleri ---------- */
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; min-width: 0; padding: 15px 18px;
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  transition: border-color 0.3s, box-shadow 0.3s;
}
/* uzun secenek metni kutuyu genisletmesin, ucu ... ile kirpilsin */
.field select { text-overflow: ellipsis; }
.field { min-width: 0; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.field textarea { min-height: 140px; resize: vertical; }
.field.error input, .field.error textarea { border-color: #c0392b; }
.check-field { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 0.86rem; color: var(--text-2); }
.check-field input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex: 0 0 auto; }
.check-field a { color: var(--gold); text-decoration: underline; }
.form-note { font-size: 0.8rem; color: var(--text-3); margin-top: 14px; }

.alert {
  padding: 16px 22px; border-radius: var(--radius-sm); margin-bottom: 24px;
  font-size: 0.92rem; border: 1px solid;
}
.alert--ok { background: rgba(46, 160, 67, 0.1); border-color: rgba(46, 160, 67, 0.4); color: #58c472; }
.alert--err { background: rgba(192, 57, 43, 0.1); border-color: rgba(192, 57, 43, 0.4); color: #e07060; }

/* ---------- animasyon (JS ile tetiklenir) ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-scale.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(1) { transition-delay: 0.02s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.18s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.34s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.42s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.5s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.58s; }
.stagger.visible > *:nth-child(9) { transition-delay: 0.66s; }
.stagger.visible > *:nth-child(10) { transition-delay: 0.74s; }
.stagger.visible > *:nth-child(11) { transition-delay: 0.82s; }
.stagger.visible > *:nth-child(12) { transition-delay: 0.9s; }

/* hero giris animasyonu */
.hero-title .line .word {
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
body.loaded .hero-title .line .word { transform: translateY(0); }
.hero-copy .kicker, .hero-sub, .hero-ctas {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
body.loaded .hero-copy .kicker { opacity: 1; transform: none; transition-delay: 0.15s; }
body.loaded .hero-sub { opacity: 1; transform: none; transition-delay: 0.55s; }
body.loaded .hero-ctas { opacity: 1; transform: none; transition-delay: 0.7s; }
.hero-visual { opacity: 0; transform: translateX(40px) scale(0.97); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: 0.35s; }
html[dir='rtl'] .hero-visual { transform: translateX(-40px) scale(0.97); }
body.loaded .hero-visual { opacity: 1; transform: none; }

/* ---------- WhatsApp yuzen buton ---------- */
.wa-float {
  position: fixed; inset-inline-end: 26px; bottom: 26px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.35s var(--ease);
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- cerez banner ---------- */
.cookie-banner {
  /* WhatsApp yuzen butonuyla cakismasin diye sag bosluk birakilir */
  position: fixed; inset-inline-start: 20px; inset-inline-end: 100px; bottom: 20px; z-index: 95;
  max-width: 520px; margin-inline-start: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px;
  box-shadow: var(--shadow);
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.5s;
}
.cookie-banner.show { transform: none; opacity: 1; pointer-events: auto; }
.cookie-banner h4 { font-size: 1rem; margin-bottom: 8px; }
.cookie-banner p { font-size: 0.84rem; color: var(--text-2); margin-bottom: 16px; }
.cookie-banner .row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .hero-card { inset-inline-start: -10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 50px 36px; }
}
@media (max-width: 1240px) {
  .main-nav {
    /* OPAK arka plan: backdrop-filter destegi olmayan mobil tarayicilarda
       arkadaki icerik menunun icinden okunuyordu */
    position: fixed; inset: 0; z-index: 100;
    background: var(--bg);
    flex-direction: column; justify-content: center; gap: 8px;
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
    overscroll-behavior: contain;
  }
  body.nav-open .main-nav { opacity: 1; pointer-events: auto; }
  /* menu acikken arka plan kaymasin (html sinifi JS ile eslenir) */
  html.nav-locked, body.nav-open { overflow: hidden; height: 100%; }
  .main-nav a { font-size: 1.35rem; font-family: var(--serif); white-space: normal; }
  .main-nav a.nav-extra { display: block; }
  .main-nav a.active::after { display: none; }
  .nav-burger { display: block; }
  .portal-btn { display: none; }
}
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-inline-start: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .principles { grid-template-columns: 1fr; }
  .header-actions .btn { display: none; }
}
@media (max-width: 560px) {
  .areas-grid, .tools-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { position: static; margin-top: 18px; inset-inline-start: 0; }
  .container { padding: 0 20px; }
  .brand-text { display: none; }
  .header-cta { display: none; }
  .cookie-banner { inset-inline: 16px; bottom: 96px; }
  /* hero butonlari mobilde tam genislik — bas parmakla rahat */
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .cta-panel { padding: 36px 22px; }
  .page-hero { padding: calc(var(--header-h) + 40px) 0 46px; }
}

/* hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-scale, .stagger > * { opacity: 1 !important; transform: none !important; }
  .hero-title .line .word { transform: none; }
  .hero-copy .kicker, .hero-sub, .hero-ctas, .hero-visual { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* yazdirma */
@media print {
  .site-header, .site-footer, .wa-float, .cookie-banner, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
}
