/* ============================================================
   MEDA MODERN PARK — Ana Stil
   Motion: Emil Kowalski prensipleri (150–350ms, ease-out,
   transform/opacity, reveal-once, staggered, reduced-motion).
   Tasarım: KOD16 §1.4 (ölçülü köşeler, 1px çerçeve, antrasit +
   tekil bronz accent, ağır gölge/glassmorphism yok, lineer ikon).
   ============================================================ */

:root {
  /* Easing vocabulary (Emil Kowalski) */
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Palette — warm off-white + anthracite/navy + bronze accent */
  --bg:         #f6f5f1;
  --bg-soft:    #efece4;
  --surface:    #ffffff;
  --ink:        #16202e;   /* antrasit/lacivert */
  --ink-deep:   #0e1620;
  --ink-soft:   #515d6b;
  --ink-mute:   #8b94a0;
  --accent:     #dd5a2a;   /* marka turuncusu — yalnızca CTA & vurgu */
  --accent-deep:#bc4519;
  --accent-soft:#eaa982;
  --line:       rgba(22, 32, 46, 0.12);
  --line-strong:rgba(22, 32, 46, 0.22);

  --maxw: 1240px;
  --r:    8px;
  --r-sm: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--ink);
}

a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
picture { display: contents; }

/* Zengin metin (admin editöründen gelen içerik) */
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 0 0 14px 20px; }
.prose li { margin-bottom: 4px; }
.prose strong, .prose b { font-weight: 600; }
.prose em, .prose i { font-style: italic; }
.prose a { color: var(--accent-deep); text-decoration: underline; }
.prose h3 { font-size: 20px; margin: 0 0 10px; }
.about-text .prose, .project-text .prose, .contact-info .prose { color: var(--ink-soft); margin-bottom: 16px; }
.location-text .prose { color: rgba(255,255,255,0.74); margin-bottom: 30px; max-width: 460px; }
.foot-desc { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 16px; max-width: 300px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

/* ---------- Buttons (KOD16: keskin köşe, accent yalnız CTA) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 180ms var(--ease-out),
              background-color 180ms var(--ease-out),
              border-color 180ms var(--ease-out),
              color 180ms var(--ease-out);
}
.btn .arr { transition: transform 200ms var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn-ink { background: var(--ink); color: #f4efe6; }
.btn-ink:hover { transform: translateY(-2px); background: var(--ink-deep); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-deep); }
.btn-ghost-light { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-ghost-light:hover { transform: translateY(-2px); border-color: #fff; background: rgba(255,255,255,0.10); }

/* ============================================================ NAV */
header.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 20px 0;
  transition: background-color 280ms var(--ease-out),
              padding 280ms var(--ease-out),
              border-color 280ms var(--ease-out),
              box-shadow 280ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
/* KOD16: glassmorphism yok → kaydırınca düz yüzey */
header.nav.scrolled {
  background: var(--surface);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(22,32,46,0.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; display: block; transition: height 280ms var(--ease-out); }
header.nav.scrolled .brand img { height: 38px; }
.brand .logo-dark { display: none; }
header.nav.scrolled .brand .logo-light { display: none; }
header.nav.scrolled .brand .logo-dark { display: block; }
.nav:not(.scrolled) .brand .logo-light { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.32)); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: #fff; position: relative; padding: 4px 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: color 180ms var(--ease-out);
}
header.nav.scrolled .nav-links a { color: var(--ink); text-shadow: none; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 240ms var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
/* Mobil açılır menü: beyaz panel üzerinde koyu metin */
.nav-links.open a { color: var(--ink); text-shadow: none; width: 100%; }
.nav-cta { padding: 11px 22px; }

/* Dil değiştirici (TR | EN) */
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; }
.lang-switch a { color: #fff; opacity: 0.65; padding: 3px 7px; text-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: opacity 180ms var(--ease-out), color 180ms var(--ease-out); }
.lang-switch a:first-child { border-right: 1px solid rgba(255,255,255,0.35); }
.lang-switch a:hover { opacity: 1; }
.lang-switch a.active { opacity: 1; color: var(--accent-soft); }
header.nav.scrolled .lang-switch a { color: var(--ink); text-shadow: none; }
header.nav.scrolled .lang-switch a:first-child { border-right-color: var(--line-strong); }
header.nav.scrolled .lang-switch a.active { color: var(--accent-deep); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; color: #fff; width: 30px; height: 30px; }
header.nav.scrolled .menu-toggle { color: var(--ink); }
.menu-toggle svg { width: 24px; height: 24px; }

/* ============================================================ HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.06); will-change: transform;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,22,32,0.50) 0%, rgba(14,22,32,0.22) 40%, rgba(14,22,32,0.85) 100%),
    radial-gradient(120% 80% at 78% 12%, rgba(0,0,0,0) 40%, rgba(14,22,32,0.5) 100%);
}
.hero-content { padding-top: 96px; max-width: 820px; color: #fff; }
.hero .eyebrow { color: var(--accent-soft); }
.hero .eyebrow::before { background: var(--accent-soft); }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); margin: 22px 0 20px; color: #fff; }
.hero h1 em { font-style: italic; color: var(--accent-soft); }
.hero p { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,0.9); max-width: 600px; font-weight: 400; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.hero-stats { position: absolute; bottom: 40px; left: 0; right: 0; z-index: 1; }
.hero-stats .wrap { display: flex; gap: 48px; flex-wrap: wrap; padding-top: 22px; }
.hstat .n { font-family: 'Montserrat', serif; font-size: 36px; color: #fff; line-height: 1; font-weight: 600; }
.hstat .n b { color: var(--accent-soft); font-weight: 600; }
.hstat .l { font-size: 12px; color: rgba(255,255,255,0.74); letter-spacing: 0.05em; margin-top: 7px; }

.scroll-cue {
  position: absolute; bottom: 0; right: 32px; writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); padding-bottom: 128px;
}
.scroll-cue::after {
  content: ""; display: block; width: 1px; height: 60px; margin-top: 14px;
  background: linear-gradient(var(--accent-soft), transparent);
  animation: cue 2.4s var(--ease-in-out) infinite; transform-origin: top;
}
@keyframes cue { 0%,100% { transform: scaleY(0.3); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============================================================ REELS (sosyal medya) */
.reels { background: var(--ink); color: #fff; padding: 70px 0 76px; overflow: hidden; }
.reels .eyebrow { color: var(--accent-soft); justify-content: center; }
.reels .eyebrow::before { background: var(--accent-soft); }
.reels-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 36px; }
.reels-head h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); }
.reels-handle { color: var(--accent-soft); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.reels-handle .arr { transition: transform 200ms var(--ease-out); }
.reels-handle:hover .arr { transform: translateX(4px); }

.reels-marquee {
  position: relative; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
/* Hazır embed (SociableKIT vb.) konteyneri */
.reels-embed { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; min-height: 360px; }
.reels-embed iframe { width: 100% !important; border: 0; }

.reels-track { display: flex; align-items: flex-start; width: max-content; animation: reel-scroll 56s linear infinite; }
.reels-marquee:hover .reels-track { animation-play-state: paused; }
@keyframes reel-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Görsel tam boyutuyla (kırpılmadan), yazı görselin ALTINDA */
.reel-card {
  flex: 0 0 auto; width: 260px; margin-right: 16px;
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r); overflow: hidden;
  background: var(--ink-deep);
  transition: border-color 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.reel-card:hover { border-color: rgba(255,255,255,0.30); transform: translateY(-3px); }
.reel-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #0b121c; }
.reel-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 500ms var(--ease-out); }
.reel-card:hover .reel-media img { transform: scale(1.04); }
.reel-play {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,0.5); display: grid; place-items: center; color: #fff;
}
.reel-play svg { width: 16px; height: 16px; }
.reel-cap {
  padding: 11px 13px 14px; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,0.82);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.45em * 3 + 25px); /* 3 satır + padding → tüm kartlar eşit yükseklik */
}
@media (prefers-reduced-motion: reduce) {
  .reels-track { animation: none; }
  .reels-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ============================================================ SECTION SHELL */
section { padding: 116px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); margin: 18px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ============================================================ ABOUT (Kurumsal) */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.about-text h2 { font-size: clamp(32px, 4.2vw, 52px); margin: 18px 0 22px; }
.about-text > p { color: var(--ink-soft); margin-bottom: 16px; }
.about-features { list-style: none; margin-top: 30px; display: grid; gap: 18px; }
.about-features li { display: flex; gap: 16px; align-items: flex-start; }
.about-features .tick {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--r-sm);
  border: 1px solid var(--accent); color: var(--accent-deep);
  display: grid; place-items: center;
}
.about-features .tick svg { width: 18px; height: 18px; }
.about-features strong { font-weight: 600; color: var(--ink); display: block; font-size: 15px; }
.about-features span.d { font-size: 14px; color: var(--ink-mute); }

.about-visual { position: relative; }
.about-figure { position: relative; }
.about-visual img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.about-badge {
  position: absolute; left: -26px; bottom: 36px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 24px; box-shadow: 0 14px 36px rgba(22,32,46,0.12);
}
.about-badge .n { font-family: 'Montserrat', serif; font-size: 40px; color: var(--accent-deep); line-height: 1; font-weight: 600; }
.about-badge .l { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.04em; margin-top: 4px; }
.about-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  padding: 13px 26px; border-radius: var(--r-sm);
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.about-cta:hover { transform: translateY(-2px); background: var(--accent-deep); border-color: var(--accent-deep); }
.about-cta .arr { transition: transform 200ms var(--ease-out); }
.about-cta:hover .arr { transform: translateX(4px); }

/* ============================================================ PROJECT INTRO */
.project { background: var(--bg); }
.project-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: center; }
.project-visual img { width: 100%; height: 540px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.project-text h2 { font-size: clamp(32px, 4.2vw, 52px); margin: 18px 0 22px; }
.project-text p { color: var(--ink-soft); margin-bottom: 16px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.project-tags span { font-size: 12px; letter-spacing: 0.04em; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 100px; padding: 8px 16px; }

/* ============================================================ LOCATION */
.location { background: var(--ink); color: #fff; }
.location .eyebrow { color: var(--accent-soft); }
.location .eyebrow::before { background: var(--accent-soft); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.location-text h2 { color: #fff; font-size: clamp(32px, 4.2vw, 52px); margin: 18px 0 20px; }
.location-text > p { color: rgba(255,255,255,0.74); margin-bottom: 30px; max-width: 460px; }
.loc-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 30px; }
.loc-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.loc-list .lname { font-size: 14.5px; color: rgba(255,255,255,0.88); }
.loc-list .lmin { font-family: 'Montserrat', serif; font-size: 22px; font-weight: 600; color: var(--accent-soft); white-space: nowrap; }
.loc-list .lmin small { font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); margin-left: 3px; font-family: 'Montserrat',sans-serif; }
.location-visual img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--r); border: 1px solid rgba(255,255,255,0.14); }
.location-visual { position: relative; }
.loc-pin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 18px; height: 18px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 6px rgba(221,90,42,0.3), 0 0 0 14px rgba(221,90,42,0.14);
  animation: pin 2.4s var(--ease-in-out) infinite;
}
@keyframes pin { 0%,100% { box-shadow: 0 0 0 6px rgba(221,90,42,0.3), 0 0 0 14px rgba(221,90,42,0.14); } 50% { box-shadow: 0 0 0 8px rgba(221,90,42,0.22), 0 0 0 20px rgba(221,90,42,0.06); } }

/* ============================================================ APARTMENT TYPES */
.types { background: var(--surface); }
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.type-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.type-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 22px 48px rgba(22,32,46,0.13); }
.type-media { position: relative; aspect-ratio: 4/3; background: var(--bg-soft); overflow: hidden; display: grid; place-items: center; }
.type-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform 500ms var(--ease-out); }
.type-card:hover .type-media img { transform: scale(1.04); }
.type-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  padding: 6px 13px; border-radius: var(--r-sm); background: var(--ink); color: #fff;
}
.type-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.type-block { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; }
.type-body h3 { font-size: 26px; margin: 8px 0 14px; }
.type-areas { display: flex; gap: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 14px; }
.type-areas .a .v { font-family: 'Montserrat', serif; font-size: 24px; font-weight: 600; color: var(--ink); line-height: 1; }
.type-areas .a .k { font-size: 11px; color: var(--ink-mute); letter-spacing: 0.04em; margin-top: 5px; }
.type-rooms { list-style: none; display: grid; gap: 7px; margin-bottom: 18px; }
.type-rooms li { font-size: 13px; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 12px; }
.type-rooms li span { color: var(--ink-mute); }
.type-cta { margin-top: auto; }
.type-cta a { font-size: 13px; font-weight: 500; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 8px; }
.type-cta a .arr { transition: transform 200ms var(--ease-out); }
.type-cta a:hover .arr { transform: translateX(4px); }

/* ============================================================ BLOCKS */
.blocks { background: var(--bg); }
.blocks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.block-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.block-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.block-card .bk { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; }
.block-card h3 { font-size: 30px; margin: 8px 0 18px; }
.block-units { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.block-units .n { font-family: 'Montserrat', serif; font-size: 54px; font-weight: 600; color: var(--ink); line-height: 0.9; }
.block-units .t { font-size: 13px; color: var(--ink-mute); }
.block-meta { list-style: none; display: grid; gap: 9px; padding-top: 16px; border-top: 1px solid var(--line); }
.block-meta li { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 10px; align-items: center; }
.block-meta li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.blocks-total { text-align: center; margin-top: 40px; font-size: 15px; color: var(--ink-soft); }
.blocks-total b { font-family: 'Montserrat', serif; font-size: 22px; color: var(--ink); }

/* ============================================================ AMENITIES */
.amenities { background: var(--surface); }
.amen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.amen-card {
  border: 1px solid var(--line); border-radius: var(--r); padding: 32px 26px;
  background: var(--surface);
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), background-color 220ms var(--ease-out);
}
.amen-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--bg); }
.amen-ic {
  width: 52px; height: 52px; border-radius: var(--r-sm); border: 1px solid var(--accent);
  color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 20px;
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out);
}
.amen-card:hover .amen-ic { background: var(--accent); color: #fff; }
.amen-ic svg { width: 26px; height: 26px; }
.amen-card h3 { font-size: 21px; margin-bottom: 10px; }
.amen-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ============================================================ GALLERY */
.gallery-sec { background: var(--bg); }
.gal-filter { display: flex; gap: 8px; margin-bottom: 34px; flex-wrap: wrap; }
.gal-filter button {
  background: var(--surface); border: 1px solid var(--line); cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 500; color: var(--ink-soft);
  padding: 9px 20px; border-radius: 100px;
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.gal-filter button:hover { border-color: var(--line-strong); color: var(--ink); }
.gal-filter button.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure {
  position: relative; overflow: hidden; border-radius: var(--r); cursor: pointer;
  aspect-ratio: 4/3; border: 1px solid var(--line); background: var(--bg-soft);
}
.gallery figure.tall { grid-row: span 2; aspect-ratio: 4/5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px;
  font-size: 12px; color: #fff; letter-spacing: 0.03em;
  background: linear-gradient(transparent, rgba(14,22,32,0.72));
  opacity: 0; transform: translateY(6px);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.gallery figure::after {
  content: ""; position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2316202e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center/14px no-repeat;
  opacity: 0; transform: scale(0.8);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.gallery figure:hover::after { opacity: 1; transform: scale(1); }

/* ============================================================ CONTACT */
.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-info h2 { font-size: clamp(32px, 4.2vw, 52px); margin: 18px 0 20px; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 34px; max-width: 430px; }
.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent-deep); background: var(--bg); }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list .k { font-size: 11px; color: var(--ink-mute); letter-spacing: 0.07em; text-transform: uppercase; }
.contact-list .v { font-size: 16px; color: var(--ink); margin-top: 3px; }
.contact-list a.v:hover { color: var(--accent-deep); }

form.contact-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 40px; }
.map-embed { margin-top: 44px; height: 420px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.04em; color: var(--ink-soft); margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; color: var(--ink); font-family: inherit; font-size: 15px;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(221,90,42,0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12px; color: var(--ink-mute); margin-top: 14px; text-align: center; }
.alert { padding: 13px 17px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 18px; animation: enter 280ms var(--ease-out) both; }
.alert-ok { background: rgba(79,157,127,0.12); border: 1px solid #4f9d7f; color: #2f6b54; }
.alert-err { background: rgba(214,90,90,0.10); border: 1px solid #d65a5a; color: #a23b3b; }

/* ============================================================ FOOTER */
footer.site { background: var(--ink-deep); color: rgba(255,255,255,0.7); padding: 66px 0 34px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.foot-brand { display: flex; align-items: center; }
.foot-brand img { height: 56px; width: auto; }
.foot-top > div > p { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 16px; max-width: 300px; }
.foot-links { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h4 { font-family: 'Montserrat', sans-serif; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 16px; font-weight: 600; }
.foot-col a, .foot-col span.fl { display: block; font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 10px; transition: color 180ms var(--ease-out); }
.foot-col a:hover { color: var(--accent-soft); }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 12px; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 10px; }
.foot-sign a { color: rgba(255,255,255,0.62); transition: color 180ms var(--ease-out); }
.foot-sign a:hover { color: var(--accent-soft); }

/* ============================================================ LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(14,22,32,0.86); padding: 32px; }
.lightbox.open { display: flex; animation: lb-bg 220ms var(--ease-out) both; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: var(--r); animation: lb-img 260ms var(--ease-out) both; }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out); }
.lb-btn:hover { transform: scale(1.06); background: rgba(255,255,255,0.16); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 22px; right: 26px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }
@keyframes lb-bg { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-img { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* ============================================================ DAİRE GALERİSİ POPUP */
.type-card.has-gallery { cursor: pointer; }
.type-zoom {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 10px; border-radius: 100px;
  background: rgba(14,22,32,0.55); color: #fff; backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(-4px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.type-card:hover .type-zoom, .type-card:focus-visible .type-zoom { opacity: 1; transform: none; }
.type-zoom svg { width: 17px; height: 17px; }
.type-zoom b { font-size: 12px; font-weight: 600; }

.apx { position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center; background: rgba(14,22,32,0.9); padding: 32px; }
.apx.open { display: flex; animation: lb-bg 220ms var(--ease-out) both; }
.apx-stage { max-width: min(1100px, 92vw); display: flex; align-items: center; justify-content: center; }
.apx-stage img { max-width: 100%; max-height: 84vh; border-radius: var(--r); animation: lb-img 260ms var(--ease-out) both; }
.apx-close { position: absolute; top: 22px; right: 26px; }
.apx-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.apx-prev { left: 22px; } .apx-next { right: 22px; }
.apx-prev:hover, .apx-next:hover { transform: translateY(-50%) scale(1.06); }
.apx-close, .apx-nav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out); }
.apx-close:hover { transform: scale(1.06); background: rgba(255,255,255,0.16); }
.apx-nav:hover { background: rgba(255,255,255,0.16); }
.apx-close svg, .apx-nav svg { width: 22px; height: 22px; }
.apx-bar { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; color: rgba(255,255,255,0.9); pointer-events: none; }
.apx-title { font-size: 14px; font-weight: 600; }
.apx-count { font-size: 12px; color: rgba(255,255,255,0.6); }
@media (max-width: 640px) {
  .apx { padding: 16px; }
  .apx-close { top: 14px; right: 14px; }
  .apx-prev { left: 8px; } .apx-next { right: 8px; }
}

/* ============================================================ REVEAL (Emil Kowalski: once, staggered) */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); }
[data-delay="1"] { transition-delay: 60ms; }
[data-delay="2"] { transition-delay: 120ms; }
[data-delay="3"] { transition-delay: 180ms; }
[data-delay="4"] { transition-delay: 240ms; }
[data-delay="5"] { transition-delay: 300ms; }

@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================ RESPONSIVE */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .about-grid, .project-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .project-grid .project-visual { order: -1; }
  .types-grid, .blocks-grid { grid-template-columns: 1fr 1fr; }
  .amen-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery figure.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .about-visual img, .project-visual img { height: 440px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section { padding: 78px 0; }
  .types-grid, .blocks-grid, .amen-grid, .field-row, .loc-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero-stats { display: none; }
  .scroll-cue { display: none; }
  .hero-content { padding-top: 110px; }
  .about-badge { left: 12px; right: 12px; bottom: 12px; }
  form.contact-form { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cookie-bar { transition: none; }
}

/* ============================================================ YASAL SAYFA (KVKK) */
.page-legal { background: var(--bg); }
.legal-page { padding: 124px 0 90px; min-height: 72vh; }
.legal-wrap { max-width: 880px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent-deep); margin-bottom: 22px; transition: color 180ms var(--ease-out); }
.legal-back:hover { color: var(--accent); }
.legal-head { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 34px; }
.legal-head h1 { font-size: clamp(27px, 4vw, 40px); line-height: 1.16; color: var(--ink); letter-spacing: -0.01em; }
.legal-meta { font-size: 13px; color: var(--ink-mute); margin-top: 12px; }
.legal-body { color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.legal-body h3 { font-size: 19px; color: var(--ink); margin: 30px 0 12px; font-weight: 600; }
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--accent-deep); text-decoration: underline; }

/* İletişim formu — KVKK bilgilendirme & uyarı */
.form-kvkk { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 12px; line-height: 1.55; color: var(--ink-soft); }
.form-kvkk .kvkk-ic { flex: 0 0 auto; color: var(--accent-deep); margin-top: 1px; }
.form-kvkk .kvkk-ic svg { width: 16px; height: 16px; display: block; }
.form-kvkk a { color: var(--accent-deep); text-decoration: underline; font-weight: 600; }

/* Footer yasal link */
.foot-legal { color: rgba(255,255,255,0.6) !important; text-decoration: underline; }
.foot-legal:hover { color: var(--accent-soft) !important; }

/* ============================================================ ÇEREZ BİLDİRİMİ (Cookie Bar) */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  padding: 16px;
  transform: translateY(130%);
  transition: transform 460ms var(--ease-out);
  pointer-events: none;
}
.cookie-bar.show { transform: translateY(0); pointer-events: auto; }
.cookie-inner {
  max-width: 920px; margin: 0 auto;
  background: var(--ink-deep); color: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(14,22,32,0.35);
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cookie-text { font-size: 13px; line-height: 1.55; flex: 1 1 360px; }
.cookie-text strong { display: block; font-size: 14px; color: #fff; margin-bottom: 3px; font-weight: 600; }
.cookie-text a { color: var(--accent-soft); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.ck-btn { font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: var(--r-sm); padding: 10px 20px; border: 1px solid transparent; transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out); }
.ck-accept { background: var(--accent); color: #fff; }
.ck-accept:hover { background: var(--accent-deep); transform: translateY(-1px); }
.ck-reject { background: transparent; color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.28); }
.ck-reject:hover { color: #fff; border-color: rgba(255,255,255,0.55); }

@media (max-width: 560px) {
  .cookie-bar { padding: 10px; }
  .cookie-inner { padding: 16px; gap: 14px; border-radius: 14px; }
  .cookie-actions { width: 100%; }
  .ck-btn { flex: 1 1 0; padding: 12px 16px; }
}
