/* =========================================================
   Cemil Mala İnşaat: site stilleri
   Renkler beton, mermer yeşili ve pirinç tonlarından gelir.
   ========================================================= */

:root {
    --paper:   #eef0ec;
    --paper-2: #e1e5df;
    --white:   #fafbf9;
    --ink:     #17201d;
    --ink-2:   #4a5651;
    --verde:   #1f3a32;
    --verde-2: #2c5246;
    --brass:   #a9844a;
    --brass-2: #c9a76f;
    --line:    rgba(23, 32, 29, .16);
    --line-inv: rgba(238, 240, 236, .2);

    --sans:  "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
    --serif: "Source Serif 4", "Source Serif Fallback", Georgia, "Times New Roman", serif;
    --display: "Archivo", "Archivo Display Fallback", system-ui, sans-serif;

    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius: 3px;
    --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    font-variation-settings: "wdth" 100;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 600; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 1px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }

/* Yazı tipi inene kadar gösterilen yedek yazı, asıl yazıyla aynı genişlikte: yüklenince satırlar kaymaz */
@font-face { font-family: "Archivo Fallback"; src: local('Arial'), local('ArialMT'), local('Roboto'), local('Helvetica Neue'), local('Helvetica'); size-adjust: 98.7%; }
@font-face { font-family: "Archivo Display Fallback"; src: local('Arial'), local('ArialMT'), local('Roboto'), local('Helvetica Neue'), local('Helvetica'); size-adjust: 108.8%; }
@font-face { font-family: "Source Serif Fallback"; src: local('Georgia'), local('Noto Serif'), local('Times New Roman'); size-adjust: 94.4%; }
.hero h1, .page-head h1, .project-head h1, .section-head h2, .cta h2, .facts dd, .brand-text strong { font-family: var(--display); }

/* ---------- Tipografi yardımcıları ---------- */

.h3 { font-size: 1.375rem; font-weight: 600; margin-bottom: 20px; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 60ch; margin-top: 18px; }
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1em; }
.prose--serif, .project-text .prose { font-family: var(--serif); font-size: 1.15rem; line-height: 1.72; }
.display-quote {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: -.005em;
}
.link {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--brass);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
.link:hover { color: var(--verde-2); }

/* ---------- Düğmeler ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 24px;
    background: var(--verde); color: var(--white);
    border: 1px solid var(--verde); border-radius: var(--radius);
    font: 600 1rem/1.2 var(--sans); font-variation-settings: "wdth" 104;
    text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--verde-2); border-color: var(--verde-2); }
.btn--ghost { background: transparent; color: var(--verde); }
.btn--ghost:hover { background: var(--verde); color: var(--white); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--white); border-color: var(--white); }
.btn--block { width: 100%; }

/* ---------- Üst bölüm ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(238, 240, 236, .94);
    backdrop-filter: saturate(1.2) blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--verde); }
.brand img { max-height: 48px; width: auto; }
.brand-mark svg { width: 38px; height: 38px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.25rem; font-weight: 700; font-variation-settings: "wdth" 118; letter-spacing: -.01em; color: var(--ink); }
.brand-text span { font-size: .875rem; color: var(--ink-2); font-variation-settings: "wdth" 118; letter-spacing: .02em; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a { text-decoration: none; }
.main-nav ul a {
    display: block; padding: 8px 12px; font-weight: 500; font-size: .98rem; color: var(--ink-2);
    border-bottom: 2px solid transparent;
}
.main-nav ul a:hover { color: var(--ink); }
.main-nav ul a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brass); }
.header-phone {
    font-weight: 600; font-variation-settings: "wdth" 108; color: var(--verde);
    padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); white-space: nowrap;
}
.header-phone:hover { border-color: var(--verde); }

.nav-toggle { display: none; }

@media (max-width: 960px) {
    .nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
        width: 46px; height: 46px; padding: 0 11px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
    }
    .nav-toggle span:not(.sr) { display: block; height: 2px; background: var(--ink); transition: transform .2s; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

    .main-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 16px;
        padding: 12px var(--gutter) 24px;
        background: var(--paper); border-bottom: 1px solid var(--line);
        display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
    .main-nav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--verde); font-weight: 600; }
    .header-phone { text-align: center; padding: 14px; }
}

/* ---------- Ana sayfa giriş ---------- */

.hero { padding: clamp(40px, 6vw, 72px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
    font-size: clamp(2.5rem, 5.6vw, 4.75rem);
    font-weight: 600;
    font-variation-settings: "wdth" 112;
    line-height: 1.02;
    letter-spacing: -.02em;
}
.hero-lead { font-size: clamp(1.0625rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 52ch; margin: 28px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; }
.hero-visual--photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

.elev { width: 100%; height: auto; display: block; }
.elev-grid path { stroke: var(--line); stroke-width: 1; fill: none; stroke-dasharray: 2 6; }
.elev-lines path { fill: none; stroke: var(--verde); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.elev-lines .elev-dash { stroke: var(--brass); stroke-dasharray: 5 6; }
.elev-windows rect { fill: none; stroke: var(--verde-2); stroke-width: 1; opacity: .55; }

@media (prefers-reduced-motion: no-preference) {
    .elev-lines path[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s cubic-bezier(.6, .1, .3, 1) forwards; }
    .elev-lines path:nth-child(2) { animation-delay: .15s; }
    .elev-lines path:nth-child(3) { animation-delay: .45s; }
    .elev-lines path:nth-child(4) { animation-delay: .6s; animation-duration: 1.8s; }
    .elev-lines path:nth-child(5) { animation-delay: .5s; }
    .elev-lines path:nth-child(6) { animation-delay: .8s; }
    .elev-lines path:nth-child(8) { animation-delay: .9s; animation-duration: 1.8s; }
    .elev-lines path:nth-child(9) { animation-delay: 1.4s; }
    .elev-lines path:nth-child(10) { animation-delay: 1.9s; }
    .elev-lines .elev-dash, .elev-windows { opacity: 0; animation: appear .8s ease 1.8s forwards; }
    .elev-windows { animation-delay: 1.6s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

.facts {
    display: grid; grid-template-columns: repeat(4, 1fr);
    margin-top: clamp(40px, 6vw, 72px);
    border-top: 1px solid var(--ink);
}
.facts > div { padding: 18px 20px 0 0; }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { font-size: .875rem; color: var(--ink-2); }
.facts dd { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; font-variation-settings: "wdth" 112; letter-spacing: -.01em; margin-top: 4px; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 480px; }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .facts > div { padding-bottom: 18px; }
}

/* ---------- Bölümler ---------- */

.section { padding: var(--section) 0; }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark a { color: var(--brass-2); }
.home .hero + .section { padding-top: clamp(72px, 9vw, 120px); }

.section-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-variation-settings: "wdth" 108; letter-spacing: -.015em; }
.section-note { color: var(--ink-2); margin: 0; }
.section--dark .section-note { color: rgba(238, 240, 236, .7); }
.section-note a { font-weight: 600; text-underline-offset: 4px; }
.more { margin-top: 36px; }

/* ---------- İç sayfa başlığı ---------- */

.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head h1, .project-head h1 {
    font-size: clamp(2.4rem, 5.4vw, 4.25rem);
    font-variation-settings: "wdth" 112;
    letter-spacing: -.02em;
    line-height: 1.04;
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--ink-2); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Proje kartları ---------- */

.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); }
.pgrid--three { grid-template-columns: repeat(3, 1fr); }

.pcard-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.pcard-media {
    position: relative; overflow: hidden; border-radius: var(--radius);
    aspect-ratio: 4 / 3; background: var(--verde-2);
}
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.pcard-link:hover .pcard-media img { transform: scale(1.03); }
.pcard-body { padding-top: 18px; }
.pcard-title { font-size: 1.5rem; font-variation-settings: "wdth" 106; letter-spacing: -.01em; }
.pcard-link:hover .pcard-title { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pcard-meta { color: var(--ink-2); margin: 6px 0 0; font-size: .95rem; }
.pcard-summary { margin: 10px 0 0; max-width: 54ch; }
.pcard .ruler { margin-top: 16px; max-width: 420px; }

/* Ana sayfa: ilk proje büyük, diğerleri yanında yatay */
.pgrid--home { grid-template-columns: 1.35fr 1fr; align-items: start; }
.pgrid--home .pcard--lead { grid-row: span 3; }
.pgrid--home .pcard--lead .pcard-media { aspect-ratio: 5 / 4; }
.pgrid--home .pcard--lead .pcard-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.pgrid--home .pcard:not(.pcard--lead) .pcard-link { display: grid; grid-template-columns: 44% 1fr; gap: 20px; align-items: start; }
.pgrid--home .pcard:not(.pcard--lead) .pcard-body { padding-top: 0; }
.pgrid--home .pcard:not(.pcard--lead) .pcard-title { font-size: 1.25rem; }
.pgrid--home .pcard:not(.pcard--lead) .pcard-summary { font-size: .95rem; color: var(--ink-2); }
.pgrid--home .pcard:not(.pcard--lead) .tag { font-size: .75rem; }

@media (max-width: 900px) {
    .pgrid, .pgrid--three, .pgrid--home { grid-template-columns: 1fr; }
    .pgrid--home .pcard--lead { grid-row: auto; }
}
@media (max-width: 520px) {
    .pgrid--home .pcard:not(.pcard--lead) .pcard-link { grid-template-columns: 1fr; }
    .pgrid--home .pcard:not(.pcard--lead) .pcard-body { padding-top: 4px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
    .pgrid--three { grid-template-columns: repeat(2, 1fr); }
}

.tag {
    position: absolute; left: 14px; top: 14px;
    padding: 5px 10px; border-radius: 2px;
    font-size: .8125rem; font-weight: 600; line-height: 1.2;
    background: var(--white); color: var(--ink);
}
.tag--ongoing { background: var(--brass-2); color: var(--ink); }
.tag--completed { background: var(--verde); color: var(--white); }
.tag--planned { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.project-head .tag { position: static; display: inline-block; margin-bottom: 16px; }

/* Görseli olmayan projeler: künyeden üretilen cephe şeması */
.ph {
    position: absolute; inset: 0;
    display: grid; align-items: end;
    padding: 9% 7% 3%;
    background-color: var(--verde-2);
    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
    background-position: -1px -1px;
}
.ph svg { width: 100%; height: 100%; display: block; }
.elev-p path, .elev-p rect { vector-effect: non-scaling-stroke; fill: none; }
.elev-p .el-ground { stroke: rgba(238, 240, 236, .55); stroke-width: 1; }
.elev-p .el-solid { stroke: var(--paper); stroke-width: 1.4; stroke-linejoin: round; }
.elev-p .el-dash { stroke: var(--brass-2); stroke-width: 1; stroke-dasharray: 4 4; }
.elev-p .el-win rect { stroke: rgba(238, 240, 236, .5); stroke-width: .8; }
.elev-p .el-crane { stroke: var(--brass-2); stroke-width: 1.1; }

/* İnşaat ilerleme cetveli */
.ruler-bar {
    position: relative; height: 10px; background: rgba(23, 32, 29, .08); border-radius: 1px; overflow: hidden;
}
.ruler-bar::after {
    content: ""; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(10% - 1px), rgba(23, 32, 29, .35) calc(10% - 1px), rgba(23, 32, 29, .35) 10%);
}
.ruler-bar span { display: block; height: 100%; background: var(--brass); }
.ruler-label { display: flex; justify-content: space-between; margin-top: 6px; font-size: .875rem; color: var(--ink-2); }
.ruler-label strong { color: var(--ink); font-variation-settings: "wdth" 110; }

/* ---------- Filtre ---------- */

.filter { display: flex; flex-wrap: wrap; gap: 4px 24px; border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 48px); }
.filter a {
    padding: 10px 0 12px; text-decoration: none; font-weight: 500; color: var(--ink-2);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.filter a:hover { color: var(--ink); }
.filter a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--verde); font-weight: 600; }
.filter small { font-size: .8rem; color: var(--ink-2); margin-left: 4px; }

.empty { padding: 48px 0; color: var(--ink-2); }

/* ---------- Kurumsal ---------- */

.about-teaser, .about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about .display-quote { position: sticky; top: 120px; }
.about-teaser .prose { font-family: var(--serif); font-size: 1.15rem; line-height: 1.72; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-top: clamp(48px, 6vw, 80px); }
.section > .mv:first-child { margin-top: 0; }
.mv article { border-top: 2px solid var(--verde); padding-top: 22px; }
.mv h3, .mv h2 { font-size: 1.25rem; font-variation-settings: "wdth" 108; margin-bottom: 14px; }
.mv p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.7; max-width: 56ch; }
.mv--large h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.mv--large p { font-size: clamp(1.15rem, 1.6vw, 1.3rem); }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 5vw, 72px); }
.values > div { padding: 24px 0 28px; border-top: 1px solid var(--line); }
.values dt { font-size: 1.3rem; font-weight: 600; font-variation-settings: "wdth" 106; margin-bottom: 8px; }
.values dd { color: var(--ink-2); max-width: 52ch; }

@media (max-width: 900px) {
    .about-teaser, .about, .mv, .values { grid-template-columns: 1fr; }
    .about .display-quote { position: static; }
}

/* Süreç adımları: yatay zaman çizgisi */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 24px; counter-reset: none; }
.steps li { position: relative; padding-top: 34px; border-top: 1px solid var(--ink); }
.step-no {
    position: absolute; top: -17px; left: 0;
    width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--paper); border: 1px solid var(--ink);
    font-weight: 600; font-size: .95rem; font-variation-settings: "wdth" 110;
}
.section--tint .step-no { background: var(--paper-2); }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; font-variation-settings: "wdth" 104; }
.steps p { color: var(--ink-2); font-size: .975rem; }
@media (max-width: 1000px) {
    .steps { grid-template-columns: 1fr; gap: 0; }
    .steps li { border-top: 0; border-left: 1px solid var(--ink); padding: 0 0 32px 34px; margin-left: 17px; }
    .steps li:last-child { padding-bottom: 0; border-left-color: transparent; }
    .step-no { top: -4px; left: -17px; }
}

/* ---------- Hizmetler ---------- */

.icon { width: 40px; height: 40px; flex: none; }

.services { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.services li { padding: 28px 0 36px; border-top: 1px solid var(--line-inv); }
.services .icon { color: var(--brass-2); margin-bottom: 18px; }
.services h3 { font-size: 1.25rem; margin-bottom: 10px; font-variation-settings: "wdth" 106; }
.services p { color: rgba(238, 240, 236, .74); font-size: .985rem; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

.service-list { list-style: none; }
.service-list li {
    display: grid; grid-template-columns: 64px 1fr; gap: 24px;
    padding: 32px 0; border-top: 1px solid var(--line);
}
.service-list li:last-child { border-bottom: 1px solid var(--line); }
.service-list .icon { width: 48px; height: 48px; color: var(--verde); }
.service-list h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-variation-settings: "wdth" 106; margin-bottom: 10px; }
.service-list p { color: var(--ink-2); max-width: 62ch; }
@media (min-width: 1000px) {
    .service-list li { grid-template-columns: 64px 1fr; }
    .service-list li > div { display: grid; grid-template-columns: minmax(260px, 1fr) 1.4fr; gap: 40px; }
}

/* ---------- Proje detay ---------- */

.project-head { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); }
.project-cover { margin: 0; position: relative; aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--radius); background: var(--verde-2); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .project-cover { aspect-ratio: 4 / 3; } }

.project-body {
    display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 88px);
    padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); align-items: start;
}
.spec { position: sticky; top: 104px; }
.spec-title { font-size: 1.05rem; margin-bottom: 12px; }
.spec dl { border-top: 1px solid var(--ink); margin-bottom: 24px; }
.spec dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--ink-2); }
.spec dd { font-weight: 600; text-align: right; }
.spec .ruler { margin-bottom: 24px; }

.project-text .h3 { margin-top: 48px; }
.features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
.features li { position: relative; padding-left: 22px; }
.features li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--brass); }

@media (max-width: 900px) {
    .project-body { grid-template-columns: 1fr; }
    .spec { position: static; order: 2; }
    .features { grid-template-columns: 1fr; }
}

.gallery { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.gallery a:hover img { opacity: .88; }

.lightbox {
    position: fixed; inset: 0; z-index: 200;
    display: grid; grid-template-rows: 1fr auto; place-items: center;
    background: rgba(12, 16, 15, .94); padding: 56px 16px 24px;
}
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox p { color: var(--paper); margin: 14px 0 0; text-align: center; }
.lightbox button {
    position: absolute; background: none; border: 1px solid rgba(238, 240, 236, .35); color: var(--paper);
    width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer;
}
.lightbox button:hover { border-color: var(--paper); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; }
.lb-next { right: 14px; top: 50%; }

/* ---------- İletişim ---------- */

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-info dl > div { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-info dl > div:last-child { border-bottom: 1px solid var(--line); }
.contact-info dt { font-size: .9rem; color: var(--ink-2); margin-bottom: 4px; }
.contact-info dd { font-size: 1.15rem; font-weight: 500; }
.contact-info dd a { text-decoration: none; }
.contact-info dd a:hover { text-decoration: underline; text-decoration-color: var(--brass); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form input, .form textarea, .form select {
    width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
    padding: 12px 14px; background: var(--white);
    border: 1px solid rgba(23, 32, 29, .28); border-radius: var(--radius);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); }
.form textarea { resize: vertical; min-height: 140px; }
.form .btn { justify-self: start; }
.form-note { font-size: .875rem; color: var(--ink-2); margin: 0; }

.notice { padding: 20px 22px; border-radius: var(--radius); margin-bottom: 24px; }
.notice ul { padding-left: 18px; }
.notice h2 { font-size: 1.35rem; margin-bottom: 8px; }
.notice--ok { background: var(--verde); color: var(--paper); }
.notice--ok a { color: var(--brass-2); }
.notice--error { background: #f6e3df; color: #6b231a; border: 1px solid #e3b9b0; }

.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.4); }

/* ---------- Çağrı bandı ---------- */

.cta { background: var(--verde); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; }
.cta h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-variation-settings: "wdth" 110; letter-spacing: -.015em; max-width: 22ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; justify-content: flex-end; }
.cta-phone { font-size: 1.35rem; font-weight: 600; font-variation-settings: "wdth" 110; text-decoration: none; color: var(--paper); border-bottom: 2px solid var(--brass-2); }
@media (max-width: 800px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- Alt bölüm ---------- */

.site-footer { background: var(--ink); color: rgba(238, 240, 236, .72); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; }
.footer-name { color: var(--paper); font-size: 1.3rem; font-weight: 600; font-variation-settings: "wdth" 112; margin-bottom: 12px; }
.footer-brand p:last-child { max-width: 40ch; }
.footer-h { font-size: .95rem; color: var(--paper); font-weight: 600; margin-bottom: 14px; }
.footer-list { list-style: none; display: grid; gap: 8px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--paper); text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-inv); font-size: .875rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 60;
    width: 54px; height: 54px; border-radius: 50%;
    display: grid; place-items: center;
    background: #1f8a4c; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Bağlantıyla gelinen bölümler yapışkan başlığın altında kalmasın ---------- */
#liste, #mesaj, #katalog-tur, [id] { scroll-margin-top: 96px; }

/* Panelden biçimlenen metinler */
.prose h2, .prose h3 { font-family: var(--sans); font-weight: 600; margin: 1.6em 0 .5em; line-height: 1.2; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.2rem; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--verde-2); text-decoration-color: var(--brass); text-underline-offset: 3px; }

/* ---------- Katalog ve sanal tur ---------- */
.showcase .wrap { display: grid; gap: 40px; }
.cat-card {
    display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
    padding: clamp(22px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brass);
}
.cat-card .h3 { margin-bottom: 6px; }
.cat-card p { color: var(--ink-2); margin: 0; }
.cat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
@media (max-width: 700px) { .cat-card { grid-template-columns: 1fr; } }
.tour-text { color: var(--ink-2); margin: -10px 0 16px; }
.tour { position: relative; aspect-ratio: 16 / 9; background: var(--paper-2); border-radius: var(--radius); overflow: hidden; }
.tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .tour { aspect-ratio: 4 / 5; } }

/* ---------- Serbest sayfa ---------- */
.page-body { display: grid; gap: clamp(28px, 5vw, 72px); }
.page-body--img { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
.page-figure { margin: 0; position: sticky; top: 110px; }
.page-figure img { width: 100%; border-radius: var(--radius); }
@media (max-width: 900px) { .page-body--img { grid-template-columns: 1fr; } .page-figure { position: static; } }

.notice:focus { outline: none; }

/* ---------- Sayfa geçişleri ----------
   Yeni sayfa aşağıdan yukarıya, kalıba dökülen beton gibi yükselir.
   Proje görseli karttan proje sayfasındaki kapağa dönüşür. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: masthead; }

@media (prefers-reduced-motion: no-preference) {
    ::view-transition-old(root) { animation: beton-out .7s cubic-bezier(.7, 0, .3, 1) both; }
    ::view-transition-new(root) { animation: beton-in .8s cubic-bezier(.7, 0, .2, 1) both; }
    html:active-view-transition-type(back)::view-transition-new(root) { animation-name: beton-in-back; }
    ::view-transition-group(*) { animation-duration: .75s; animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
    ::view-transition-group(masthead) { animation-duration: .3s; }

    @keyframes beton-out { to { transform: translateY(-2%) scale(.98); filter: brightness(.7); } }
    @keyframes beton-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
    @keyframes beton-in-back { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

    @supports not (view-transition-name: none) {
        main { animation: beton-fallback .6s cubic-bezier(.2, .7, .2, 1) both; }
        @keyframes beton-fallback { from { opacity: 0; transform: translateY(16px); } }
    }
}

/* ---------- Dokunmatik ekranlar: parmakla rahat dokunulacak alanlar (en az 44px) ---------- */
@media (max-width: 960px), (pointer: coarse) {
    .brand { min-height: 44px; }
    .footer-list { gap: 0; }
    .footer-list a, .contact-info dd a, .section-note a, .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
    .link { display: inline-flex; align-items: center; min-height: 44px; }
    .cat-actions .link { padding: 0 4px; }
}
:root { --mbar-bg: #1f3a32; --mbar-fg: #eef0ec; --mbar-accent: #c9a76f; --mbar-accent-fg: #17201d; --mbar-line: rgba(238, 240, 236, .3); --mbar-radius: 3px; }
@media (max-width: 960px), (pointer: coarse) {
    .cta-phone { display: inline-flex; align-items: center; min-height: 44px; }
}
