/* ============================================================
   eminerkec.com.tr — Renovasyon v2 (2026-05-13)
   Stil: Sade kurumsal / klasik WordPress siyasetçi teması
   Palet: Lacivert + beyaz + gümüş gri (vurgusuz, ağırbaşlı)
   Tip:   Open Sans (klasik, tanıdık, Türkçe tam)
   ============================================================ */

/* ---------- 1. RESET --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- 2. TOKENS -------------------------------------- */
:root {
  /* Renk — kurumsal bordo kırmızı + antrasit + beyaz */
  --red-900: #5C0F1F;     /* en koyu bordo (rare) */
  --red-800: #8B1626;     /* primary brand bordo */
  --red-700: #A52030;     /* hover */
  --red-600: #C73D52;     /* light accent, link */
  --red-50:  #FDF2F4;     /* çok hafif zemin */

  /* Çatı koyuları gri/antrasit — kırmızı sadece vurgu */
  --ink-900: #111827;     /* footer + top bar bg */
  --ink-800: #1F2937;     /* secondary dark */

  /* Aliases (legacy) — eski navy-* yerine kırmızı semantic */
  --navy-900: var(--ink-900);
  --navy-800: var(--red-800);
  --navy-700: var(--red-700);
  --navy-600: var(--red-600);

  --white:    #FFFFFF;
  --off-white:#F8F9FA;    /* zemin alternatif */
  --gray-100: #F3F4F6;    /* hafif zemin section */
  --gray-200: #E5E7EB;    /* border, divider */
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;    /* secondary text */
  --gray-500: #6B7280;
  --gray-600: #4B5563;    /* meta text */
  --gray-700: #374151;    /* body text */
  --gray-900: #111827;    /* heading text */

  --silver:   #B8BFCC;    /* ince gümüş vurgu (rare) */

  /* Semantic */
  --bg:           var(--white);
  --bg-alt:       var(--off-white);
  --bg-section:   var(--gray-100);
  --text:         var(--gray-700);
  --text-strong:  var(--navy-900);
  --text-dim:     var(--gray-500);
  --border:       var(--gray-200);
  --primary:      var(--navy-800);
  --primary-hover:var(--navy-700);

  /* Type — Manrope (display) + Open Sans (body) */
  --font-body:    "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Manrope", "Open Sans", "Segoe UI", system-ui, sans-serif;
  --font-head:    var(--font-display);

  /* Type scale — klasik kurumsal */
  --fs-11: 0.6875rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-22: 1.375rem;
  --fs-26: 1.625rem;
  --fs-32: 2rem;
  --fs-38: 2.375rem;
  --fs-48: 3rem;

  /* Spacing */
  --s-4:  0.25rem;
  --s-8:  0.5rem;
  --s-12: 0.75rem;
  --s-16: 1rem;
  --s-20: 1.25rem;
  --s-24: 1.5rem;
  --s-32: 2rem;
  --s-40: 2.5rem;
  --s-48: 3rem;
  --s-64: 4rem;
  --s-80: 5rem;
  --s-96: 6rem;

  /* Container */
  --container: min(1200px, calc(100vw - 2rem));

  /* Radius — az, kurumsal */
  --r-4: 4px;
  --r-6: 6px;

  /* Shadow — minimal */
  --sh-card: 0 1px 3px rgba(15, 27, 51, 0.08), 0 1px 2px rgba(15, 27, 51, 0.04);
  --sh-hover: 0 4px 16px rgba(15, 27, 51, 0.12), 0 2px 4px rgba(15, 27, 51, 0.06);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 200ms;
}

@media (max-width: 768px) {
  :root {
    --fs-38: 1.875rem;
    --fs-48: 2.25rem;
    --s-96: 4rem;
    --s-80: 3rem;
  }
}

/* ---------- 3. BODY & TYPOGRAPHY --------------------------- */
body {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
h1 { font-size: var(--fs-48); letter-spacing: -0.028em; line-height: 1.08; }
h2 { font-size: var(--fs-38); letter-spacing: -0.022em; }
h3 { font-size: var(--fs-26); letter-spacing: -0.015em; }
h4 { font-size: var(--fs-20); letter-spacing: -0.01em; }

p { line-height: 1.7; }

a { color: var(--primary); transition: color var(--dur) var(--ease); }
a:hover { color: var(--primary-hover); }

::selection { background: var(--primary); color: var(--white); }

/* ---------- 4. UTILITIES ----------------------------------- */
.container { width: var(--container); margin-inline: auto; }
.section { padding: 7rem 0; }
.section-alt { background: var(--bg-section); }
@media (max-width: 768px) { .section { padding: 4rem 0; } }

.section-head { margin-bottom: var(--s-48); text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--s-12);
}
.section-head h2 { font-size: var(--fs-38); margin-bottom: var(--s-16); }
.section-head h2 { letter-spacing: -0.015em; }
.section-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--primary);
  margin: var(--s-20) auto 0;
}
.section-head p { color: var(--text-dim); max-width: 62ch; margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  padding: var(--s-12) var(--s-24);
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-4);
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); color: var(--white); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-light { background: var(--white); color: var(--primary); }
.btn-light:hover { background: var(--gray-100); }
.btn-ghost { color: var(--primary); }
.btn-ghost:hover { color: var(--primary-hover); }
.btn-arrow::after { content: "→"; transition: transform var(--dur) var(--ease); }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- 5. TOP BAR ------------------------------------- */
.top-bar {
  background: linear-gradient(180deg, var(--red-900) 0%, var(--red-800) 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-13);
  padding: var(--s-8) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-24);
}
.top-bar-info { display: flex; gap: var(--s-24); align-items: center; flex-wrap: wrap; }
.top-bar-item { display: inline-flex; align-items: center; gap: var(--s-8); color: rgba(255, 255, 255, 0.92); }
.top-bar-item svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.75; }
.top-bar-item a { color: inherit; }
.top-bar-item a:hover { color: var(--white); }

.top-bar-social { display: flex; gap: var(--s-12); align-items: center; }
.top-bar-social a {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.top-bar-social a:hover { background: rgba(255, 255, 255, 0.15); color: var(--white); }
.top-bar-social svg { width: 14px; height: 14px; }
.top-bar-social .placeholder { opacity: 0.4; cursor: default; }
.top-bar-social .placeholder:hover { background: transparent; }

@media (max-width: 768px) {
  .top-bar { font-size: var(--fs-11); padding: var(--s-4) 0; }
  .top-bar-info { gap: var(--s-12); }
  .top-bar-item.address-item { display: none; }
}

/* ---------- 6. HEADER -------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-16) 0;
  gap: var(--s-32);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  line-height: 1.1;
}
.brand-logo {
  height: 46px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-size: var(--fs-22);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.02em;
}
.brand-title {
  font-size: var(--fs-11);
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
@media (max-width: 540px) {
  .brand-logo { height: 38px; }
  .brand-name { font-size: var(--fs-18); }
  .brand-title { font-size: 10px; letter-spacing: 0.08em; }
}

.main-nav { display: flex; align-items: center; gap: var(--s-8); }
.main-nav a {
  padding: var(--s-12) var(--s-16);
  font-size: var(--fs-15);
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--r-4);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.main-nav a:hover { color: var(--primary); background: var(--gray-100); }
.main-nav a.is-active { color: var(--primary); }
.main-nav a.is-active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  margin-top: 4px;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  color: var(--navy-900);
}
.nav-toggle span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 80px var(--s-24) var(--s-24);
    gap: 0;
    transform: translateY(-100%);
    transition: transform var(--dur) var(--ease);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-card);
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav a { padding: var(--s-16); border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav a:last-child { border-bottom: 0; }
}

/* ---------- 7. HERO SLIDER --------------------------------- */
.hero-slider {
  position: relative;
  height: clamp(640px, 92vh, 1100px);
  overflow: hidden;
  background: var(--ink-900);
}
.slides {
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1400ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.slide.is-active { opacity: 1; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  transition: transform 1800ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.slide.is-active img {
  /* Ken Burns: gentle uniform zoom; starts mid-scale so cross-fade hides
     any abrupt scale reset between slides */
  animation: kenBurns 12000ms ease-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.05); }
  to   { transform: scale(1.14); }
}
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(17, 24, 39, 0.35) 100%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.5) 45%, rgba(17, 24, 39, 0.3) 100%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.2) 0%, rgba(17, 24, 39, 0.55) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
  padding: 0 var(--s-16);
}
.hero-content-inner {
  width: var(--container);
  margin-inline: auto;
  color: var(--white);
  max-width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-12);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--s-24);
  background: transparent;
  border: 0;
  padding: 0;
}
.hero-eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--red-600);
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-20);
  max-width: 17ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero-content .subtitle {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: var(--s-32);
  max-width: 52ch;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
.hero-cta { display: flex; gap: var(--s-12); flex-wrap: wrap; }

/* Hero stagger entrance */
.hero-eyebrow         { animation: heroFadeUp 1s var(--ease) 0.25s both; }
.hero-content h1      { animation: heroFadeUp 1.1s var(--ease) 0.5s both; }
.hero-content .subtitle { animation: heroFadeUp 1s var(--ease) 0.75s both; }
.hero-cta             { animation: heroFadeUp 1s var(--ease) 1s both; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Slider controls */
.slider-dots {
  position: absolute;
  bottom: var(--s-24);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--s-8);
  z-index: 3;
}
.slider-dots button {
  width: 28px; height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.slider-dots button.is-active { background: var(--white); width: 48px; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-radius: 50%;
  z-index: 3;
  transition: background var(--dur) var(--ease);
}
.slider-arrow:hover { background: rgba(255, 255, 255, 0.2); }
.slider-arrow.prev { left: var(--s-16); }
.slider-arrow.next { right: var(--s-16); }
.slider-arrow svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .slider-arrow { display: none; }
  .hero-slider { height: clamp(360px, 55vh, 480px); }
}

/* ---------- 8. PAGE HERO (iç sayfalar) --------------------- */
.page-hero {
  background: linear-gradient(180deg, var(--red-900) 0%, var(--red-800) 100%);
  color: var(--white);
  padding: var(--s-80) 0 var(--s-64);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--page-hero-bg, none);
  background-size: cover;
  background-position: center 35%;
  opacity: 0.22;
  mix-blend-mode: overlay;
}
.page-hero-inner { position: relative; }
.page-hero .crumb {
  font-size: var(--fs-13);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--s-12);
}
.page-hero .crumb a { color: rgba(255, 255, 255, 0.85); }
.page-hero .crumb a:hover { color: var(--white); }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin: 0;
}

/* ---------- 9. ABOUT SECTION (anasayfa) -------------------- */
.about {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--s-64);
  align-items: center;
}
.about-img { position: relative; }
.about-img img {
  width: 100%;
  border-radius: var(--r-6);
  box-shadow: var(--sh-card);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.92);
  transition: filter 500ms var(--ease);
}
.about-img:hover img { filter: contrast(1.08) saturate(1); }
.about-img::before {
  content: "";
  position: absolute;
  top: -16px; left: -16px;
  width: 100%; height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--r-6);
  z-index: -1;
  opacity: 0.2;
}
.about-img::after {
  /* subtle bordo tint overlay */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(139, 22, 38, 0.0) 60%, rgba(139, 22, 38, 0.12) 100%);
  border-radius: var(--r-6);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.about-text h2 { margin-bottom: var(--s-12); }
.about-text .eyebrow {
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: var(--s-12);
}
.about-text h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--primary);
  margin-top: var(--s-12);
  margin-bottom: var(--s-24);
}
.about-text p { margin-bottom: var(--s-16); }
.about-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  margin: var(--s-32) 0;
  padding-block: var(--s-24);
  border-block: 1px solid var(--border);
}
.about-meta .item .label {
  font-size: var(--fs-13);
  color: var(--text-dim);
  margin-bottom: 2px;
}
.about-meta .item .val {
  font-weight: 700;
  color: var(--ink-900);
  font-size: var(--fs-16);
}

/* Stats — 3 numerical anchors */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-16);
  margin: var(--s-32) 0;
}
.about-stats .stat {
  padding: var(--s-20);
  background: var(--gray-100);
  border-left: 3px solid var(--primary);
  border-radius: var(--r-4);
}
.about-stats .num {
  font-size: var(--fs-32);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}
.about-stats .lbl {
  font-size: var(--fs-13);
  color: var(--text-dim);
  line-height: 1.3;
}
@media (max-width: 540px) {
  .about-stats { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; gap: var(--s-40); }
  .about-meta { grid-template-columns: 1fr; }
}

/* ---------- 10. ACTIVITY CARDS ----------------------------- */
.activity-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-24);
}
.activity-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-6);
  overflow: hidden;
  transition: box-shadow 350ms var(--ease), transform 350ms var(--ease), border-color 350ms var(--ease);
  display: flex;
  flex-direction: column;
}
.activity-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 500ms var(--ease);
}
.activity-card:hover {
  box-shadow: var(--sh-hover);
  transform: translateY(-4px);
  border-color: rgba(139, 22, 38, 0.2);
}
.activity-card:hover::before { transform: scaleX(1); }
.activity-card .body { padding: var(--s-24); flex: 1; display: flex; flex-direction: column; }
.activity-card .date {
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--s-12);
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
}
.activity-card .date::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--primary);
}
.activity-card h3 {
  font-size: var(--fs-20);
  margin-bottom: var(--s-12);
  color: var(--navy-900);
  line-height: 1.3;
}
.activity-card p { color: var(--text-dim); font-size: var(--fs-15); flex: 1; }

@media (max-width: 880px) {
  .activity-cards { grid-template-columns: 1fr; }
}

/* ---------- 11. ACTIVITY LIST (faaliyetler sayfası) -------- */
.activity-list { display: flex; flex-direction: column; gap: var(--s-16); }
.activity-list .item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--r-4);
  padding: var(--s-24);
  transition: box-shadow var(--dur) var(--ease);
}
.activity-list .item:hover { box-shadow: var(--sh-card); }
.activity-list .item .date {
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--s-8);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.activity-list .item h3 {
  font-size: var(--fs-20);
  color: var(--navy-900);
  margin-bottom: var(--s-8);
}
.activity-list .item p { color: var(--text-dim); }

/* ---------- 12. GALLERY ------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-16);
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-4);
  background: var(--gray-100);
  cursor: pointer;
  border: 0;
  padding: 0;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 600ms var(--ease), filter 400ms var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); filter: saturate(1) contrast(1.02); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(15, 27, 51, 0.45));
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.gallery-item:hover::after { opacity: 1; }

@media (max-width: 880px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Galeri preview (ana sayfada, 4 foto) */
.gallery-preview { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .gallery-preview { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 13. LIGHTBOX ----------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 51, 0.94);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; }
.lightbox button {
  position: absolute;
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 24px;
  display: grid;
  place-items: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- 14. CTA BANNER --------------------------------- */
.cta-banner {
  background: linear-gradient(180deg, var(--red-900) 0%, var(--red-800) 100%);
  color: var(--white);
  padding: var(--s-64) 0;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--s-12);
  font-size: var(--fs-32);
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 56ch;
  margin: 0 auto var(--s-32);
}
.cta-banner .cta-row { display: inline-flex; gap: var(--s-12); flex-wrap: wrap; justify-content: center; }

/* ---------- 15. BIOGRAPHY PAGE ----------------------------- */
.bio-content {
  max-width: 800px;
  margin-inline: auto;
}
.bio-section { margin-bottom: var(--s-48); }
.bio-section h2 {
  font-size: var(--fs-26);
  color: var(--navy-900);
  margin-bottom: var(--s-16);
  padding-bottom: var(--s-12);
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.bio-section p {
  margin-bottom: var(--s-16);
  font-size: var(--fs-16);
  color: var(--gray-700);
  line-height: 1.8;
}
.bio-pull {
  background: var(--gray-100);
  border-left: 4px solid var(--primary);
  padding: var(--s-20) var(--s-24);
  margin: var(--s-32) 0;
  font-size: var(--fs-18);
  font-style: italic;
  color: var(--navy-800);
}

/* ---------- 16. CONTACT PAGE ------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--s-48);
  align-items: start;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-6);
  padding: var(--s-32);
}
.contact-block { margin-bottom: var(--s-24); padding-bottom: var(--s-24); border-bottom: 1px solid var(--border); }
.contact-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.contact-block .label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--s-8);
}
.contact-block .label svg { width: 16px; height: 16px; }
.contact-block .value { color: var(--navy-900); font-weight: 500; line-height: 1.5; }
.contact-block .value a:hover { color: var(--primary); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-6);
  padding: var(--s-32);
}
.contact-form-card h2 {
  font-size: var(--fs-26);
  margin-bottom: var(--s-8);
  color: var(--navy-900);
}
.contact-form-card .lead { color: var(--text-dim); margin-bottom: var(--s-32); }

.contact-form { display: flex; flex-direction: column; gap: var(--s-16); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); }
.form-field { display: flex; flex-direction: column; gap: var(--s-4); }
.form-field label {
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--gray-700);
}
.form-field input, .form-field textarea {
  padding: var(--s-12);
  font: inherit;
  font-size: var(--fs-15);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--r-4);
  color: var(--navy-900);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 44, 74, 0.1);
}
.form-field textarea { min-height: 140px; resize: vertical; font-family: inherit; }

.form-feedback {
  font-size: var(--fs-14);
  color: var(--gray-500);
  margin-top: var(--s-8);
}
.form-feedback.is-success { color: #15803d; font-weight: 500; }
.form-feedback.is-error { color: #b91c1c; font-weight: 500; }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--s-24); }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- 17. FOOTER ------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--red-900) 0%, var(--red-800) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--s-64) 0 var(--s-24);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--s-48);
  margin-bottom: var(--s-48);
}
.footer-col h4 {
  color: var(--white);
  font-size: var(--fs-15);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--s-16);
  padding-bottom: var(--s-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand h3 {
  color: var(--white);
  font-size: var(--fs-22);
  margin-bottom: var(--s-4);
}
.footer-brand .subtitle {
  color: var(--gray-400);
  font-size: var(--fs-13);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--s-16);
}
.footer-brand p { color: var(--gray-300); font-size: var(--fs-14); line-height: 1.6; }

.footer-col ul { display: flex; flex-direction: column; gap: var(--s-8); }
.footer-col a, .footer-col p, .footer-col li {
  color: var(--gray-300);
  font-size: var(--fs-14);
  line-height: 1.55;
}
.footer-col a:hover { color: var(--white); }
.footer-col .contact-item { display: flex; gap: var(--s-8); align-items: flex-start; }
.footer-col .contact-item svg { width: 14px; height: 14px; margin-top: 4px; opacity: 0.6; flex-shrink: 0; }

.footer-base {
  padding-top: var(--s-24);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-13);
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
  gap: var(--s-12);
}

/* Footer credit — Algow wordmark, links to algow.net */
.footer-credit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s-12);
  padding: var(--s-24) 0 0;
  margin-top: var(--s-20);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-credit .label {
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color 250ms var(--ease);
}
.footer-credit a {
  display: inline-flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity 300ms var(--ease);
}
.footer-credit a:hover { opacity: 1; }
.footer-credit:hover .label { color: rgba(255, 255, 255, 0.85); }
.footer-credit img {
  height: 22px;
  width: auto;
  display: block;
}
@media (max-width: 540px) {
  .footer-credit { flex-direction: column; gap: var(--s-8); padding-top: var(--s-20); }
  .footer-credit img { height: 20px; }
}

/* Newsletter mini form */
.newsletter {
  display: flex;
  gap: 0;
  margin-top: var(--s-12);
  max-width: 340px;
}
.newsletter input {
  flex: 1;
  padding: var(--s-12);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 0;
  border-radius: var(--r-4) 0 0 var(--r-4);
  color: var(--white);
  font: inherit;
  font-size: var(--fs-14);
  outline: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter input:focus { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }
.newsletter button {
  padding: var(--s-12) var(--s-20);
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  font-size: var(--fs-13);
  letter-spacing: 0.04em;
  border-radius: 0 var(--r-4) var(--r-4) 0;
  transition: background var(--dur) var(--ease);
}
.newsletter button:hover { background: var(--cream-100, #f5efe3); }
.newsletter-feedback {
  font-size: var(--fs-12);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--s-8);
}
.newsletter-feedback.is-success { color: #86efac; }

/* Map embed (iletisim) */
.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  margin-top: var(--s-64);
}
.map-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-6);
  overflow: hidden;
  box-shadow: var(--sh-card);
}
.map-card .label {
  padding: var(--s-16) var(--s-20);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.map-card .label .title {
  font-weight: 700;
  color: var(--ink-900);
  font-size: var(--fs-15);
  display: block;
}
.map-card .label .addr {
  font-size: var(--fs-13);
  color: var(--text-dim);
  display: block;
  margin-top: 2px;
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  filter: grayscale(0.15);
}
@media (max-width: 880px) {
  .maps-grid { grid-template-columns: 1fr; }
  .map-card iframe { height: 260px; }
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-32); margin-bottom: var(--s-32); }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; text-align: center; }
}

/* ---------- 18. SCROLL REVEAL ------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="100"] { transition-delay: 100ms; }
[data-reveal][data-delay="200"] { transition-delay: 200ms; }
[data-reveal][data-delay="300"] { transition-delay: 300ms; }
[data-reveal][data-delay="400"] { transition-delay: 400ms; }

/* Stagger-children: children of a container fade up sequentially
   when the container becomes visible. Up to 9 children supported. */
.stagger-children > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.stagger-children.is-visible > * { opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(1) { transition-delay: 60ms; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 160ms; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 260ms; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 360ms; }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 440ms; }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 520ms; }
.stagger-children.is-visible > *:nth-child(7) { transition-delay: 600ms; }
.stagger-children.is-visible > *:nth-child(8) { transition-delay: 680ms; }
.stagger-children.is-visible > *:nth-child(9) { transition-delay: 760ms; }
.stagger-children.is-visible > *:nth-child(n+10) { transition-delay: 840ms; }

/* ---------- 19. QUOTE SECTION ------------------------------ */
.quote-section {
  padding: 7rem 0;
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: "\201C"; /* opening double quote */
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 18rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  opacity: 0.07;
  pointer-events: none;
}
.quote-section .container { text-align: center; max-width: 880px; position: relative; }
.quote-section blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: var(--s-32);
  font-style: italic;
}
.quote-section cite {
  display: inline-flex;
  align-items: center;
  gap: var(--s-12);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  font-style: normal;
}
.quote-section cite::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--primary);
}

/* ---------- 19b. SECTION WATERMARK (dev soluk rakam) ------- */
.section-head { position: relative; }
.section-watermark {
  position: absolute;
  top: 50%;
  right: -2vw;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 16vw, 16rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--primary);
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}
.section-head > *:not(.section-watermark) { position: relative; z-index: 1; }
@media (max-width: 768px) {
  .section-watermark { font-size: 9rem; right: 0; opacity: 0.05; }
}

/* ---------- 19c. HERO H1 WORD STAGGER ---------------------- */
.hero-content h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroWord 1.05s cubic-bezier(0.2, 0.65, 0.3, 1) both;
}
.hero-content h1 .word:nth-child(1) { animation-delay: 0.55s; }
.hero-content h1 .word:nth-child(2) { animation-delay: 0.68s; }
.hero-content h1 .word:nth-child(3) { animation-delay: 0.82s; }
.hero-content h1 .word:nth-child(4) { animation-delay: 0.95s; }
.hero-content h1 .word:nth-child(5) { animation-delay: 1.08s; }
.hero-content h1 .word:nth-child(6) { animation-delay: 1.2s; }
.hero-content h1 .word:nth-child(7) { animation-delay: 1.32s; }
.hero-content h1 .word.accent {
  color: #E11D2E;          /* parlak ana kırmızı — hero overlay üzerinde okunaklı */
  font-style: italic;
  letter-spacing: 0.005em; /* harfler tam genişlikte görünsün */
}
/* override container fade-up since words handle entrance */
.hero-content h1 { animation: none !important; opacity: 1 !important; transform: none !important; }
@keyframes heroWord {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 19d. ABOUT IMG CORNER BRACKETS ----------------- */
.about-img-wrap {
  position: relative;
  display: block;
}
.about-img-wrap::before,
.about-img-wrap::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  border: 2px solid var(--primary);
  pointer-events: none;
  z-index: 2;
}
.about-img-wrap::before {
  top: -14px;
  left: -14px;
  border-right: 0;
  border-bottom: 0;
}
.about-img-wrap::after {
  bottom: -14px;
  right: -14px;
  border-left: 0;
  border-top: 0;
}

/* ---------- 19e. ACTIVITY CARD ARROW ----------------------- */
.activity-card .body { position: relative; }
.activity-card::after {
  content: "";
  position: absolute;
  bottom: var(--s-16);
  right: var(--s-16);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat,
              linear-gradient(white, white);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat,
        linear-gradient(white, white);
  mask-composite: exclude;
  opacity: 0;
  transform: translateY(8px) scale(0.85);
  transition: opacity 350ms var(--ease), transform 400ms var(--ease);
  height: 0; width: 0; /* shrink until needed - we'll override via a clearer pseudo */
}
/* simpler arrow chip approach */
.activity-card .arrow-chip {
  position: absolute;
  bottom: var(--s-16);
  right: var(--s-16);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: var(--white);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 350ms var(--ease), transform 350ms var(--ease);
}
.activity-card:hover .arrow-chip { opacity: 1; transform: translateY(0); }
.activity-card .arrow-chip svg { width: 16px; height: 16px; }

/* ---------- 19f. SLIDER PROGRESS BAR ----------------------- */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 3;
}
.slider-progress .fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-700), var(--white));
  transition: width 100ms linear;
}

/* ---------- 19g. HERO SCROLL CHEVRON ----------------------- */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-11);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  animation: fadeIn 1.5s var(--ease) 1.8s both;
}
.scroll-hint .chevron {
  width: 22px;
  height: 22px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: chevronBob 1.8s ease-in-out infinite;
  margin-top: -10px;
}
@keyframes chevronBob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
  50%      { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@media (max-width: 768px) { .scroll-hint { display: none; } }

/* ---------- 19h. SUBTLE BODY ATMOSPHERE -------------------- */
body {
  background: linear-gradient(180deg, var(--white) 0%, #FCFAF8 100%);
}

/* ---------- 20. SECTION NUMBER (editorial) ----------------- */
.section-num {
  display: inline-flex;
  align-items: center;
  gap: var(--s-12);
  font-family: var(--font-display);
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--s-12);
}
.section-num .num { font-variant-numeric: tabular-nums; }
.section-num::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--primary);
}

/* ---------- 21. SECTION HAIRLINE DIVIDER ------------------- */
.section + .section,
.cta-banner + .section,
.section + .cta-banner,
.section + .quote-section,
.quote-section + .section {
  border-top: 1px solid var(--gray-200);
}
.section-alt + .section, .section + .section-alt { border-top: 0; }

/* ---------- 22. ACCESSIBILITY ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
