/* =====================================================================
   MUYAN İNŞAAT — ÖN YÜZ
   Açık zemin, geniş boşluk, güçlü ızgara. Mimarlık ofisi hissi.

   Dış kaynak yok: yazı tipi, simge, betik hepsi kendi sunucumuzdan.
   Sayfa hızı doğrudan arama sıralamasını etkiliyor.

   Renkler ayarlardan geliyor (layout.php içinde :root'a basılıyor).
   ===================================================================== */

:root {
    /* Panelden değiştirilebilen renkler — burada yalnızca yedek değer */
    --brand:        #1b4332;
    --accent:       #b08d2e;

    --ink:          #16181c;
    --ink-2:        #3d434d;
    --ink-3:        #6b7280;
    --ink-4:        #9aa1ab;

    --paper:        #ffffff;
    --paper-2:      #faf9f6;
    --paper-3:      #f2f1ec;
    --line:         #e5e3dc;
    --line-2:       #efeee8;

    /* Köşeler 3px'ti — mimari ama sert duruyordu. Yumuşatıldı;
       yuvarlaklık ölçülü tutuldu ki inşaat firması ciddiyeti kalsın. */
    --radius-sm:    7px;
    --radius:       11px;
    --radius-lg:    18px;
    --radius-xl:    26px;

    /* Gölgeler tek katman değil: yakın gölge nesneyi zeminden ayırıyor,
       uzak gölge derinlik veriyor. Premium hissin büyük kısmı burada. */
    --shadow-1: 0 1px 2px rgba(20,22,26,.04), 0 6px 18px rgba(20,22,26,.05);
    --shadow-2: 0 2px 6px rgba(20,22,26,.05), 0 14px 38px rgba(20,22,26,.08);
    --shadow-3: 0 6px 16px rgba(20,22,26,.07), 0 28px 68px rgba(20,22,26,.12);

    --gutter:       clamp(20px, 5vw, 64px);
    --section:      clamp(58px, 8vw, 112px);
    --max:          1320px;
    --max-text:     760px;

    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;

    --ease: cubic-bezier(.22, .61, .36, 1);
    /* Yavaş çıkışlı eğri: büyük hareketler (slayt, kart kalkışı) bununla
       "durdu" değil "yerleşti" hissi veriyor. */
    --ease-soft: cubic-bezier(.16, .84, .44, 1);

    /* Saydam başlığın yüksekliği — hero bu kadar yukarı çekiliyor. */
    --header-h: 82px;
}

@media (max-width: 1040px) {
    :root { --header-h: 66px; }
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.15;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}

/* ---------------------------------------------------------------------
   DÜZEN
   --------------------------------------------------------------------- */

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.wrap-narrow { max-width: var(--max-text); margin: 0 auto; }

.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-paper { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #fff; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 12px 20px;
    z-index: 200;
}

.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------------
   BÖLÜM BAŞLIKLARI
   --------------------------------------------------------------------- */

.eyebrow {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.eyebrow::before {
    content: '';
    width: 26px;
    height: 1px;
    background: currentColor;
    flex: none;
}

.section-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px 40px;
    align-items: end;
    margin-bottom: clamp(28px, 4vw, 52px);
}

.section-head h2 {
    font-size: clamp(27px, 3.6vw, 44px);
    max-width: 18ch;
}

.section-head p {
    color: var(--ink-3);
    max-width: 52ch;
    margin: 12px 0 0;
    font-size: 16.5px;
}

@media (max-width: 720px) {
    .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ---------------------------------------------------------------------
   DÜĞMELER
   --------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background .18s var(--ease), color .18s var(--ease),
                border-color .18s var(--ease), transform .18s var(--ease);
    white-space: nowrap;
}

.btn svg { width: 15px; height: 15px; stroke-width: 2; flex: none; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--brand); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(1.08); }

.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-light:hover { background: #fff; color: var(--ink); }

.btn-lg { padding: 16px 34px; font-size: 15px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* Ok animasyonlu metin bağlantısı */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 5px;
    transition: border-color .18s var(--ease), gap .18s var(--ease);
}

.link-arrow:hover { border-color: var(--ink); gap: 14px; }
.link-arrow svg { width: 15px; height: 15px; stroke-width: 2; }

/* ---------------------------------------------------------------------
   ÜST BAR ve MENÜ
   --------------------------------------------------------------------- */

.topbar {
    background: var(--ink);
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.topbar .wrap {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 40px;
}

.topbar a { color: inherit; transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar .spacer { flex: 1; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 14px; height: 14px; stroke-width: 1.8; opacity: .75; }

@media (max-width: 860px) { .topbar { display: none; } }

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255,255,255,.88);
    backdrop-filter: saturate(170%) blur(16px);
    border-bottom: 1px solid var(--line-2);
    transition: background .35s var(--ease-soft), box-shadow .3s var(--ease-soft),
                border-color .35s var(--ease-soft), height .3s var(--ease-soft);
}

.site-header.scrolled { box-shadow: var(--shadow-1); }

.site-header .wrap {
    display: flex;
    align-items: center;
    gap: 26px;
    height: 82px;
    transition: height .3s var(--ease-soft);
}

.site-header.scrolled .wrap { height: 70px; }

/* ---------------------------------------------------------------------
   HERO ÜZERİNDE SAYDAM BAŞLIK

   Slayt görselinin üstüne binen başlık, sayfanın tepesini bir "kapak"
   gibi gösteriyor; çerçeve hissi kalkıyor. Sayfa kaydırılınca beyaza
   dönüyor, çünkü açık zemin üzerinde beyaz yazı okunmaz.

   Sınıfı JS değil sunucu basıyor: JS bassaydı sayfa önce beyaz başlıkla
   çizilir, sonra saydama geçerdi — her açılışta bir sıçrama.
   --------------------------------------------------------------------- */

.site-header.over-hero {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}

/* Üstten aşağı inen ince karartma: görsel açık renkliyse bile
   menü yazıları okunur kalsın. */
.site-header.over-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    bottom: -40px;
    background: linear-gradient(to bottom, rgba(12,14,17,.5), rgba(12,14,17,0));
    pointer-events: none;
    z-index: -1;
}

/*
 * Yalnızca ÜST SEVİYE bağlantılar beyaz olmalı.
 *
 * İlk sürümde ".nav a" yazılmıştı; bu seçici açılır menüdeki
 * bağlantıları da kapsıyordu. Açılır menünün zemini beyaz olduğu için
 * alt menü yazıları beyaz zemin üzerinde beyaz kalıyor, görünmüyordu —
 * kutu boş sanılıyordu. "> li > a" ile yalnızca menü çubuğundakiler seçiliyor.
 */
.site-header.over-hero .nav > li > a,
.site-header.over-hero .brand-text { color: #fff; }

.site-header.over-hero .brand-text span { color: rgba(255,255,255,.66); }
.site-header.over-hero .nav > li > a:hover { color: #fff; }
.site-header.over-hero .nav > li.current > a { color: #fff; }

/* Açılır menü her durumda koyu yazılı beyaz kart. */
.nav ul a { color: var(--ink-2); }
.nav ul a:hover { color: var(--ink); }
.nav ul li.current > a { color: var(--ink); font-weight: 600; }
.site-header.over-hero .burger { color: #fff; border-color: rgba(255,255,255,.35); }

/* Saydamken koyu dolgu okunmuyor; açık çerçeveli düğmeye geçiyor. */
.site-header.over-hero .header-cta {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.4);
    color: #fff;
    backdrop-filter: blur(6px);
}

.site-header.over-hero .header-cta:hover { background: #fff; color: var(--ink); }

/* Saydam başlık sayfanın üstünde durduğu için hero onun altından
   başlamalı; aksi halde ilk slaytın yazısı menünün altında kalıyor. */
body.has-hero .hero { margin-top: calc(-1 * var(--header-h, 82px)); }
body.has-hero .hero .hero-content { padding-top: calc(var(--header-h, 82px) + clamp(40px, 7vw, 90px)); }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { max-height: 42px; width: auto; }
/* Açık zemin logosu normalde; slayt üstündeki saydam başlıkta koyu zemin logosu. */
.brand .brand-on-dark { display: none; }
.site-header.over-hero .brand .brand-on-light { display: none; }
.site-header.over-hero .brand .brand-on-dark  { display: block; }
@media (max-width: 420px) { .brand img { max-height: 34px; } }

.brand-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.1;
}

.brand-text span {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .2em;
    color: var(--ink-4);
    margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }

.nav > li { position: relative; list-style: none; }

.nav a {
    display: block;
    padding: 10px 14px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-2);
    transition: color .15s;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s var(--ease);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav li.current > a::after { transform: scaleX(1); }
.nav li.current > a { color: var(--ink); font-weight: 600; }

.nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 218px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-3);
    padding: 7px;
    margin: 6px 0 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease-soft), transform .25s var(--ease-soft), visibility .25s;
}

/* Menü ile açılır kutu arasındaki 6px boşlukta fare kaçmasın. */
.nav ul::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }

.nav li:hover > ul, .nav li:focus-within > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav ul a { padding: 9px 12px; border-radius: var(--radius); font-size: 14px; }
.nav ul a::after { display: none; }
.nav ul a:hover { background: var(--paper-3); }

.header-cta { flex: none; margin-left: 6px; }

.burger {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 9px 11px;
    cursor: pointer;
    margin-left: auto;
    color: var(--ink);
}

.burger svg { width: 20px; height: 20px; stroke-width: 1.8; }

@media (max-width: 1040px) {
    .nav, .header-cta { display: none; }
    .burger { display: block; }
    .site-header .wrap { height: 66px; }
}

/* Mobil menü */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 120;
    padding: 22px var(--gutter) 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .28s var(--ease);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-2);
}

.mobile-nav ul { list-style: none; margin: 0; padding: 0; }

.mobile-nav > ul > li > a {
    display: block;
    padding: 15px 0;
    font-size: 19px;
    font-weight: 600;
    border-bottom: 1px solid var(--line-2);
}

.mobile-nav ul ul { padding-left: 16px; }
.mobile-nav ul ul a { font-size: 15.5px; font-weight: 500; padding: 11px 0; color: var(--ink-3); }

/* ---------------------------------------------------------------------
   HERO / SLAYT

   Eski sürümde slaytlar yalnızca solarak değişiyordu ve otomatik geçiş
   pratikte hiç çalışmıyordu: fare hero'nun üstüne geldiğinde duruyordu,
   hero da ekranın tamamını kapladığı için imleç neredeyse her zaman
   onun üstündeydi. Kullanıcı açısından "slayt geçmiyor" demekti.

   Yeni kurgu:
     - Yatay kayma + hafif yakınlaşma (Ken Burns) ile yönlü geçiş
     - Otomatik akış; yalnızca kontrollerin üstünde duruyor
     - Altta küçük resim şeridi: bir sonraki slayt görünüyor
     - Süre çubuğu: bir sonraki geçişin ne zaman olacağı belli
   --------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: min(88vh, 860px);
    display: grid;
    background: var(--ink);
    overflow: hidden;
}

.hero-slide {
    grid-area: 1 / 1;
    position: relative;
    display: grid;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    /* Görünür slayt üstte kalsın; geçiş sırasında çıkan slayt altta. */
    z-index: 1;
}

/* Izgara öğesi "margin: auto" ile içeriği kadar daralıyordu; metin
   üst menünün hizasından içeride başlıyordu. Tam genişlik + max-width
   ile logo ve menüyle aynı çizgiye oturuyor. */
.hero-slide > .wrap { width: 100%; }

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* <picture> kutu üretmesin: içindeki <img> doğrudan kapsayıcının
   çocuğu gibi yerleşsin (object-fit ve %100 ölçüler aynen çalışsın). */
picture { display: contents; }

.hero-slide > picture > img, .hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Duran görsel donuk duruyor; çok yavaş bir yakınlaşma sahneyi
       canlı tutuyor. Fark edilmesi değil, hissedilmesi gereken bir hareket. */
    transform: scale(1.06);
    transition: transform 7s linear;
}

.hero-slide.active img { transform: scale(1); }

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(12,14,17,var(--overlay, .5)) 0%,
            rgba(12,14,17,calc(var(--overlay, .5) * .5)) 58%,
            rgba(12,14,17,calc(var(--overlay, .5) * .18)) 100%),
        /* Alt kenar: küçük resim şeridi ve süre çubuğu okunur kalsın */
        linear-gradient(to top, rgba(12,14,17,.6) 0%, rgba(12,14,17,0) 34%);
}

/* --- Yönlü geçiş --------------------------------------------------- */

.hero[data-dir="next"] .hero-slide.active { animation: slide-in-right .85s var(--ease-soft) both; }
.hero[data-dir="prev"] .hero-slide.active { animation: slide-in-left  .85s var(--ease-soft) both; }
.hero[data-dir="next"] .hero-slide.leaving { animation: slide-out-left  .85s var(--ease-soft) both; }
.hero[data-dir="prev"] .hero-slide.leaving { animation: slide-out-right .85s var(--ease-soft) both; }

.hero-slide.leaving { opacity: 1; z-index: 1; pointer-events: none; }

@keyframes slide-in-right {
    from { opacity: 0; transform: translateX(6%); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-left {
    from { opacity: 0; transform: translateX(-6%); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slide-out-left {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(-4%); }
}

@keyframes slide-out-right {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(4%); }
}

/* --- Yazı alanı ---------------------------------------------------- */

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-block: clamp(70px, 12vw, 130px);
    padding-bottom: clamp(150px, 17vw, 210px);   /* şeride yer bırak */
    max-width: 700px;
}

.hero-slide[data-pos="center"] .hero-content { margin-inline: auto; text-align: center; }
.hero-slide[data-pos="center"] .eyebrow { justify-content: center; }
.hero-slide[data-pos="right"] .hero-content { margin-left: auto; }

.hero-content .eyebrow { color: rgba(255,255,255,.82); }

.hero-content h1, .hero-content .h1 {
    font-size: clamp(34px, 5.6vw, 66px);
    line-height: 1.04;
    letter-spacing: -.03em;
    margin-bottom: 20px;
    text-shadow: 0 2px 30px rgba(0,0,0,.3);
}

.hero-content p {
    font-size: clamp(15.5px, 1.7vw, 18.5px);
    color: rgba(255,255,255,.9);
    max-width: 52ch;
    margin-bottom: 32px;
    text-shadow: 0 1px 16px rgba(0,0,0,.3);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-slide[data-pos="center"] .hero-actions { justify-content: center; }

/* Yazı da slaytla birlikte gelsin — görselden bir tık gecikmeli,
   böylece göz önce sahneyi sonra mesajı alıyor. */
.hero-slide.active .hero-content > * {
    animation: hero-rise .8s var(--ease-soft) both;
}

.hero-slide.active .hero-content > *:nth-child(1) { animation-delay: .12s; }
.hero-slide.active .hero-content > *:nth-child(2) { animation-delay: .2s; }
.hero-slide.active .hero-content > *:nth-child(3) { animation-delay: .28s; }
.hero-slide.active .hero-content > *:nth-child(4) { animation-delay: .36s; }

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Alt sekme menüsü ---------------------------------------------- */

.hero-rail {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding-bottom: clamp(20px, 2.6vw, 34px);
}

.hero-rail .wrap {
    display: flex;
    align-items: stretch;
    gap: clamp(10px, 1.4vw, 18px);
}

/* Cam panel: slaytın üstünde yüzen bir katman gibi duruyor.
   Premium hissin büyük kısmı bu katmanlı derinlikten geliyor. */
.hero-tabs {
    display: flex;
    gap: 4px;
    flex: 1;
    min-width: 0;
    padding: 6px;
    border-radius: var(--radius-lg);
    background: rgba(18,20,24,.4);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.hero-tabs::-webkit-scrollbar { display: none; }

.hero-tab {
    position: relative;
    flex: 1 1 0;
    min-width: 132px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px 12px;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: rgba(255,255,255,.72);
    cursor: pointer;
    text-align: left;
    font: inherit;
    overflow: hidden;
    transition: background .35s var(--ease-soft), color .35s var(--ease-soft),
                transform .35s var(--ease-soft);
}

/* İstenen davranış: üstüne gelince büyüyor. */
.hero-tab:hover, .hero-tab:focus-visible {
    background: rgba(255,255,255,.12);
    color: #fff;
    transform: translateY(-4px);
    outline: none;
}

.hero-tab.active {
    background: rgba(255,255,255,.16);
    color: #fff;
}

.hero-tab .thumb {
    flex: none;
    width: 52px;
    height: 38px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,.1);
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.hero-tab .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease-soft);
}

.hero-tab:hover .thumb img, .hero-tab.active .thumb img { transform: scale(1.12); }

.hero-tab .txt { min-width: 0; display: block; }

.hero-tab .num {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    opacity: .6;
    margin-bottom: 2px;
}

.hero-tab .ttl {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Etkin sekmenin altındaki süre çubuğu: sıradaki geçişe ne kadar kaldı. */
.hero-tab .bar {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255,255,255,.18);
    overflow: hidden;
    opacity: 0;
    transition: opacity .3s;
}

.hero-tab.active .bar { opacity: 1; }

.hero-tab .bar i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--accent);
    border-radius: 2px;
}

.hero-tab.active.running .bar i { animation: hero-timer linear forwards; }

@keyframes hero-timer {
    from { width: 0; }
    to   { width: 100%; }
}

/* Oklar */
.hero-rail-side {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.hero-arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(18,20,24,.4);
    backdrop-filter: blur(18px) saturate(150%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    transition: background .28s var(--ease-soft), color .28s var(--ease-soft),
                transform .28s var(--ease-soft), border-color .28s var(--ease-soft);
}

.hero-arrow:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
    transform: translateY(-3px) scale(1.05);
}

.hero-arrow svg { width: 17px; height: 17px; stroke-width: 2; }

/* Tek bir ok simgesi var; geri düğmesi onu çeviriyor. */
.hero-arrow[data-hero="prev"] svg { transform: rotate(180deg); }

@media (max-width: 900px) {
    /* Dar ekranda sekmeler sığmıyor: başlık düşüyor, yalnızca görsel
       ve sıra numarası kalıyor. Şerit yatay kaydırılabiliyor. */
    .hero-tab { flex: none; min-width: 0; padding: 8px 10px 11px; }
    .hero-tab .ttl { display: none; }
    .hero-tab .bar { left: 10px; right: 10px; }
}

@media (max-width: 720px) {
    .hero { min-height: min(84vh, 640px); }
    .hero-content { padding-bottom: clamp(120px, 26vw, 160px); }
    .hero-rail-side { display: none; }
    .hero-tab .thumb { width: 44px; height: 32px; }
}

/* Hareket azaltma tercihi: kayma ve yakınlaşma kapanır, slayt yine
   değişir ama sakin bir soluşla. */
@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-slide.active, .hero-slide.leaving { animation: none !important; }
    .hero-slide { transition: opacity .4s linear; }
    .hero-slide img { transform: none; transition: none; }
    .hero-slide.active .hero-content > * { animation: none; }
    .hero-tab.active.running .bar i { animation: none; width: 100%; }
    .pf-media img { transition: none; }
}

/* ---------------------------------------------------------------------
   ARAMA ÇUBUĞU
   --------------------------------------------------------------------- */

.searchbar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(20,22,26,.09);
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) auto;
    gap: 6px;
    margin-top: -46px;
    position: relative;
    z-index: 10;
}

.searchbar select, .searchbar input {
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 14.5px;
    padding: 13px 14px;
    width: 100%;
    color: var(--ink);
    border-radius: var(--radius);
}

.searchbar select:focus, .searchbar input:focus { outline: none; background: var(--paper-2); }
.searchbar > *:not(:last-child) { border-right: 1px solid var(--line-2); }

@media (max-width: 760px) {
    .searchbar { grid-template-columns: 1fr 1fr; margin-top: -24px; }
    .searchbar > * { border-right: 0 !important; }
    .searchbar .btn { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------------
   PROJE KARTI
   --------------------------------------------------------------------- */

.grid-projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: clamp(18px, 2.4vw, 32px);
}

/* ---------------------------------------------------------------------
   ANA SAYFA PROJELERİ  —  ALT ALTA GENİŞ SATIRLAR

   Her proje tam genişlikte kendi satırında: solda (ya da sağda) büyük
   görsel, yanında konum, başlık, özet, künye, ilerleme ve çağrı.
   Satırlar sağ-sol dönüşümlü; sayfa aşağı indikçe bir ritim oluşuyor
   ve göz bir yandan diğerine gidip geliyor.

   Görsel alanı satırın %58'i: proje fotoğrafı satışın yarısı.
   --------------------------------------------------------------------- */

.pf-list {
    display: grid;
    gap: clamp(56px, 8vw, 112px);
    margin-top: clamp(10px, 2vw, 26px);
}

.pf {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
}

/* Çift satırlarda görsel sağa geçiyor. Sütun oranları da çevrilmeli:
   "order" yalnızca öğenin yerini değiştiriyor, sütun genişliklerini
   değil — çevrilmezse görsel dar sütuna düşüp küçülüyordu. */
.pf-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.38fr); }
.pf-flip .pf-media { order: 2; }

.pf-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 11;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--paper-3);
    box-shadow: var(--shadow-2);
    transition: box-shadow .5s var(--ease-soft), transform .5s var(--ease-soft);
}

.pf-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-soft);
}

.pf:hover .pf-media { box-shadow: var(--shadow-3); transform: translateY(-4px); }
.pf:hover .pf-media img { transform: scale(1.045); }

/* Görselin alt kenarına hafif gölge: köşedeki durum etiketi dışında
   görselin üstünde yazı yok, ama kenar düz beyaza kesilmesin. */
.pf-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,14,17,.18), rgba(12,14,17,0) 40%);
    pointer-events: none;
}

.pf-media .tag { top: 20px; left: 20px; }

.pf-body { position: relative; }

/* Büyük, soluk sıra numarası: dergi sayfası hissi. */
.pf-num {
    font-size: clamp(54px, 7vw, 92px);
    font-weight: 700;
    line-height: .9;
    letter-spacing: -.05em;
    color: transparent;
    -webkit-text-stroke: 1.2px var(--line);
    margin-bottom: 14px;
    font-variant-numeric: tabular-nums;
    user-select: none;
}

.pf-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.pf-eyebrow span { display: inline-flex; align-items: center; gap: 6px; }
.pf-eyebrow svg { width: 13px; height: 13px; stroke-width: 2; }

.pf-body h3 {
    font-size: clamp(27px, 3.4vw, 44px);
    line-height: 1.06;
    letter-spacing: -.03em;
    margin-bottom: 18px;
}

.pf-body h3 a { transition: color .25s var(--ease-soft); }
.pf-body h3 a:hover { color: var(--brand); }

.pf-summary {
    color: var(--ink-3);
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 26px;
    max-width: 52ch;
}

/* Künye: ince çizgilerle ayrılmış dört kutu. */
.pf-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    margin: 0 0 26px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pf-facts > div {
    padding: 16px 16px 16px 0;
}

.pf-facts > div + div {
    padding-left: 18px;
    border-left: 1px solid var(--line-2);
}

.pf-facts dt {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 5px;
    /* İki satıra kırılan etiket, yanındaki değerleri aşağı itiyor ve
       künye satırı hizadan çıkıyordu. Etiketler kısa ve tek satır. */
    white-space: nowrap;
}

.pf-facts dd {
    margin: 0;
    font-size: clamp(18px, 1.7vw, 22px);
    font-weight: 650;
    letter-spacing: -.02em;
    color: var(--ink);
    white-space: nowrap;
}

.pf-progress { margin-bottom: 28px; }

.pf-progress-head {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--ink-3);
    margin-bottom: 8px;
}

.pf-progress-head b { color: var(--ink); font-weight: 650; }

.pf-progress-bar {
    height: 5px;
    border-radius: 5px;
    background: var(--paper-3);
    overflow: hidden;
}

.pf-progress-bar i {
    display: block;
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff));
}

@supports not (background: color-mix(in srgb, red 10%, transparent)) {
    .pf-progress-bar i { background: var(--accent); }
}

.pf-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 26px;
}

.pf-more {
    text-align: center;
    margin-top: clamp(50px, 7vw, 90px);
}

@media (max-width: 900px) {
    .pf, .pf-flip { grid-template-columns: 1fr; gap: 26px; }
    .pf-flip .pf-media { order: 0; }
    .pf-num { font-size: 52px; margin-bottom: 8px; }
    .pf-media { border-radius: var(--radius-lg); }
}

@media (max-width: 520px) {
    .pf-facts { grid-template-columns: 1fr 1fr; }
    .pf-facts > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); }
    .pf-facts > div:nth-child(4) { border-top: 1px solid var(--line-2); }
}

/* Büyük kart: vitrin şeridinde kullanılıyor. */
.project-card-lg .media { aspect-ratio: 16 / 11; }

.project-card-lg h3 {
    font-size: clamp(21px, 2.4vw, 30px);
    letter-spacing: -.025em;
}

.project-card-lg .body { padding: clamp(22px, 2.6vw, 34px); }

/* "Projeyi Gör" çağrısı: normalde yarı saydam, üstüne gelince öne çıkıyor. */
.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    opacity: .9;
    transform: translateY(4px);
    transition: background .35s var(--ease-soft), color .35s var(--ease-soft),
                opacity .35s var(--ease-soft), transform .35s var(--ease-soft),
                border-color .35s var(--ease-soft), gap .3s var(--ease-soft);
}

.card-cta svg { width: 14px; height: 14px; stroke-width: 2.2; }

.project-card-lg:hover .card-cta {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
    opacity: 1;
    transform: translateY(0);
    gap: 12px;
}

.project-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--ink);
    border-radius: var(--radius-lg);
}

.project-card .media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.project-card:hover img { transform: scale(1.055); }

.project-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(12,14,17,.86) 0%, rgba(12,14,17,.34) 46%, rgba(12,14,17,.04) 100%);
}

.project-card .body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: clamp(18px, 2.4vw, 26px);
    color: #fff;
}

.project-card h3 {
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 7px;
}

.project-card .meta {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: rgba(255,255,255,.78);
    flex-wrap: wrap;
}

.project-card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.project-card .meta svg { width: 13px; height: 13px; stroke-width: 1.9; }

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,.94);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 20px;
    z-index: 2;
}

.tag-accent { background: var(--accent); color: #fff; }
.tag-brand { background: var(--brand); color: #fff; }

/* İlerleme çubuğu */
.progress {
    height: 2px;
    background: rgba(255,255,255,.25);
    margin-top: 13px;
    overflow: hidden;
}

.progress i {
    display: block;
    height: 100%;
    background: var(--accent);
}

/* ---------------------------------------------------------------------
   İLAN KARTI
   --------------------------------------------------------------------- */

.grid-estates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
    gap: clamp(16px, 2vw, 26px);
}

.estate-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

.estate-card:hover {
    border-color: var(--ink-4);
    box-shadow: 0 12px 34px rgba(20,22,26,.09);
    transform: translateY(-2px);
}

.estate-card .media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--paper-3);
    overflow: hidden;
}

.estate-card .media img { width: 100%; height: 100%; object-fit: cover; }

.estate-card .body { padding: 16px 17px 17px; display: flex; flex-direction: column; flex: 1; }

.estate-card .price {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 5px;
}

.estate-card .price small {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink-3);
    letter-spacing: 0;
}

.estate-card h3 {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 9px;
    color: var(--ink-2);
}

.estate-card .location {
    font-size: 13px;
    color: var(--ink-3);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 13px;
}

.estate-card .location svg { width: 13px; height: 13px; flex: none; stroke-width: 1.9; }

.estate-card .specs {
    display: flex;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line-2);
    margin-top: auto;
    font-size: 12.5px;
    color: var(--ink-2);
    flex-wrap: wrap;
}

.estate-card .specs span { display: inline-flex; align-items: center; gap: 5px; }
.estate-card .specs svg { width: 14px; height: 14px; opacity: .55; stroke-width: 1.8; }

.sold-band {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(12,14,17,.55);
    z-index: 2;
}

.sold-band span {
    background: #fff;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 8px 20px;
    transform: rotate(-4deg);
}

/* ---------------------------------------------------------------------
   RAKAMLAR
   --------------------------------------------------------------------- */

.stats-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.stats-band > div { background: var(--paper); padding: clamp(24px, 3.4vw, 40px) 22px; text-align: center; }
.section-dark .stats-band { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); }
.section-dark .stats-band > div { background: var(--ink); }

.stats-band .value {
    font-size: clamp(30px, 4.2vw, 46px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stats-band .value em { font-style: normal; color: var(--accent); }

.stats-band .label {
    font-size: 12.5px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-top: 11px;
}

.section-dark .stats-band .label { color: rgba(255,255,255,.62); }

/* ---------------------------------------------------------------------
   HABER KARTI
   --------------------------------------------------------------------- */

.grid-news {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: clamp(18px, 2.4vw, 32px);
}

.news-card .media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--paper-3);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
}

.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover img { transform: scale(1.04); }

.news-card time {
    font-size: 12.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-4);
}

.news-card h3 {
    font-size: 18px;
    line-height: 1.32;
    margin: 8px 0 9px;
    transition: color .15s;
}

.news-card:hover h3 { color: var(--brand); }
.news-card p { font-size: 14.5px; color: var(--ink-3); margin: 0; }

/* ---------------------------------------------------------------------
   ALT BİLGİ
   --------------------------------------------------------------------- */

.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,.62);
    font-size: 14.5px;
    padding-top: clamp(50px, 7vw, 82px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: clamp(28px, 4vw, 56px);
    padding-bottom: clamp(38px, 5vw, 58px);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

.footer-grid h4, .footer-grid .footer-title {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 17px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { transition: color .15s; }
.footer-grid a:hover { color: #fff; }

.footer-brand .brand-text { color: #fff; margin-bottom: 15px; }
.footer-brand p { max-width: 34ch; line-height: 1.75; }

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.6;
}

.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; opacity: .5; stroke-width: 1.8; }

.social { display: flex; gap: 9px; margin-top: 18px; }

.social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    transition: background .18s, border-color .18s, color .18s;
}

.social a:hover { background: #fff; border-color: #fff; color: var(--ink); }
.social svg { width: 16px; height: 16px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-block: 22px;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
}

.footer-bottom .spacer { flex: 1; }

/* ---------------------------------------------------------------------
   KIRINTI YOLU
   --------------------------------------------------------------------- */

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-4);
    padding-block: 18px;
}

.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: .5; }

/* ---------------------------------------------------------------------
   SAYFA BAŞLIĞI
   --------------------------------------------------------------------- */

.page-head {
    background: var(--paper-2);
    border-bottom: 1px solid var(--line-2);
    padding-block: clamp(32px, 5vw, 58px);
}

.page-head h1 { font-size: clamp(28px, 4.2vw, 46px); }
.page-head p { color: var(--ink-3); margin: 13px 0 0; max-width: 58ch; }

/* ---------------------------------------------------------------------
   İÇERİK METNİ
   --------------------------------------------------------------------- */

.prose { font-size: 16.5px; line-height: 1.8; color: var(--ink-2); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(22px, 2.6vw, 29px); margin: 2em 0 .65em; color: var(--ink); }
.prose h3 { font-size: clamp(18px, 2vw, 22px); margin: 1.7em 0 .5em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose img { border-radius: var(--radius-lg); margin: 1.6em 0; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
    margin: 1.7em 0;
    padding: 4px 0 4px 22px;
    border-left: 2px solid var(--accent);
    font-size: 18px;
    color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-weight: 600; background: var(--paper-2); }
.prose code { font-size: .88em; background: var(--paper-2); padding: 2px 6px; border-radius: 5px; white-space: nowrap; }
/* Dar ekranda çok sütunlu tablo kendi içinde kaysın, sayfayı taşırmasın. */
@media (max-width: 640px) {
    .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 14px; }
    .prose th, .prose td { padding: 9px 10px; min-width: 96px; }
    .prose td:first-child, .prose th:first-child { min-width: 0; }
}

/* ---------------------------------------------------------------------
   SAYFALAMA
   --------------------------------------------------------------------- */

.pager {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    margin-top: clamp(34px, 4vw, 54px);
    flex-wrap: wrap;
}

.pager a, .pager span {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    transition: border-color .15s, background .15s, color .15s;
}

.pager a:hover { border-color: var(--ink); }
.pager .current { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------------
   FORMLAR
   --------------------------------------------------------------------- */

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 15px; }

.form-field { margin-bottom: 15px; }

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 6px;
}

.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    font: inherit;
    font-size: 15px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(27,67,50,.09);
}

.form-field textarea { resize: vertical; min-height: 120px; }
.form-field .req { color: #b3261e; }

/* Bal küpü — botlar doldurur, insanlar görmez */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.notice {
    padding: 14px 17px;
    border-radius: var(--radius);
    font-size: 14.5px;
    margin-bottom: 18px;
    border: 1px solid;
}

.notice-success { background: #edf7f1; color: #0f7a45; border-color: #bfe5d0; }
.notice-error   { background: #fdeceb; color: #b3261e; border-color: #f3c9c6; }

/* ---------------------------------------------------------------------
   SABİT İLETİŞİM DÜĞMELERİ
   --------------------------------------------------------------------- */

.float-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 80;
}

.float-actions a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 6px 22px rgba(20,22,26,.22);
    transition: transform .18s var(--ease);
}

.float-actions a:hover { transform: scale(1.07); }
.float-actions svg { width: 23px; height: 23px; }
.fa-wa { background: #25d366; }
.fa-tel { background: var(--ink); }

@media (max-width: 640px) {
    .float-actions { right: 13px; bottom: 13px; }
    .float-actions a { width: 46px; height: 46px; }
}

/* ---------------------------------------------------------------------
   ÇEREZ BİLDİRİMİ
   --------------------------------------------------------------------- */

.cookie-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 640px;
    background: var(--ink);
    color: rgba(255,255,255,.82);
    padding: 17px 20px;
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 44px rgba(0,0,0,.28);
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13.5px;
    z-index: 110;
}

.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar .btn { flex: none; }

/*
 * "Tamam" düğmesi çalışmıyordu ve sebebi buradaydı.
 *
 * Kutu hidden niteliğiyle gizleniyor; hidden'ın gizleme gücü tarayıcının
 * kendi stil sayfasındaki display:none'dan geliyor. Yukarıdaki
 * display:flex ise bizim yazdığımız kural, yani ondan güçlü. Sonuç:
 * hidden hiçbir şey yapmıyordu. Düğme aslında çalışıyordu, sadece
 * gizleme emri görsel olarak karşılıksız kalıyordu.
 *
 * !important yerine niteliğe özel kural yazıyoruz: seçici daha belirgin
 * olduğu için display:flex'i temiz biçimde yeniyor.
 */
.cookie-bar[hidden] { display: none; }

.cookie-text    { flex: 1; min-width: 220px; }
.cookie-actions { display: flex; gap: 8px; flex: none; }

/* Reddet ile Kabul Et eşit ağırlıkta: rıza, kolay yolu "kabul" yapan
   bir düzenle alınmış sayılmaz. */
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); }

.link-button {
    background: none; border: 0; padding: 0; font: inherit; color: inherit;
    cursor: pointer; text-decoration: none;
}
.link-button:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------
   Genel bildirim (form gönderildi / hata)
   --------------------------------------------------------------------- */
.flash-toast {
    position: fixed;
    z-index: 90;
    top: 132px;               /* üst şerit + menünün altında */
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, calc(100% - 32px));
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
    padding: 14px 44px 14px 16px;
    display: grid;
    gap: 8px;
    animation: flashIn .45s var(--ease-soft) both;
}
.flash-toast.leaving { animation: flashOut .35s var(--ease-soft) both; }
.flash-item { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink); }
.flash-item svg { flex: none; margin-top: 2px; }
.flash-success svg { color: #0f7a45; }
.flash-error svg   { color: #b3261e; }
.flash-close {
    position: absolute; top: 8px; right: 10px;
    width: 30px; height: 30px; border: 0; border-radius: 50%;
    background: transparent; color: var(--ink-3, #8b94a3); font-size: 22px; line-height: 1; cursor: pointer;
}
.flash-close:hover { background: rgba(0,0,0,.05); color: var(--ink); }
@media (max-width: 900px) { .flash-toast { top: 82px; } }
@keyframes flashIn  { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes flashOut { to   { opacity: 0; transform: translate(-50%, -12px); } }
@media (prefers-reduced-motion: reduce) { .flash-toast, .flash-toast.leaving { animation: none; } }

/* Kapanış ve açılış yumuşak olsun; kutu birden "pat" diye kaybolmasın. */
.cookie-bar {
    transform: translateY(0);
    opacity: 1;
    transition: transform .45s var(--ease-soft), opacity .35s var(--ease-soft);
}

.cookie-bar.leaving {
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
}

/* ---------------------------------------------------------------------
   BOŞ DURUM
   --------------------------------------------------------------------- */

.empty-state {
    text-align: center;
    padding: clamp(50px, 8vw, 90px) 20px;
    color: var(--ink-3);
}

.empty-state svg { width: 40px; height: 40px; opacity: .25; margin-bottom: 14px; stroke-width: 1.4; }
.empty-state h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }

/* ---------------------------------------------------------------------
   GÖRÜNÜRE GİRİNCE BELİRME
   --------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

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

/* ---------------------------------------------------------------------
   IŞIK KUTUSU  (galeri büyütme)
   --------------------------------------------------------------------- */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 15, .94);
    display: none;
    place-items: center;
    z-index: 200;
    padding: 56px 16px;
}

.lightbox.open { display: grid; }

.lightbox img {
    max-width: min(1180px, 94vw);
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox button {
    position: absolute;
    background: rgba(255, 255, 255, .1);
    border: 0;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: background .15s;
    line-height: 1;
}

.lightbox button:hover { background: rgba(255, 255, 255, .26); }

.lb-close { top: 18px; right: 18px; width: 42px; height: 42px; font-size: 26px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 32px; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

.lb-count {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    letter-spacing: .06em;
}

@media (max-width: 640px) {
    .lb-prev, .lb-next { width: 42px; height: 42px; font-size: 26px; }
    .lb-prev { left: 8px; }
    .lb-next { right: 8px; }
}

/* Galeri ızgarası (detay sayfaları) */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
}

.gallery a {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--paper-3);
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease), opacity .2s;
}

.gallery a:hover img { transform: scale(1.05); opacity: .92; }

/* Kat planları: fotoğraf değil çizim. Kırpmak planı okunamaz hâle
   getiriyor — kenarlardaki oda ölçüleri kesiliyor. O yüzden tamamı
   sığdırılıyor ve zemin beyaz bırakılıyor. */
.gallery-plans { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.gallery-plans a {
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 1px solid var(--line-2);
}

.gallery-plans img {
    object-fit: contain;
    padding: 10px;
}

.gallery-plans a:hover img { transform: scale(1.02); }

/* ---------------------------------------------------------------------
   DETAY SAYFALARI
   --------------------------------------------------------------------- */

.detail-hero {
    position: relative;
    min-height: min(56vh, 520px);
    display: grid;
    align-items: end;
    background: var(--ink);
    overflow: hidden;
}

.detail-hero > img, .detail-hero > picture > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,14,17,.88) 0%, rgba(12,14,17,.35) 55%, rgba(12,14,17,.1) 100%);
}

.detail-hero-body {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-block: clamp(34px, 5vw, 56px);
}

.detail-hero-body .tag { position: static; display: inline-block; margin-bottom: 14px; }
.detail-hero-body h1 { font-size: clamp(28px, 4.6vw, 52px); line-height: 1.07; }
.detail-hero-body p { color: rgba(255,255,255,.85); margin: 12px 0 0; font-size: clamp(15px, 1.7vw, 18px); }

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

@media (max-width: 960px) { .detail-layout { grid-template-columns: 1fr; } }

.detail-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 960px) { .detail-side { position: static; } }

.side-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.side-card h3 { font-size: 17px; margin-bottom: 8px; }
.side-card .small-muted { font-size: 13.5px; color: var(--ink-3); margin-bottom: 16px; line-height: 1.55; }
.side-form .form-field { margin-bottom: 12px; }
.side-form .form-field input, .side-form .form-field textarea { font-size: 14.5px; padding: 10px 12px; }
.btn-block { width: 100%; }
.side-contact { display: flex; flex-direction: column; gap: 8px; padding: 16px; }

.form-note { font-size: 12px; color: var(--ink-4); margin: 11px 0 0; line-height: 1.5; text-align: center; }

/* Künye kutuları */
.fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.fact-grid > div { background: var(--paper); padding: 17px 18px; }
.fact-label { display: block; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 5px; }
.fact-value { display: block; font-size: 16px; font-weight: 600; }

/* İnşaat ilerlemesi */
.progress-block {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper-2);
}

.progress-track { height: 5px; background: var(--line); border-radius: 3px; margin-top: 12px; overflow: hidden; }
.progress-track i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.accent-text { color: var(--accent); font-weight: 700; font-size: 18px; }

.block-title {
    font-size: clamp(20px, 2.4vw, 27px);
    margin-bottom: 18px;
    display: flex;
    align-items: baseline;
    gap: 11px;
    flex-wrap: wrap;
}

.block-title .count { font-size: 13px; font-weight: 400; color: var(--ink-4); letter-spacing: 0; }

/* Özellik listesi */
.feature-list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 9px 20px;
}

.feature-list li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.feature-list svg { color: var(--accent); flex: none; stroke-width: 2.2; }

/* Daire tipleri */
.unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }

.unit-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--paper);
    display: flex;
    flex-direction: column;
}

.unit-plan { position: relative; display: block; background: var(--paper-3); aspect-ratio: 4 / 3; overflow: hidden; }
.unit-plan img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .4s var(--ease); }
.unit-plan:hover img { transform: scale(1.03); }

.unit-zoom {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent, rgba(12,14,17,.72));
    color: #fff;
    font-size: 12.5px;
    padding: 22px 14px 11px;
    display: flex;
    align-items: center;
    gap: 7px;
    opacity: 0;
    transition: opacity .2s;
}

.unit-plan:hover .unit-zoom { opacity: 1; }
@media (hover: none) { .unit-zoom { opacity: 1; } }

.unit-body { padding: 17px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.unit-body h3 { font-size: 17px; }
.unit-specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-3); margin-bottom: 11px; }
.unit-specs span { display: inline-flex; align-items: center; gap: 5px; }
.unit-specs svg { opacity: .55; }
.unit-desc { font-size: 13.5px; color: var(--ink-3); margin: 0 0 12px; }

.unit-price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 19px; font-weight: 700; }
.unit-price small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-4); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }

.badge-ok, .badge-warn, .badge-mute {
    font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 20px; white-space: nowrap;
}
.badge-ok   { background: #e9f7ef; color: #0f7a45; }
.badge-warn { background: #fdf3e6; color: #a8620a; }
.badge-mute { background: var(--paper-3); color: var(--ink-3); }

/* Çevredeki yerler */
.nearby-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.nearby-group h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.nearby-group h3 svg { color: var(--accent); }
.nearby-group ul { list-style: none; margin: 0; padding: 0; }
.nearby-group li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.nearby-group li:last-child { border-bottom: 0; }
.nearby-group em { font-style: normal; color: var(--ink-4); font-size: 13px; white-space: nowrap; }

/* Filtre çipleri */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 36px); align-items: center; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    transition: border-color .15s, background .15s, color .15s;
}

.chip:hover { border-color: var(--ink-4); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.chip span { font-size: 12px; color: var(--ink-4); }
.chip.active span { color: rgba(255,255,255,.6); }
.chip-sep { width: 1px; height: 22px; background: var(--line); margin-inline: 6px; }
@media (max-width: 560px) { .chip-sep { display: none; } }

/* =====================================================================
   GÜVEN ŞERİDİ  —  "NEDEN MUYAN"

   Rakam saymak yerine somut vaat gösteriyor. Daire alan insanın kafasındaki
   sorular sırayla: teslim olacak mı, tapu sağlam mı, içinde ne var, sonrasında
   kim ilgilenecek. Kartlar bu sırayı takip ediyor.
   ===================================================================== */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: clamp(14px, 1.8vw, 24px);
}

.trust-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 2.8vw, 34px);
    box-shadow: var(--shadow-1);
    transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft),
                border-color .4s var(--ease-soft);
    overflow: hidden;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2);
    border-color: var(--line);
}

/* Üst kenarda ince vurgu şeridi — üstüne gelince soldan sağa açılıyor. */
.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease-soft);
}

.trust-card:hover::before { transform: scaleX(1); }

.trust-card .ico {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    margin-bottom: 18px;
}

/* color-mix desteklemeyen tarayıcıda simge kutusu görünmez olmasın. */
@supports not (background: color-mix(in srgb, red 10%, transparent)) {
    .trust-card .ico { background: var(--paper-3); }
}

.trust-card .ico svg { width: 22px; height: 22px; stroke-width: 1.7; }

.trust-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    letter-spacing: -.01em;
}

.trust-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.68;
    color: var(--ink-3);
}

/* =====================================================================
   YUMUŞATMA KATMANI

   Belirteçler değişti (köşe yarıçapı, gölge ölçeği) ama bazı bileşenler
   sabit değer kullanıyordu. Burada onlar hizaya getiriliyor ve hareketler
   yavaş çıkışlı eğriye çekiliyor.
   ===================================================================== */

.btn {
    border-radius: var(--radius);
    transition: background .28s var(--ease-soft), color .28s var(--ease-soft),
                border-color .28s var(--ease-soft), transform .28s var(--ease-soft),
                box-shadow .28s var(--ease-soft);
}

.btn-primary, .btn-accent { box-shadow: var(--shadow-1); }

.btn-primary:hover, .btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.btn-primary:active, .btn-accent:active { transform: translateY(0); }

.estate-card, .news-card, .side-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
    transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft),
                border-color .4s var(--ease-soft);
}

.estate-card:hover, .news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2);
}

.project-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
    transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-3);
}

.project-card img { transition: transform 1.1s var(--ease-soft); }
.project-card:hover img { transform: scale(1.07); }

/* Bölüm geçişleri: düz kesim yerine yumuşak zemin değişimi. */
.section-paper { border-block: 1px solid var(--line-2); }

/* Görünüme girme animasyonu biraz daha uzun ve yukarıdan.
   Sert "pat" yerine yerleşme hissi. */
.reveal {
    transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft);
}

/* =====================================================================
   HAKKIMIZDA GÖRSELİ
   ===================================================================== */

.about-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2);
}

/* =====================================================================
   INSTAGRAM AKIŞI

   Kare kutular, yumuşak köşeler; üstüne gelince görsel yakınlaşıyor ve
   üzerine koyu bir perde inip gönderi metninin başı görünüyor. Proje
   kartlarıyla aynı köşe yarıçapı ve gölge ölçeği — sitenin geri
   kalanından kopuk bir "gömülü widget" gibi durmasın diye.
   ===================================================================== */

.ig-follow svg { width: 16px; height: 16px; stroke-width: 1.9; }

.ig-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 1.4vw, 18px);
}

.ig-tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--paper-3);
    box-shadow: var(--shadow-1);
    transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft);
}

.ig-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-soft);
}

.ig-tile:hover, .ig-tile:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--shadow-3);
    outline: none;
}

.ig-tile:hover img, .ig-tile:focus-visible img { transform: scale(1.08); }

.ig-over {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    text-align: center;
    color: #fff;
    background: linear-gradient(160deg, rgba(12,14,17,.72), rgba(12,14,17,.5));
    opacity: 0;
    transition: opacity .4s var(--ease-soft);
}

.ig-tile:hover .ig-over, .ig-tile:focus-visible .ig-over { opacity: 1; }

.ig-over svg { width: 22px; height: 22px; stroke-width: 1.8; }

.ig-cap {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255,255,255,.9);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transform: translateY(6px);
    transition: transform .45s var(--ease-soft);
}

.ig-tile:hover .ig-cap { transform: translateY(0); }

/* Video / çoklu gönderi işareti — köşede küçük bir rozet. */
.ig-kind {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(12,14,17,.45);
    backdrop-filter: blur(6px);
    color: #fff;
    z-index: 1;
}

.ig-kind svg { width: 15px; height: 15px; stroke-width: 2; }

@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }

/* Dokunmatik ekranda "üstüne gelme" yok — metin perdesi hiç görünmezdi.
   Orada yalnızca görsel kalsın, dokununca Instagram'a gitsin. */
@media (hover: none) {
    .ig-over { display: none; }
}

/* =====================================================================
   KAYAN PROJE VİTRİNİ
   Geniş proje satırları altı projede sayfayı çok uzatıyordu. Vitrin
   masaüstünde 3, tablette 2, telefonda 1 kart gösterir (telefonda bir
   sonrakinin ucu görünür: kaydırılabildiği belli olsun).
   ===================================================================== */
.ps { --ps-gap: 24px; --ps-per: 3; position: relative; }

.ps-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    /* Kartların gölgesi ve üzerine gelince kalkma payı kesilmesin */
    padding: 10px 0 22px;
    margin: -10px 0 -22px;
    outline: none;
}
.ps-viewport::-webkit-scrollbar { display: none; }
.ps-viewport:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius-lg); }
.ps-viewport.is-jumping { scroll-snap-type: none; }

.ps-track { display: flex; gap: var(--ps-gap); }

.ps-slide {
    flex: 0 0 calc((100% - (var(--ps-per) - 1) * var(--ps-gap)) / var(--ps-per));
    scroll-snap-align: start;
    min-width: 0;
}

.ps-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow-1);
    transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
    isolation: isolate;
}
.ps-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }

.ps-media { aspect-ratio: 4 / 5; overflow: hidden; }
.ps-media img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.02);
    transition: transform 1.2s var(--ease-soft);
}
.ps-card:hover .ps-media img { transform: scale(1.08); }

.ps-card::after {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(10,12,15,.92) 0%, rgba(10,12,15,.55) 34%, rgba(10,12,15,.05) 62%, rgba(10,12,15,0) 100%);
    pointer-events: none;
}

.ps-card .tag { z-index: 2; }

.ps-body {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: clamp(20px, 2.2vw, 28px);
}

.ps-place {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}
.ps-place svg { width: 13px; height: 13px; }

.ps-body h3 {
    font-size: clamp(20px, 1.9vw, 25px);
    line-height: 1.2;
    letter-spacing: -.01em;
    color: #fff;
    margin: 0 0 12px;
}

.ps-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ps-facts span {
    font-size: 12.5px; font-weight: 500;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(6px);
    color: rgba(255,255,255,.92);
}

.ps-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12.5px; color: rgba(255,255,255,.8); }
.ps-progress-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; }
.ps-progress-bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }

.ps-cta {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600; color: #fff;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.16);
    width: 100%;
}
.ps-cta svg { transition: transform .35s var(--ease-soft); }
.ps-card:hover .ps-cta svg { transform: translateX(5px); }

/* Alt kontrol: sayaç + süre çizgisi + oklar */
.ps-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; }
.ps-count { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ps-count b { color: var(--ink); font-size: 16px; font-weight: 700; }
.ps-line { width: clamp(80px, 16vw, 180px); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.ps-line i { display: block; height: 100%; width: 0; background: var(--accent); }
.ps-line i.running { animation: psTimer var(--ps-duration, 5000ms) linear forwards; }
@keyframes psTimer { from { width: 0; } to { width: 100%; } }

.ps-arrows { display: flex; gap: 10px; }
.ps-arrow {
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--line); background: #fff; color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .3s var(--ease-soft), color .3s var(--ease-soft), border-color .3s var(--ease-soft), transform .3s var(--ease-soft);
}
.ps-arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ps-arrow:active { transform: scale(.94); }
.ps-arrow[data-ps-prev] svg { transform: rotate(180deg); }

/* Kart sayısı ekrana sığıyorsa kaydırma ve kontroller yok */
.ps.is-static .ps-controls, .ps.is-static .ps-clone { display: none; }

@media (max-width: 1100px) { .ps { --ps-per: 2; --ps-gap: 18px; } }
/* Sağ alttaki sabit WhatsApp/telefon düğmeleri, içerik ekran kenarına
   yaklaşınca okların üstüne biniyordu: oklar sayacın yanına alınır. */
@media (max-width: 1320px) { .ps-controls { justify-content: flex-start; } }
@media (max-width: 700px) {
    .ps { --ps-per: 1; --ps-gap: 14px; }
    .ps-slide { flex-basis: 84%; }
    .ps-media { aspect-ratio: 4 / 4.6; }
    .ps-controls { margin-top: 22px; }
    .ps-arrow { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .ps-card, .ps-media img, .ps-cta svg { transition: none; }
    .ps-line i.running { animation: none; width: 100%; }
}

/* =====================================================================
   Tıklanınca yüklenen harita
   ===================================================================== */
.map-lazy { position: relative; width: 100%; height: 100%; min-height: 300px; display: flex; }
.map-lazy-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 14px;
    border: 0; cursor: pointer; padding: 24px; font: inherit; color: var(--ink);
    background:
        radial-gradient(circle at 30% 40%, rgba(27,67,50,.08), transparent 55%),
        repeating-linear-gradient(0deg, transparent 0 38px, rgba(0,0,0,.035) 38px 39px),
        repeating-linear-gradient(90deg, transparent 0 38px, rgba(0,0,0,.035) 38px 39px),
        var(--paper-3);
    transition: background-color .3s var(--ease-soft);
}
.map-lazy-btn:hover .map-lazy-pin { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.map-lazy-pin {
    width: 56px; height: 56px; border-radius: 50%; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand); color: #fff; box-shadow: var(--shadow-2);
    transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
}
.map-lazy-text { display: flex; flex-direction: column; text-align: left; line-height: 1.4; }
.map-lazy-text strong { font-size: 16px; }
.map-lazy-text small { font-size: 13px; color: var(--ink-3); }
.map-lazy iframe { border: 0; width: 100%; min-height: 300px; display: block; flex: 1; }

address { font-style: normal; }

/* ------------------------------------------------------------------
   Ana sayfa tanıtım metni
   ------------------------------------------------------------------ */
.seo-text-wrap { max-width: 880px; }
.seo-text h3 { font-size: clamp(18px, 2vw, 21px); margin: 1.6em 0 .5em; color: var(--ink); }
.seo-text.is-collapsed {
    max-height: 17em; overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 60%, transparent);
            mask-image: linear-gradient(#000 60%, transparent);
}
.seo-more { margin-top: 14px; }

/* ------------------------------------------------------------------
   Duyuru penceresi
   Masaüstünde ortada kutu, telefonda alttan açılan sayfa.
   ------------------------------------------------------------------ */
.ann { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ann[hidden] { display: none; }
.ann-backdrop {
    position: absolute; inset: 0; background: rgba(12, 14, 18, .58);
    opacity: 0; transition: opacity .28s ease;
}
.ann-box {
    position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow: auto;
    background: #fff; border-radius: var(--radius-xl); box-shadow: 0 30px 80px rgba(0,0,0,.35);
    opacity: 0; transform: translateY(14px) scale(.98);
    transition: opacity .28s ease, transform .32s cubic-bezier(.2,.8,.2,1);
    overscroll-behavior: contain;
}
.ann-box.ann-plain { max-width: 460px; }
.ann-box.ann-has-video { max-width: 760px; }
.ann.is-open .ann-backdrop { opacity: 1; }
.ann.is-open .ann-box { opacity: 1; transform: none; }

.ann-close {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center;
    background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.ann-close:hover { background: #fff; }
.ann-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.ann-preview-tag {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 600;
    padding: 4px 9px; border-radius: 99px;
}

.ann-media { display: block; aspect-ratio: 16 / 9; background: var(--paper-2); overflow: hidden; }
.ann-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ann-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ann-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ann-has-video .ann-close { background: rgba(0,0,0,.6); color: #fff; }

.ann-body { padding: 24px 26px 26px; }
.ann-plain .ann-body { padding-top: 30px; padding-right: 54px; }
.ann-badge {
    display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 8px;
}
.ann-title { font-size: clamp(20px, 2.6vw, 25px); line-height: 1.25; margin: 0 0 6px; color: var(--ink); }
.ann-sub { color: var(--ink-3); font-size: 14.5px; margin-bottom: 6px; }
.ann-price { font-size: 21px; font-weight: 700; color: var(--ink); margin: 4px 0 8px; }
.ann-text { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin: 6px 0 0; }
.ann-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.ann-later {
    background: none; border: 0; padding: 6px 2px; cursor: pointer;
    color: var(--ink-3); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px;
}

html.ann-lock, html.ann-lock body { overflow: hidden; }

@media (max-width: 640px) {
    .ann { align-items: flex-end; padding: 0; }
    .ann-box, .ann-box.ann-plain, .ann-box.ann-has-video {
        max-width: none; max-height: 88vh; border-radius: 18px 18px 0 0;
        transform: translateY(100%);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .ann.is-open .ann-box { transform: none; }
    .ann-body { padding: 20px 18px 22px; }
    .ann-actions .btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .ann-backdrop, .ann-box { transition: none; }
}

/* ------------------------------------------------------------------
   Konut kredisi hesaplayıcı (ilan / proje sayfası)
   ------------------------------------------------------------------ */
.loan { margin-top: 44px; scroll-margin-top: 100px; }
.loan-grid {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0;
    border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff;
}
.loan-inputs { padding: 24px; display: grid; gap: 18px; align-content: start; }
.loan-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.loan-field label { display: flex; align-items: baseline; gap: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.loan-field label output { color: var(--ink); }
.loan-sub { font-weight: 500; color: var(--ink-3); }
.loan-money { position: relative; }
.loan-money input { padding-right: 34px; }
.loan-money span { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 14px; pointer-events: none; }
.loan-field input[type="text"], .loan-field select {
    width: 100%; height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font: inherit; font-size: 15.5px; color: var(--ink); background: #fff;
}
.loan-field input[type="text"]:focus, .loan-field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.loan-field input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; }

.loan-result { background: var(--paper-2); padding: 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); }
.loan-label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.loan-payment { font-size: clamp(30px, 4vw, 40px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.loan-payment span { font-size: .55em; font-weight: 600; color: var(--ink-3); }
.loan-bar { height: 8px; border-radius: 99px; background: var(--accent); opacity: .9; overflow: hidden; margin: 12px 0 6px; }
.loan-bar span { display: block; height: 100%; background: var(--brand); transition: width .3s ease; }
.loan-lines { margin: 4px 0 16px; display: grid; gap: 7px; font-size: 14.5px; }
.loan-lines div { display: flex; justify-content: space-between; gap: 12px; }
.loan-lines dt { color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
.loan-lines dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.loan-lines .loan-total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; }
.loan-lines .loan-total dt { color: var(--ink-2); font-weight: 600; }
.loan-result .btn { margin-top: auto; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.dot-p { background: var(--brand); }
.dot-i { background: var(--accent); }
.loan-note { font-size: 12.5px; color: var(--ink-4); margin: 10px 2px 0; line-height: 1.5; }

@media (max-width: 760px) {
    .loan-grid { grid-template-columns: minmax(0, 1fr); }
    .loan-result { border-left: 0; border-top: 1px solid var(--line); }
    .loan-inputs, .loan-result { padding: 18px; }
}
