/* ===========================================================
   Pulat İnşaat — Modern Kurumsal (Antrasit + Altın) · rafine
   =========================================================== */

:root {
    --ink:        #14181d;
    --charcoal:   #161a20;
    --charcoal-2: #1f242c;
    --charcoal-3: #2a313b;
    --muted:      #6b7480;
    --muted-2:    #9aa3ad;
    --line:       #e8eaef;
    --line-2:     #dcdfe6;
    --bg:         #ffffff;
    --bg-soft:    #f6f7f9;
    --bg-soft-2:  #eef0f4;
    --accent:     #a08c69;   /* şampanya altın (piev) */
    --accent-2:   #8a774f;
    --accent-3:   #6f5e3c;
    --accent-soft:rgba(160,140,105,.12);
    --radius:     14px;
    --radius-sm:  10px;
    --shadow-sm:  0 1px 2px rgba(20,24,29,.05), 0 10px 30px rgba(20,24,29,.06);
    --shadow:     0 16px 44px rgba(20,24,29,.12);
    --shadow-lg:  0 34px 80px rgba(20,24,29,.22);
    --container:  1200px;
    --ease:       cubic-bezier(.22,.61,.36,1);
    --font-head:  'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg);
    line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; letter-spacing: -.022em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1.1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Eyebrow / numara etiketi ---------- */
.index-label {
    display: inline-flex; align-items: center; gap: .7rem;
    font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--accent-3); margin-bottom: 1.2rem;
}
.index-label::before { content: ""; width: 30px; height: 2px; background: var(--accent); }
.index-label .num { display: none; }
.index-label.center { justify-content: center; }

.section { padding: clamp(68px, 9vw, 124px) 0; }
.section--sand, .section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto clamp(42px, 5vw, 66px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.text-muted { color: var(--muted); }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--charcoal-2); }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-family: var(--font-head); font-weight: 700; font-size: .96rem;
    padding: .9rem 1.8rem; border-radius: 100px; border: 1.5px solid transparent;
    cursor: pointer; transition: all .28s var(--ease); white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .28s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(160,140,105,.30); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(160,140,105,.42); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--charcoal-2); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--charcoal-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-3); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
.link-arrow:hover { color: var(--accent-3); gap: .8rem; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 22px 0;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.scrolled .brand img { height: 40px; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a { font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: rgba(255,255,255,.86); position: relative; padding: .3rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width .28s var(--ease); }
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 1.3rem; }
.header-phone { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: #fff; }
.header-phone svg { width: 17px; height: 17px; color: var(--accent); }

/* Scroll → beyaz başlık */
.site-header.scrolled { background: rgba(255,255,255,.97); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); padding: 13px 0; }
/* Menü açıkken backdrop-filter'ı kaldır: aksi halde header, fixed konumlu mobil menü için
   "containing block" oluşturup tam ekran menüyü header kutusuna sıkıştırıyor (kaydırınca bozulma). */
.site-header:has(.nav.open),
.site-header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.scrolled .brand .logo-white { display: none; }
.site-header.scrolled .brand .logo-dark { display: block; }
.site-header.scrolled .nav a { color: var(--charcoal-2); }
.site-header.scrolled .nav a:hover, .site-header.scrolled .nav a.active { color: var(--ink); }
.site-header.scrolled .header-phone { color: var(--ink); }

.nav-toggle { display: none; position: relative; z-index: 110; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease); border-radius: 2px; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
/* Menü açıkken hamburger X'e döner ve toggle her zaman beyaz kalır (koyu overlay üstünde) */
.nav.open ~ .header-cta .nav-toggle span { background: #fff; }
.nav.open ~ .header-cta .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.open ~ .header-cta .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open ~ .header-cta .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (tam ekran, koyu) ---------- */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden;
    background: var(--charcoal); background-size: cover; background-position: center;
    background-image: url('../img/hero-desktop.webp');
}
@media (max-width: 768px) {
    .hero { background-image: url('../img/hero-mobile.webp'); }
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,21,26,.92) 0%, rgba(18,21,26,.6) 55%, rgba(18,21,26,.35) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 80% 30%, rgba(160,140,105,.16), transparent 60%); }
.hero .container { position: relative; z-index: 2; padding-top: 100px; padding-bottom: 70px; }
.hero-inner { max-width: 720px; }
.hero .index-label { color: var(--accent); }
.hero .index-label::before { background: var(--accent); }
.hero h1 { color: #fff; margin-bottom: 1.4rem; letter-spacing: -.025em; }
.hero h1 .accent { color: var(--accent); }
.hero p { font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: rgba(255,255,255,.84); max-width: 560px; margin-bottom: 2.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-stats { display: flex; gap: clamp(28px, 5vw, 64px); margin-top: clamp(40px, 6vw, 72px); padding-top: 36px; border-top: 1px solid rgba(255,255,255,.14); flex-wrap: wrap; }
.hero-stats .hs strong { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; display: block; line-height: 1; }
.hero-stats .hs strong .plus { color: var(--accent); }
.hero-stats .hs span { color: rgba(255,255,255,.6); font-size: .88rem; margin-top: .4rem; display: block; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.55); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.scroll-cue::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: scaleY(.3); transform-origin: top; } 50% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; } }

/* ---------- İç sayfa başlık ---------- */
.page-hero { position: relative; background: var(--charcoal); color: #fff; padding: clamp(140px, 18vw, 200px) 0 clamp(54px, 7vw, 84px); background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,21,26,.74), rgba(18,21,26,.86)); }
.page-hero .container { position: relative; z-index: 2; text-align: center; }
.page-hero .index-label { color: var(--accent); justify-content: center; }
.page-hero .index-label::before { background: var(--accent); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 60ch; margin: .6rem auto 0; font-size: 1.12rem; }
.breadcrumb { display: flex; justify-content: center; gap: .5rem; font-size: .88rem; color: rgba(255,255,255,.55); margin-top: 1.4rem; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.4; background: var(--bg-soft-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-badge { position: absolute; left: 24px; bottom: 24px; background: var(--charcoal); color: #fff; padding: 18px 24px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.split-badge strong { font-family: var(--font-head); font-size: 2rem; color: var(--accent); display: block; line-height: 1; }
.split-badge span { font-size: .82rem; color: rgba(255,255,255,.72); }
.check-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 0; }
.check-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-list .ci { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-3); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 800; font-size: .8rem; font-family: var(--font-head); }
.check-list strong { font-family: var(--font-head); }

/* ---------- Hizmet kartları ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.service { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 34px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .35s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { width: 100%; }
.service .s-num { position: absolute; top: 30px; right: 34px; font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--line-2); }
.service .s-icon { width: 58px; height: 58px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-3); display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; }
.service .s-icon svg { width: 28px; height: 28px; stroke-width: 1.6; }
.service h3 { font-size: 1.35rem; margin: 0 0 .6rem; }
.service p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Projeler ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--charcoal); aspect-ratio: 3/3.5; box-shadow: var(--shadow-sm); }
.project-card .pc-media { position: absolute; inset: 0; }
.project-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(18,21,26,0) 38%, rgba(18,21,26,.9) 100%); }
.project-card:hover .pc-media img { transform: scale(1.07); }
.project-card .pc-num { position: absolute; top: 20px; left: 22px; z-index: 2; font-family: var(--font-head); font-weight: 800; color: #fff; opacity: .85; }
.project-card .pc-tag { position: absolute; top: 20px; right: 20px; z-index: 2; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 100px; }
.project-card .pc-tag.ongoing { background: var(--charcoal-3); }
.project-card .pc-tag.upcoming { background: #c4b393; color: var(--ink); }
.project-card .pc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.project-card .pc-body h3 { color: #fff; font-size: 1.4rem; margin: 0 0 .2rem; }
.project-card .pc-meta { color: rgba(255,255,255,.75); font-size: .9rem; }
.project-card .pc-arrow { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; flex-shrink: 0; opacity: 0; transform: translateY(8px); transition: all .35s var(--ease); }
.project-card:hover .pc-arrow { opacity: 1; transform: translateY(0); background: var(--accent); }
.project-card .pc-arrow svg { width: 20px; height: 20px; color: #fff; }

/* ---------- İstatistik bandı ---------- */
.stats { background: var(--charcoal); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 14px clamp(12px, 2vw, 26px); border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; }
.stat strong { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); color: #fff; display: block; line-height: 1; }
.stat .plus { color: var(--accent); }
.stat span { color: rgba(255,255,255,.62); font-size: .92rem; margin-top: .6rem; display: block; }

/* ---------- CTA ---------- */
.cta-band { position: relative; background: linear-gradient(120deg, var(--charcoal), var(--charcoal-3)); color: #fff; border-radius: var(--radius); padding: clamp(44px, 6vw, 76px); overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(160,140,105,.22), transparent 70%); }
.cta-band-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 2.2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.78); margin: .6rem 0 0; }

/* ---------- Proje detay: görsel-öncelikli kompakt hero ---------- */
.project-hero { position: relative; min-height: 74vh; display: flex; align-items: flex-end; color: #fff; background: var(--charcoal); background-size: cover; background-position: center; overflow: hidden; }
.project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,21,26,.55) 0%, rgba(18,21,26,.06) 26%, rgba(18,21,26,.06) 48%, rgba(18,21,26,.9) 100%); }
.project-hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 72px); text-align: left; width: 100%; }
.project-hero .ph-tag { display: inline-block; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .9rem; border-radius: 100px; margin-bottom: 1.1rem; }
.project-hero .ph-tag.ongoing { background: var(--charcoal-3); }
.project-hero .ph-tag.upcoming { background: #c4b393; color: var(--ink); }
.project-hero h1 { color: #fff; margin: 0; font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
.project-hero .ph-meta { color: rgba(255,255,255,.82); margin-top: .7rem; font-size: 1.05rem; display: flex; align-items: center; gap: .6rem; }
.project-hero .breadcrumb { justify-content: flex-start; margin-top: 1.4rem; }

/* Hikâye blokları (dönüşümlü yazı/görsel) */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.story + .story { margin-top: clamp(54px, 8vw, 100px); }
.story-media { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.1; background: var(--bg-soft-2); cursor: zoom-in; }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story-media:hover img { transform: scale(1.04); }
.story-text .lead { margin-bottom: 1.1rem; }

/* ---------- Proje detay galeri ---------- */
.detail-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.detail-gallery a { border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft-2); cursor: zoom-in; }
.detail-gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.detail-gallery a:hover img { transform: scale(1.05); }
.detail-gallery a:nth-child(3n+1) { grid-column: span 7; aspect-ratio: 16/10; }
.detail-gallery a:nth-child(3n+2) { grid-column: span 5; aspect-ratio: 4/5; }
.detail-gallery a:nth-child(3n+3) { grid-column: span 12; aspect-ratio: 16/7; }

/* ---------- Lightbox (galeri büyüteci) ---------- */
.lb-overlay { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(15,17,21,.94); padding: 24px; -webkit-user-select: none; user-select: none; }
.lb-overlay.open { display: flex; }
.lb-stage { display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; }
.lb-img { max-width: 90vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); cursor: zoom-out; }
.lb-close { position: absolute; top: 14px; right: 18px; width: 46px; height: 46px; background: none; border: 0; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; opacity: .85; }
.lb-close:hover { opacity: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; -webkit-tap-highlight-color: transparent; }
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: .9rem; letter-spacing: .03em; }
@media (max-width: 640px) {
    .lb-overlay { padding: 12px; }
    .lb-img { max-width: 96vw; max-height: 82vh; }
    .lb-nav { width: 48px; height: 48px; bottom: 14px; top: auto; transform: none; background: rgba(255,255,255,.16); }
    .lb-prev { left: 14px; }
    .lb-next { right: 14px; }
    .lb-count { bottom: 26px; }
}
.spec-list { counter-reset: spec; }
.spec-table { list-style: none; padding: 0; margin: 0; }
.spec-table li { display: flex; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); align-items: center; font-size: 1.05rem; }
.spec-table li:first-child { border-top: 1px solid var(--line); }
.spec-table li::before { content: counter(spec, decimal-leading-zero); counter-increment: spec; font-family: var(--font-head); font-weight: 800; color: var(--accent); font-size: .82rem; flex-shrink: 0; }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(34px, 5vw, 60px); }
.info-card { display: flex; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.info-card:first-child { border-top: 1px solid var(--line); }
.info-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card strong { display: block; font-family: var(--font-head); margin-bottom: .15rem; }
.info-card a, .info-card span { color: var(--muted); }
.info-card a:hover { color: var(--accent-3); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 42px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
.field input, .field textarea, .field select { width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); font: inherit; font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); line-height: 0; }
.map-wrap iframe { width: 100%; height: 400px; border: 0; }

/* ---------- Uyarı ---------- */
.alert { padding: 1rem 1.3rem; border-radius: var(--radius-sm); margin-bottom: 1.3rem; font-size: .96rem; }
.alert--ok { background: #e8f6ee; color: #1b7a44; border: 1px solid #bfe6cd; }
.alert--err { background: #fcebea; color: #b4231b; border: 1px solid #f3c6c3; }

/* ---------- Blog ---------- */
.blog-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px,4vw,52px); align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .3s var(--ease); }
.blog-featured:hover { box-shadow: var(--shadow); }
.blog-featured-media { aspect-ratio: 16/11; background: var(--bg-soft-2); overflow: hidden; }
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.blog-featured:hover .blog-featured-media img { transform: scale(1.04); }
.blog-featured-body { padding: clamp(26px,3vw,44px); }
.blog-featured-body h2 { margin: .8rem 0 .8rem; font-size: clamp(1.6rem,2.6vw,2.2rem); }
.blog-featured-body p { color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-media { aspect-ratio: 16/10; background: var(--bg-soft-2); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.2rem; margin: .5rem 0 .6rem; }
.post-card:hover .post-card-body h3 { color: var(--accent-3); }
.post-card-body p { color: var(--muted); font-size: .95rem; margin: 0 0 1rem; }
.post-date { font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-3); }
.read-more { margin-top: auto; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink); }
.post-card:hover .read-more, .blog-featured:hover .read-more { color: var(--accent-3); }
.article { font-size: 1.12rem; line-height: 1.85; color: #2b323b; }
.article h2 { font-size: 1.9rem; margin: 2.2rem 0 1rem; }
.article h3 { font-size: 1.4rem; margin: 1.9rem 0 .8rem; }
.article p { margin: 0 0 1.3rem; }
.article a { color: var(--accent-3); text-decoration: underline; text-underline-offset: 3px; }
.article ul, .article ol { margin: 0 0 1.3rem; padding-left: 1.4rem; }
.article li { margin-bottom: .5rem; }
.article img { border-radius: var(--radius-sm); margin: 1.6rem 0; }
.article blockquote { border-left: 3px solid var(--accent); padding: .4rem 0 .4rem 1.4rem; margin: 1.6rem 0; color: var(--muted); font-style: italic; font-size: 1.2rem; }
.post-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-tag { background: var(--bg-soft); color: var(--charcoal-2); font-size: .85rem; padding: .35rem .9rem; border-radius: 100px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.66); padding: clamp(64px,8vw,96px) 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 44px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 38px; margin-bottom: 1.4rem; }
.footer-brand p { font-size: .96rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 1rem; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; align-items: flex-start; font-size: .95rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.social { display: flex; gap: .7rem; margin-top: 1.3rem; }
.social a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: all .25s var(--ease); }
.social a:hover { background: var(--accent); transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; color: #fff; }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; color: rgba(255,255,255,.48); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Reveal & misc ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.wa-float { position: fixed; right: 24px; bottom: 24px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(37,211,102,.42); z-index: 90; transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
.empty-state { text-align: center; padding: 64px 20px; color: var(--muted); }
.empty-state svg { width: 52px; height: 52px; color: var(--muted-2); margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.5rem; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1000px) {
    .grid-3, .project-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .split, .contact-grid, .blog-featured { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); }
    .stat { background: var(--charcoal); padding: 30px; border-left: 0; }
    .detail-gallery a:nth-child(n) { grid-column: span 6; aspect-ratio: 4/3; }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .container { padding: 0 20px; }
    .nav, .header-phone { display: none; }
    .nav-toggle { display: block; }
    .nav.open { display: flex; position: fixed; inset: 0; background: var(--charcoal); flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem; }
    /* scrolled durumundaki koyu link rengini ezecek özgüllük (okunabilirlik) */
    .site-header .nav.open a,
    .site-header.scrolled .nav.open a { color: #fff; font-size: 1.5rem; }
    .nav.open a::after { display: none; }
    /* Aktif sayfa: tema altın rengiyle altı çizili (hangi menüde olduğun belli olsun) */
    .nav.open a.active::after { display: block; left: 0; width: 100%; height: 3px; bottom: -8px; background: var(--accent); }
    .header-cta .btn { display: none; }
    .grid-3, .grid-2, .project-grid, .blog-grid, .field-row { grid-template-columns: 1fr; }
    .detail-gallery a:nth-child(n) { grid-column: span 12; }
    .hero { min-height: 92vh; }
    .cta-band-inner { flex-direction: column; align-items: flex-start; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
    .footer-bottom { flex-direction: column; }
}
@media (max-width: 480px) {
    .stats-grid, .footer-top { grid-template-columns: 1fr; }
    .hero-stats { gap: 26px; }
}
