/* ============================================================
   GENEL SİTE STİLİ
   Renkler header.php içinde :root üzerine DB'den basılır.
   ============================================================ */

* { box-sizing: border-box; }

html { height: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--renk-text-dark);
    background: #fff;
    line-height: 1.6;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* İçerik az olsa bile (ör. Kentsel Dönüşüm, statik sayfalar) footer viewport'un
   altına yapışık kalır - "footer yukarı kaymış" görünümünü önler. Ana sayfada
   zaten yeterli içerik olduğu için görünüşte fark etmiyordu, kısa sayfalarda
   footer ortada asılı kalıyordu. */
.site-icerik { flex: 1 0 auto; min-height: 60vh; }
.site-footer { flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
    background: var(--renk-primary);
    color: var(--renk-text-light);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header-ic {
    max-width: 1200px; margin: 0 auto; padding: 2px 20px;
    display: flex; align-items: center; justify-content: space-between;
    min-height: 78px; /* menü şeridinin sabit yüksekliği - logo büyüse de bu değişmez */
}
.site-logo { font-weight: 700; font-size: 20px; letter-spacing: 0.5px; color: var(--renk-text-light); text-decoration: none; display: flex; align-items: center; }
/* Logo, şeritten daha yüksek gösterilir: negatif dikey margin ile taşırılır,
   böylece .site-header-ic'in min-height'ı (dolayısıyla menü şeridi) büyümez.
   Logoyu büyütmek/küçültmek istersen sadece max-height ve margin değerini
   birlikte değiştir: margin = -(max-height - şerit yüksekliği) / 2 */
.site-logo img { max-height: 170px; width: auto; margin: -46px 0; position: relative; z-index: 1; }

.ana-menu > ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.ana-menu > ul > li { position: relative; }
.ana-menu > ul > li > a {
    display: block; padding: 10px 4px; color: var(--renk-menu-yazi, var(--renk-text-light));
    text-decoration: none; font-size: 17px; font-weight: 600; border-radius: 4px;
}
.ana-menu > ul > li > a:hover { opacity: 0.8; }

.alt-menu {
    list-style: none; display: block; position: absolute; top: 100%; left: 0; margin-top: 6px;
    background: var(--renk-primary); width: max-content; min-width: 180px; max-width: 260px;
    padding: 8px 0; border-radius: 6px; box-shadow: 0 16px 32px rgba(0,0,0,0.28);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.alt-menu li { display: block; width: 100%; }
.alt-menulu:hover .alt-menu,
.alt-menulu.acik .alt-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.alt-menu li a { display: block; padding: 10px 16px; font-size: 15px; color: var(--renk-menu-yazi, var(--renk-text-light)); text-decoration: none; white-space: nowrap; }
.alt-menu li a:hover { background: rgba(255,255,255,0.08); }

.mobil-menu-buton {
    display: none; background: none; border: none; cursor: pointer;
    width: 32px; height: 26px; flex-direction: column; justify-content: space-between; padding: 0;
}
.mobil-menu-buton span { display: block; height: 2px; background: var(--renk-menu-yazi, var(--renk-text-light)); border-radius: 2px; }

/* ---------- Dil Seçici ---------- */
/* Renkler currentColor/color-mix ile menü yazı rengine bağlı: header zemini
   panelden açık bir renge çevrilse bile buton/kenarlık görünmez hale gelmez. */
.dil-secici { position: relative; margin-left: 18px; }
.dil-secici-buton {
    background: color-mix(in srgb, currentColor 12%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
    color: var(--renk-menu-yazi, var(--renk-text-light));
    padding: 7px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.dil-secici-buton:hover { background: color-mix(in srgb, currentColor 22%, transparent); }
.dil-secici-liste {
    display: none; position: absolute; top: 100%; right: 0; margin-top: 6px; list-style: none;
    padding: 6px 0; margin-block: 6px 0; background: var(--renk-primary); border-radius: 6px;
    min-width: 140px; box-shadow: 0 14px 28px rgba(0,0,0,0.25); z-index: 55;
}
.dil-secici.acik .dil-secici-liste { display: block; }
.dil-secici-liste a {
    display: block; padding: 9px 16px; font-size: 13px; color: var(--renk-menu-yazi, var(--renk-text-light)); text-decoration: none;
}
.dil-secici-liste a:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.dil-secici-liste a.aktif { font-weight: 700; color: var(--renk-accent); }
.dil-secici-gizli { visibility: hidden; pointer-events: none; }

/* ---------- Sağ sabit butonlar ---------- */
.sag-sabit-butonlar {
    position: fixed; right: 18px; bottom: 24px; z-index: 60;
    display: flex; flex-direction: column; gap: 10px;
}
.sabit-buton {
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    border: none; cursor: pointer; text-decoration: none;
}
.sabit-buton-sosyal svg { width: 20px; height: 20px; }
.sabit-buton-sosyal-instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.sabit-buton-sosyal-facebook { background: #1877F2; }
.sabit-buton-sosyal-linkedin { background: #0A66C2; }
.sabit-buton-sosyal-youtube { background: #FF0000; }
.sabit-buton-sosyal-x { background: #000000; }
.sabit-buton-sosyal-tiktok { background: #000000; }
.sabit-buton-whatsapp { background: #25D366; }
.sabit-buton-whatsapp svg { width: 22px; height: 22px; }
.sabit-buton-yukari { background: var(--renk-accent); }

/* ---------- Hero ---------- */
.anasayfa-hero {
    background: linear-gradient(135deg, var(--renk-primary), #000);
    color: var(--renk-text-light);
    padding: 90px 20px;
    text-align: center;
}
.hero-ic { max-width: 700px; margin: 0 auto; }
.anasayfa-hero h1 { font-size: 34px; margin: 0 0 14px; }
.btn-hero {
    display: inline-block; margin-top: 24px; padding: 13px 28px;
    background: var(--renk-accent); color: #fff; text-decoration: none;
    border-radius: 4px; font-weight: 600; transition: background-color 0.15s ease;
}
.btn-hero:hover { background: var(--renk-accent-hover); }

/* ---------- Genel bölümler ---------- */
.anasayfa-bolum { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
.anasayfa-bolum h2 { font-size: 24px; margin-bottom: 20px; }
.anasayfa-bolum-vurgu { background: var(--renk-secondary); max-width: none; }
.anasayfa-bolum-vurgu > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.yer-tutucu { color: #8a8a8a; font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--renk-primary); color: var(--renk-footer-yazi, var(--renk-text-light)); margin-top: 40px; }
.site-footer-ic {
    max-width: 1200px; margin: 0 auto; padding: 40px 20px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: 14px;
}
.footer-sutun { display: flex; flex-direction: column; gap: 8px; }
.footer-sutun a { color: var(--renk-footer-yazi, var(--renk-text-light)); opacity: 0.8; text-decoration: none; }
.footer-sutun a:hover { opacity: 1; }

/* ---------- Ana sayfa slider ---------- */
/* Slider ARKA PLANI tam genişlikte akar (header'ın 1200px sınırına takılmaz);
   yalnızca metin bloğu header ile aynı 1200px hizalama çizgisine bağlanır.
   Yükseklik HER ZAMAN genişliğin %56.25'i (=16:9) olacak şekilde sabitlenir,
   böylece hangi ekran çözünürlüğünde açılırsa açılsın oran bozulmaz;
   1280px üstü genişliklerde max-height 720px'te kilitlenir; görsel object-fit:cover
   ile bu kutuyu kesintisiz doldurur (kırpma olur, blur/boşluk kalmaz). */
.anasayfa-slider {
    position: relative; width: 100%; margin: 0 auto;
    height: 0; padding-top: 56.25%; /* eski tarayıcı yedeği */
    aspect-ratio: 16 / 9; /* modern tarayıcılarda asıl kaynak - height:0 ile birlikte kullanılabilir */
    max-height: 800px; overflow: hidden; background: var(--renk-primary);
}
/* aspect-ratio destekleniyorsa height:0/padding-top'ın etkisini iptal ediyoruz,
   yoksa yukarıdaki padding-top devrede kalıyor (özellik-sorgusu ile katmanlama) */
@supports (aspect-ratio: 16 / 9) {
    .anasayfa-slider { height: auto; padding-top: 0; }
}
.slider-slayt { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.9s ease; }
.slider-slayt.aktif { opacity: 1; }

/* Görsel artık TAM ALANI dolduruyor (object-fit:cover) - kırpma olur ama
   blur/boşluk kalmaz. Her slayt için object-position ayrı ayarlanabilir:
   önemli bina/yapı kadraj dışına düşerse aşağıdaki yüzde değerlerini
   o slaydın odak noktasına göre değiştir (örn. bina sağdaysa "70% 50%"). */
.slider-gorsel {
    position: relative; z-index: 1; width: 100%; height: 100%;
    object-fit: cover; object-position: center center; display: block;
}
/* Bulanık dolgu katmanı artık kullanılmıyor (görsel tüm alanı dolduruyor) */
.slider-arka-plan-blur { display: none; }

/* Slayt bazlı odak noktası - gerektiğinde yüzdeleri değiştir */
.slider-slayt:nth-child(1) .slider-gorsel { object-position: 50% 50%; }
.slider-slayt:nth-child(2) .slider-gorsel { object-position: 50% 50%; }
.slider-slayt:nth-child(3) .slider-gorsel { object-position: 50% 50%; }

/* Metin bloğu: header-ic ile aynı 1200px içerik çizgisine hizalanır
   (geniş ekranda görsel tam genişlik akarken metin ortadaki 1200px'e oturur) */
.slider-icerik {
    position: absolute; z-index: 2;
    left: max(20px, calc((100% - 1200px) / 2));
    right: max(20px, calc((100% - 1200px) / 2));
    bottom: 50px;
    max-width: 560px; max-height: calc(100% - 40px); overflow: hidden;
    padding: 0; color: #fff; text-align: left;
}
.slider-icerik h1 { font-size: 34px; margin: 0 0 10px; text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.slider-icerik p { font-size: 16px; margin: 0 0 18px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.slider-noktalar { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.slider-nokta { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,0.45); cursor: pointer; padding: 0; }
.slider-nokta.aktif { background: #fff; }

/* ---------- İç sayfa başlığı (Kurumsal, İletişim vb.) ---------- */
.ic-sayfa-hero { background: var(--renk-primary); color: var(--renk-text-light); padding: 50px 20px; text-align: center; }
.ic-sayfa-hero h1 { margin: 0; font-size: 28px; }

/* ---------- Dinamik içerik (panelden gelen WYSIWYG metin) ---------- */
.dinamik-icerik { max-width: 800px; margin: 0 auto; line-height: 1.75; }
.dinamik-icerik img { border-radius: 6px; margin: 16px 0; }
.dinamik-icerik h1, .dinamik-icerik h2, .dinamik-icerik h3 {
    color: var(--renk-accent); margin: 32px 0 14px; line-height: 1.3;
}
.dinamik-icerik h1:first-child, .dinamik-icerik h2:first-child, .dinamik-icerik h3:first-child { margin-top: 0; }
.dinamik-icerik h2 { font-size: 24px; }
.dinamik-icerik h3 { font-size: 19px; }
.dinamik-icerik p { margin: 0 0 16px; }
/* Quill editörü paragraflar arasına otomatik boşluk koymuyor; admin panelde
   normal alışkanlıkla iki kez Enter'a basınca Quill bunu BOŞ bir paragraf
   (<p><br></p>) olarak kaydediyor. Sitede paragrafların zaten 16px alt
   boşluğu olduğu için bu boş paragraf ÜZERİNE BİNİYOR ve site editördekinden
   çok daha büyük/garip boşluklu görünüyordu. Bu kural o boş paragrafları
   sitede görünmez/boyutsuz hale getirip fazladan boşluğu ortadan kaldırıyor -
   var olan içeriklere dokunmadan, otomatik düzeltir. */
.dinamik-icerik p:empty,
.dinamik-icerik p:has(> br:only-child) {
    margin: 0; height: 0; line-height: 0; overflow: hidden;
}
.dinamik-icerik ul, .dinamik-icerik ol { margin: 0 0 16px; padding-left: 24px; }
.dinamik-icerik li { margin-bottom: 8px; }
.dinamik-icerik strong { color: var(--renk-text-dark); }
.dinamik-icerik a { color: var(--renk-accent); }

/* ---------- Yönetim kurulu ---------- */
.yonetim-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.yonetim-kart { text-align: center; }
.yonetim-kart img, .yonetim-kart-foto-yok {
    width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px;
}
.yonetim-kart-foto-yok { background: var(--renk-secondary); }
.yonetim-kart h3 { margin: 0 0 4px; font-size: 17px; }
.yonetim-unvan { color: var(--renk-accent); font-size: 13px; font-weight: 600; }
.yonetim-kart p { font-size: 14px; color: #555; margin-top: 10px; }

/* ---------- İletişim ---------- */
.iletisim-bilgi-kart {
    padding: 0; max-width: 480px; margin: 0 auto 24px; text-align: center;
}
.iletisim-bilgi-kart p { margin: 8px 0; }
.iletisim-bilgi-baslik { margin: 0 0 16px; font-size: 18px; color: var(--renk-accent); }
.iletisim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.iletisim-tek-sutun { display: flex; justify-content: center; text-align: center; }

/* ---------- Teklif/Bilgi Formu ---------- */
.teklif-form-kutu { max-width: 480px; }
.teklif-form-baslik { margin: 0 0 16px; font-size: 18px; color: var(--renk-accent); }
.teklif-form { display: flex; flex-direction: column; }
.teklif-form label { font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
.teklif-form input[type=text], .teklif-form input[type=tel],
.teklif-form input[type=email], .teklif-form select, .teklif-form textarea {
    padding: 11px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px;
    font-family: inherit; width: 100%;
}
.teklif-form input:focus, .teklif-form select:focus, .teklif-form textarea:focus {
    outline: none; border-color: var(--renk-accent);
}
.teklif-form-satir { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.teklif-form-satir > div { display: flex; flex-direction: column; }
.teklif-form-satir label { margin-top: 0; }
.teklif-form-buton { border: none; cursor: pointer; margin-top: 22px; align-self: flex-start; }
/* Honeypot: gerçek kullanıcılar görmesin, ekran okuyucular da atlasın */
.teklif-form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-uyari { padding: 14px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.form-uyari-basari { background: #E6F4EA; color: #2E7D4F; }
.form-uyari-hata { background: #FBE9E7; color: #B3261E; }

/* ---------- Adım Adım Sihirbaz Formu (Kentsel Dönüşüm vb.) ---------- */
.sihirbaz-kutu { max-width: 560px; margin: 0 auto; }
.adim-gostergesi { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 28px; }
.adim-nokta {
    width: 34px; height: 34px; border-radius: 50%; background: #eee; color: #999;
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.adim-nokta.aktif { background: var(--renk-primary); color: #fff; }
.adim-nokta.tamam { background: var(--renk-accent); color: #fff; }
.adim-cizgi { width: 36px; height: 2px; background: #eee; }

.sihirbaz-adim { display: none; }
.sihirbaz-adim.aktif { display: block; }
.adim-baslik { text-align: center; margin-bottom: 22px; }
.adim-baslik h3 { margin: 0 0 4px; font-size: 17px; color: var(--renk-accent); }
.adim-baslik span { font-size: 13px; color: #999; }

.adim-butonlar { display: flex; justify-content: space-between; margin-top: 28px; }
.btn-geri { background: none; border: 1px solid #ddd; color: #666; padding: 12px 22px; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 14px; }
.btn-ileri, .btn-gonder {
    border: none; cursor: pointer; padding: 12px 28px;
    background: var(--renk-accent); color: #fff; border-radius: 6px; font-weight: 700; font-size: 14px;
    transition: background-color 0.15s ease;
}
.btn-ileri:hover, .btn-gonder:hover { background: var(--renk-accent-hover); }
.ozet-kutu { background: var(--renk-secondary); border-radius: 8px; padding: 16px 20px; margin: 18px 0; font-size: 13px; line-height: 1.8; }
.ozet-kutu strong { color: var(--renk-accent); display: block; margin-bottom: 6px; }

/* ---------- Site haritası ---------- */
.site-haritasi-liste, .site-haritasi-liste ul { list-style: none; padding-left: 0; }
.site-haritasi-liste > li { margin-bottom: 14px; font-weight: 600; }
.site-haritasi-liste ul { padding-left: 20px; margin-top: 8px; font-weight: 400; }
.site-haritasi-liste a { text-decoration: none; color: var(--renk-text-dark); }
.site-haritasi-liste a:hover { color: var(--renk-accent); }

/* ---------- Proje filtre butonları ---------- */
.proje-filtre-satiri { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.proje-filtre-buton {
    padding: 9px 18px; border-radius: 30px; border: 1px solid var(--renk-accent);
    color: var(--renk-accent); text-decoration: none; font-size: 13px; font-weight: 600;
}
.proje-filtre-buton.aktif, .proje-filtre-buton:hover { background: var(--renk-accent); border-color: var(--renk-accent); color: #fff; }

/* ---------- Referanslar (görsel + metin, 4'lü grid) ---------- */
.referans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.referans-kart {
    border-radius: 8px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    background: #fff; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.referans-kart:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.12); }
.referans-kart-gorsel { width: 100%; height: 180px; object-fit: cover; display: block; }
.referans-kart-gorsel-yok { background: var(--renk-secondary); }
.referans-kart-icerik { padding: 18px 16px; }
.referans-kart-icerik h3 { margin: 0 0 8px; font-size: 15px; color: var(--renk-text-dark); }
.referans-kart-icerik p { margin: 0; font-size: 13px; color: #777; line-height: 1.6; }

/* ---------- Kurumsal Kutuları (ana sayfa) ---------- */
/* Grid yerine flexbox: kaç kutu olursa olsun ORTALANIYOR ve container
   genişliğine göre YÜZDE ile hesaplanıyor (sabit piksel değil), böylece
   4 kutu HER ZAMAN tam bir sırada, eksik sayılarda da orantılı/dengeli
   görünüyor - 2 kutu küçük kare değil, geniş dikdörtgen kart olur. */
.kurumsal-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.kurumsal-kart {
    border-radius: 8px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    background: #fff; text-decoration: none; color: inherit; display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease; padding: 22px 18px;
}
.kurumsal-grid-say-1 .kurumsal-kart { flex: 0 1 100%; max-width: 480px; }
.kurumsal-grid-say-2 .kurumsal-kart { flex: 0 1 calc(50% - 8px); }
.kurumsal-grid-say-3 .kurumsal-kart { flex: 0 1 calc(33.333% - 11px); }
.kurumsal-grid-say-4 .kurumsal-kart { flex: 0 1 calc(25% - 12px); }
.kurumsal-kart:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.12); }
.kurumsal-kart { text-align: center; }
.kurumsal-kart-ikon {
    width: 46px; height: 46px; border-radius: 10px; background: var(--renk-secondary);
    color: var(--renk-accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.kurumsal-kart-ikon svg { width: 24px; height: 24px; }
.kurumsal-kart-icerik h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.3; color: var(--renk-text-dark); }
.kurumsal-kart-icerik p { margin: 0; font-size: 13px; color: #888; line-height: 1.5; }

/* ---------- Neden Ekşioğlu Cadde? (footer üstü şerit, ana sayfa) ---------- */
.neden-bizi-serit {
    padding: 60px 20px;
}
.neden-bizi-baslik { text-align: center; margin-bottom: 40px; }
.neden-bizi-baslik span {
    display: block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--renk-accent); font-weight: 700; margin-bottom: 8px;
}
.neden-bizi-baslik h2 { margin: 0; font-size: 24px; color: var(--renk-text-dark); }
.neden-bizi-hat-kutu { max-width: 1100px; margin: 0 auto; position: relative; }
.neden-bizi-hat { position: absolute; top: 22px; left: 60px; right: 60px; height: 2px; background: var(--renk-accent); opacity: 0.35; }
.neden-bizi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.neden-bizi-nokta {
    width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--renk-accent);
    color: var(--renk-accent); display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; position: relative; z-index: 2;
}
.neden-bizi-nokta svg { width: 20px; height: 20px; }
.neden-bizi-oge { text-align: center; }
.neden-bizi-oge strong { display: block; font-size: 14.5px; margin-bottom: 6px; color: var(--renk-text-dark); }
.neden-bizi-oge p { margin: 0; font-size: 12.5px; color: #666; line-height: 1.6; padding: 0 6px; }

/* ---------- Proje kart grid ---------- */
.proje-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.proje-kart {
    display: block; text-decoration: none; color: inherit; border-radius: 8px; overflow: hidden;
    background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,0.08); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.proje-kart:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.14); }
.proje-kart img, .proje-kart-gorsel-yok { width: 100%; height: 190px; object-fit: cover; }
.proje-kart-gorsel-yok { background: var(--renk-secondary); }
.proje-kart-icerik { padding: 16px 18px; }
.proje-kart-icerik h3 { margin: 0 0 6px; font-size: 17px; }
.proje-kart-konum { color: var(--renk-accent); font-size: 13px; font-weight: 600; }

/* ---------- Proje detay sayfası ---------- */
.proje-detay-kapak {
    height: 420px; background-size: cover; background-position: center;
    display: flex; align-items: flex-end; position: relative;
}
.proje-detay-kapak-golge {
    width: 100%; background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0));
    padding: 50px 20px 26px; color: #fff;
}
.proje-detay-kapak-golge h1 { margin: 8px 0 0; font-size: 30px; }
.durum-rozet {
    background: var(--renk-accent); color: #fff; font-size: 12px; font-weight: 700;
    padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.4px;
}
.proje-detay-govde { max-width: 850px; }

/* ---------- Çerez onay bandı (kart tasarımı) + tercih modalı ---------- */
.cerez-bandi {
    position: fixed; left: 24px; bottom: 24px; z-index: 300;
    background: #fff; border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    border-left: 4px solid var(--renk-accent);
    padding: 22px 24px; max-width: 380px;
    display: flex; flex-direction: column; gap: 14px;
    animation: cerezBandiYukari 0.35s ease;
}
@keyframes cerezBandiYukari {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.cerez-bandi-ust { display: flex; align-items: flex-start; gap: 12px; }
.cerez-bandi-ikon {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
    background: color-mix(in srgb, var(--renk-accent) 14%, transparent);
    color: var(--renk-accent); display: flex; align-items: center; justify-content: center;
}
.cerez-bandi-ikon svg { width: 20px; height: 20px; }
.cerez-bandi h3 { margin: 0 0 4px; font-size: 15px; color: var(--renk-text-dark); }
.cerez-bandi p { margin: 0; font-size: 13px; color: #666; line-height: 1.6; }
.cerez-bandi a { color: var(--renk-accent); text-decoration: underline; font-weight: 600; }
.cerez-bandi-butonlar { display: flex; justify-content: flex-end; }
.cerez-bandi-butonlar button { width: 100%; }

.cerez-modal-arka-plan {
    position: fixed; inset: 0; z-index: 310; background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.cerez-modal {
    background: #fff; border-radius: 10px; max-width: 520px; width: 100%;
    max-height: 88vh; overflow-y: auto; padding: 24px;
}
.cerez-modal-baslik { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cerez-modal-baslik h2 { margin: 0; font-size: 20px; }
.cerez-modal-baslik button { background: none; border: none; font-size: 24px; cursor: pointer; color: #888; line-height: 1; }
.cerez-modal > p { font-size: 13.5px; color: #555; margin: 0 0 16px; }
.cerez-kategori { background: var(--renk-secondary); border-radius: 8px; padding: 14px 16px; margin-bottom: 12px; }
.cerez-kategori-baslik { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cerez-kategori-baslik strong { font-size: 14.5px; }
.cerez-her-zaman-aktif { font-size: 12px; color: #888; font-weight: 600; }
.cerez-kategori p { font-size: 12.5px; color: #666; margin: 0 0 8px; }
.cerez-kategori ul { margin: 0; padding-left: 18px; font-size: 12.5px; color: #555; }
.cerez-kategori code { background: rgba(0,0,0,0.06); padding: 1px 5px; border-radius: 3px; }
.cerez-modal-butonlar { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }

.harita-konteyner { position: relative; min-height: 200px; }
.harita-yer-tutucu {
    background: var(--renk-secondary); border-radius: 8px; padding: 30px 20px;
    text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.harita-yer-tutucu p { margin: 0; font-size: 13px; color: #666; max-width: 380px; }

@media (max-width: 640px) {
    .cerez-bandi { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
.proje-geri-don {
    display: inline-block; margin-bottom: 18px; font-size: 14px; font-weight: 600;
    color: var(--renk-accent); text-decoration: none;
}
.proje-geri-don:hover { text-decoration: underline; }

/* ---------- Proje Detay Sekmeleri (yatay) ---------- */
.proje-sekme-butonlari {
    display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px;
    border-bottom: 2px solid #eee;
}
.proje-sekme-buton {
    background: none; border: none; cursor: pointer; padding: 12px 18px;
    font-size: 14px; font-weight: 600; color: var(--renk-text-dark); opacity: 0.5; border-bottom: 3px solid transparent;
    margin-bottom: -2px; transition: color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.proje-sekme-buton:hover { color: var(--renk-accent); opacity: 1; }
.proje-sekme-buton.aktif { color: var(--renk-accent); opacity: 1; border-bottom-color: var(--renk-accent); }

.proje-sekme-icerik { display: none; }
.proje-sekme-icerik.aktif { display: block; animation: sekmeGorunur 0.2s ease; }
@keyframes sekmeGorunur { from { opacity: 0; } to { opacity: 1; } }

.proje-ozellik-listesi { display: flex; gap: 34px; flex-wrap: wrap; }
.proje-ozellik-listesi div { display: flex; flex-direction: column; gap: 4px; }
.proje-ozellik-listesi strong { display: block; font-size: 12px; color: var(--renk-text-dark); opacity: 0.55; text-transform: uppercase; letter-spacing: 0.4px; }
.proje-ozellik-listesi span { display: block; font-size: 15px; font-weight: 600; }
.proje-ozellik-madde-listesi { margin: 22px 0 0; padding-left: 20px; }
.proje-ozellik-madde-listesi li { margin-bottom: 10px; font-size: 15px; line-height: 1.6; }

.proje-galeri-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.proje-galeri-oge { border: none; padding: 0; cursor: pointer; border-radius: 6px; overflow: hidden; background: none; }
.proje-galeri-oge img { width: 100%; height: 140px; object-fit: cover; display: block; transition: transform 0.3s ease; }
.proje-galeri-oge:hover img { transform: scale(1.06); }

/* ---------- Lightbox ---------- */
.lightbox {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 200;
    align-items: center; justify-content: center;
}
.lightbox.acik { display: flex; }
.lightbox img { max-width: 88%; max-height: 85%; border-radius: 4px; }
.lightbox-kapat, .lightbox-onceki, .lightbox-sonraki {
    position: absolute; background: rgba(255,255,255,0.12); border: none; color: #fff;
    cursor: pointer; border-radius: 50%; width: 44px; height: 44px; font-size: 18px;
}
.lightbox-kapat { top: 20px; right: 20px; }
.lightbox-onceki { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-sonraki { right: 20px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
    .mobil-menu-buton { display: flex; }
    /* Mobilde dil seçici tamamen kaldırılıyor (görünür ya da gizli yer
       tutucu fark etmeksizin) - hamburger menü böylece her zaman en sağda
       tek başına kalıyor. */
    .dil-secici { display: none !important; }
    .ana-menu {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--renk-primary); padding: 10px 0;
    }
    .ana-menu.acik { display: block; }
    .ana-menu > ul { flex-direction: column; gap: 0; padding: 0 12px; }
    .alt-menu {
        position: static; box-shadow: none; background: rgba(0,0,0,0.15);
        margin-top: 0; max-width: none; opacity: 1; visibility: visible; transform: none;
        display: none;
    }
    .alt-menulu.acik .alt-menu { display: block; }
    .site-footer-ic { grid-template-columns: 1fr; }
    .anasayfa-hero h1 { font-size: 26px; }
    /* Slider: 16:9 oranında bu genişlikte içerik bloğuna (başlık+açıklama+CTA)
       yetecek yükseklik kalmıyor (ör. 375px genişlikte 210px yükseklik).
       min-height ile tabanı yükseltiyoruz; görsel object-fit:cover ile bu
       alanı da kesintisiz dolduruyor (üstten/alttan biraz daha kırpar). */
    .anasayfa-slider { min-height: 380px; }
    .slider-icerik { max-height: calc(100% - 20px); }
    .proje-detay-kapak { height: 260px; }
    .proje-detay-kapak-golge h1 { font-size: 22px; }
    .lightbox-onceki, .lightbox-sonraki { width: 36px; height: 36px; font-size: 14px; }
    .proje-sekme-butonlari { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .proje-sekme-buton { white-space: nowrap; padding: 10px 14px; font-size: 13px; }
    .iletisim-grid { grid-template-columns: 1fr; gap: 30px; }
    .teklif-form-satir { grid-template-columns: 1fr; }
    .slider-icerik { bottom: 20px; padding: 0 20px; max-width: 90%; }
    .slider-icerik h1 { font-size: 20px; margin-bottom: 6px; }
    .slider-icerik p { font-size: 13px; margin-bottom: 12px; }
    .slider-icerik .btn-hero { padding: 10px 20px; font-size: 13px; }
    .kurumsal-grid { gap: 12px; }
    .kurumsal-grid-say-1 .kurumsal-kart,
    .kurumsal-grid-say-2 .kurumsal-kart,
    .kurumsal-grid-say-3 .kurumsal-kart,
    .kurumsal-grid-say-4 .kurumsal-kart { flex-basis: calc(50% - 6px); max-width: none; }
    .neden-bizi-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
    .neden-bizi-hat { display: none; }
    .referans-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
    .sag-sabit-butonlar { right: 12px; bottom: 16px; }
    .sabit-buton { width: 42px; height: 42px; }
}
