/*
Theme Name: Şevval Koltuk Döşeme
Theme URI: https://sevvalkoltukdoseme.com.tr
Author: Yeni Kod Yazılım Teknolojileri
Author URI: https://yenikod.com.tr/
Description: Şevval Koltuk Döşeme için hazırlanan WordPress teması. Hizmetler, önce/sonra karşılaştırmalı işler, kumaş kartelası, fotoğraflı teklif formu, SSS ve iletişim sayfalarıyla gelir.
Version: 1.2.5
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sevval-koltuk
Tags: business, portfolio, custom-logo, custom-menu, featured-images, editorial
*/

/* =========================================================
   1. Tasarım sistemi
   ========================================================= */
:root {
    /* Zeminler: beyaz + açık gri */
    --paper:    #FFFFFF;
    --linen:    #F4F4F3;
    --linen-2:  #E8E7E5;
    --white:    #FFFFFF;

    /* Metin */
    --ink:      #1F1F1F;
    --ink-2:    #333333;
    --ink-soft: #626262;
    --line:     #E4E4E2;
    --line-2:   #CFCFCC;

    /* Marka (Customizer'dan gelir) */
    --bordo:  #8A1C2B;
    --konyak: #A0623A;
    --bordo-dark: color-mix(in srgb, var(--bordo) 78%, #000);
    --bordo-soft: color-mix(in srgb, var(--bordo) 9%, var(--paper));
    --konyak-light: color-mix(in srgb, var(--konyak) 55%, #fff);

    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --r: 3px;
    --r-lg: 6px;
    --wrap: 1240px;
    --gutter: clamp(18px, 4vw, 40px);
    --header-h: 76px;
    --ease: cubic-bezier(.22, 1, .36, 1);

}

/* =========================================================
   2. Temel
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
h1 em, h2 em, h3 em { font-style: normal; color: inherit; }

p { margin: 0 0 1.2em; }
a { color: var(--bordo); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bordo-dark); }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
::selection { background: var(--bordo); color: #fff; }
:focus-visible { outline: 2px solid var(--bordo); outline-offset: 3px; }

.ico { width: 22px; height: 22px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico-flip { transform: scaleX(-1); }
.ico--fill { fill: currentColor; stroke: none; }
.btn .ico--fill, .mobile-bar .ico--fill { width: 20px; height: 20px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; }
.section { padding-block: clamp(64px, 8vw, 120px); }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }
.section--top0 { padding-top: 0; }
.section--linen { background: var(--linen); }
.muted { color: var(--ink-soft); }
.measure { max-width: 60ch; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--ink-soft); }

.screen-reader-text, .hp {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; color: #fff; }


/* =========================================================
   3. Butonlar
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.2;
    padding: 14px 24px;
    border-radius: var(--r);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease);
}
.btn .ico { width: 19px; height: 19px; stroke-width: 1.8; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bordo); color: #fff; }
.btn-primary:hover { background: var(--bordo-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--bordo); }
.btn-light:hover { background: var(--paper); color: var(--bordo-dark); }
.btn-whatsapp { background: #1F7A4D; color: #fff; }
.btn-whatsapp:hover { background: #18633E; color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .88rem; }
.btn-lg { padding: 17px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.stack { display: grid; gap: 10px; }

.textlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: .95rem;
    color: var(--ink);
    padding-bottom: 4px;
    background: linear-gradient(var(--bordo), var(--bordo)) left bottom / 100% 1.5px no-repeat;
}
.textlink .ico { width: 17px; height: 17px; stroke-width: 2; color: var(--bordo); transition: transform .3s var(--ease); }
.textlink:hover { color: var(--bordo); }
.textlink:hover .ico { transform: translateX(4px); }

/* =========================================================
   4. Üst bar & header
   ========================================================= */
.topbar { background: var(--ink); color: #C9C9C9; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ico { width: 15px; height: 15px; }
.topbar a { color: #EEEEEE; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 22px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: saturate(1.2) blur(10px);
    -webkit-backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -22px rgba(35, 28, 25, .35); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.header-inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { max-height: 54px; width: auto; }

.logo { display: block; height: 56px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav ul a {
    display: block;
    padding: 10px 13px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--ink-2);
    position: relative;
    white-space: nowrap;
}
.main-nav ul a::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 1.5px;
    background: var(--bordo);
    opacity: 0;
    transition: opacity .2s;
}
.main-nav ul a:hover { color: var(--bordo); }
.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current-menu-ancestor > a::after,
.main-nav .current_page_item > a::after { opacity: 1; }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--bordo); }
.main-nav .sub-menu {
    display: none;
    position: absolute; top: 100%; left: 0;
    min-width: 220px;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 8px;
    box-shadow: 0 20px 40px -24px rgba(35, 28, 25, .4);
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.nav-mobile-extra { display: none; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { white-space: nowrap; }
.menu-toggle {
    display: none;
    width: 46px; height: 46px;
    align-items: center; justify-content: center;
    background: transparent;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    color: var(--ink);
    cursor: pointer;
}

@media (max-width: 1180px) {
    .menu-toggle { display: inline-flex; }
    .header-cta { margin-left: auto; }
    /* backdrop-filter sabit konumlu menü paneli için kapsayıcı oluşturur; mobilde kapat */
    .site-header { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
    .main-nav {
        position: fixed;
        inset: var(--nav-top, calc(var(--header-h) + 38px)) 0 0 0;
        background: var(--paper);
        padding: 20px var(--gutter) 40px;
        overflow-y: auto;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
        border-top: 1px solid var(--line);
    }
    .main-nav.open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .3s var(--ease); }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul a { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
    .main-nav ul a::after { display: none; }
    .main-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; background: none; }
    .main-nav .sub-menu a { font-size: 1.2rem; }
    .nav-mobile-extra { display: grid; gap: 16px; margin-top: 28px; }
    .nav-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 760px) {
    .topbar { display: none; } /* mobilde alttaki sabit bar Ara / WhatsApp'ı veriyor */
    .header-cta .btn { display: none; }
    :root { --header-h: 66px; }
    .site-header .logo { height: 46px; }
}

/* =========================================================
   5. Görsel, placeholder, önce/sonra
   ========================================================= */
.ph {
    position: relative;
    display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--linen-2);
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, rgba(110,98,90,.06) 0 1px, transparent 1px 4px);
    color: #B3A493;
}
.ph--tall { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--square { aspect-ratio: 1; }
.ph-ico { width: 38px; height: 38px; stroke-width: 1.2; }
.ph-label { font-size: .85rem; font-weight: 600; }

.ba {
    --pos: 50%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--linen-2);
    border-radius: var(--r);
    user-select: none;
    -webkit-user-select: none;
}
.ba--hero { aspect-ratio: 4 / 5; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer img, .ba--single img { width: 100%; height: 100%; object-fit: cover; }
.ba--single img { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
    position: absolute; top: 0; bottom: 0;
    left: var(--pos);
    width: 2px;
    margin-left: -1px;
    background: #fff;
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}
.ba-handle span {
    position: absolute; top: 50%; left: 50%;
    width: 48px; height: 48px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.22);
}
.ba-handle span::before, .ba-handle span::after {
    content: "";
    position: absolute; top: 50%;
    border: 6px solid transparent;
    transform: translateY(-50%);
}
.ba-handle span::before { left: 9px; border-right-color: var(--ink); border-left-width: 0; }
.ba-handle span::after { right: 9px; border-left-color: var(--ink); border-right-width: 0; }
.ba-range {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    touch-action: pan-y;
    -webkit-appearance: none;
    appearance: none;
}
.ba:focus-within { outline: 2px solid var(--bordo); outline-offset: 3px; }
.ba-tag {
    position: absolute; top: 16px;
    padding: 6px 11px;
    font-size: .82rem; font-weight: 600;
    background: rgba(35, 28, 25, .72);
    color: #fff;
    pointer-events: none;
}
.ba-tag--before { left: 16px; }
.ba-tag--after { right: 16px; background: var(--bordo); }

.ba--empty { display: grid; grid-template-columns: 1fr 1fr; }
.ba-ph {
    display: flex; align-items: flex-end; padding: 18px;
    background-color: var(--linen-2);
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.22) 0 1px, transparent 1px 7px);
}
.ba-ph--after { background-color: #DCCFBE; border-left: 2px solid rgba(255,255,255,.8); }
.ba-ph span { font-size: .85rem; font-weight: 600; color: #8C8C8C; }

/* =========================================================
   6. Kapak (hero)
   ========================================================= */
.hero { padding: clamp(40px, 6vw, 84px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-title { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.08; margin-bottom: 26px; }
.hero-text .lead { max-width: 52ch; margin-bottom: 34px; }
.hero-call { margin: 18px 0 0; font-size: .92rem; color: var(--ink-soft); }
.hero-call a { font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.hero-media { margin: 0; position: relative; }
.hero-media .ba--hero { max-height: 680px; width: 100%; }
.hero-media figcaption { margin-top: 12px; font-size: .84rem; color: var(--ink-soft); }
.hero-media figcaption a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; }
.hero-media figcaption .ico { width: 15px; height: 15px; }

.facts {
    list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 26px 0;
    display: flex; flex-wrap: wrap; gap: 18px 44px;
    position: relative;
    color: var(--ink-2);
    font-size: .94rem;
    font-weight: 600;
}
.facts::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.facts li { display: inline-flex; align-items: center; gap: 10px; }
.facts .ico { color: var(--bordo); }
.facts strong { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--bordo); }
.facts--inline { margin: 28px 0; }

/* =========================================================
   7. Bölüm başlıkları, hizmet listesi
   ========================================================= */
.section-head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 720px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 12px 0 0; color: var(--ink-soft); max-width: 62ch; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

.split { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.split-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.split-aside .muted { margin-bottom: 26px; }

.service-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.service-row {
    display: grid;
    grid-template-columns: 52px 1fr 40px;
    gap: 20px;
    align-items: center;
    padding: 26px 12px 26px 0;
    border-top: 1px solid var(--line);
    color: var(--ink);
    transition: background .25s, padding .3s var(--ease);
}
.service-row:hover { background: var(--linen); padding-left: 14px; color: var(--ink); }
.service-ico {
    width: 52px; height: 52px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    color: var(--bordo);
    background: var(--paper);
}
.service-ico .ico { width: 24px; height: 24px; stroke-width: 1.4; }
.service-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.15; margin-bottom: 4px; }
.service-desc { display: block; font-size: .94rem; color: var(--ink-soft); line-height: 1.55; }
.service-go { color: var(--ink-soft); justify-self: end; transition: transform .3s var(--ease), color .2s; }
.service-row:hover .service-go { color: var(--bordo); transform: translate(3px, -3px); }

/* Hizmet arşivi kartları */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card a { display: flex; flex-direction: column; height: 100%; color: var(--ink); background: var(--white); border: 1px solid var(--line); transition: border-color .25s, transform .35s var(--ease); }
.service-card a:hover { border-color: var(--line-2); transform: translateY(-3px); }
.service-card-media img, .service-card-media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card-body { position: relative; padding: 36px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card-body .service-ico { position: absolute; top: -26px; left: 22px; }
.service-card-title { font-size: 1.35rem; margin-bottom: 10px; }
.service-card-body p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.service-card-body .textlink { align-self: flex-start; }

/* =========================================================
   8. Süreç (koyu bant)
   ========================================================= */
.on-dark { background: var(--ink); color: #D9CDC0; }
.on-dark h2, .on-dark h3 { color: #FBF6EF; }
.on-dark h2 em { color: var(--konyak-light); }

/* =========================================================
   9. İş kartları
   ========================================================= */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-grid--home { grid-template-columns: 1.25fr 1fr 1fr; }
.work-grid--home .work-card:first-child { grid-row: span 2; }
.work-grid--home .work-card:first-child .work-card-link { height: 100%; }
.work-grid--home .work-card:first-child .work-card-media { flex: 1; }
.work-grid--home .work-card:first-child .work-card-media img,
.work-grid--home .work-card:first-child .work-card-media .ph { height: 100%; aspect-ratio: auto; min-height: 420px; }
.work-grid--home .work-card:first-child .work-card-title { font-size: 1.5rem; }
.work-grid--archive .work-card:nth-child(7n+1) { grid-column: span 2; }
.work-grid--archive .work-card:nth-child(7n+1) .work-card-media img,
.work-grid--archive .work-card:nth-child(7n+1) .work-card-media .ph { aspect-ratio: 16 / 9.4; }

.work-card-link { display: flex; flex-direction: column; color: var(--ink); }
.work-card-link:hover { color: var(--ink); }
.work-card-media { position: relative; overflow: hidden; background: var(--linen-2); }
.work-card-media img, .work-card-media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.work-card-link:hover .work-card-media img { transform: scale(1.035); }
.tag { position: absolute; top: 14px; left: 14px; padding: 5px 10px; font-size: .8rem; font-weight: 600; }
.tag--light { background: var(--paper); color: var(--ink); }
.work-card-body { padding-top: 16px; }
.work-card-meta { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 4px; font-size: .88rem; font-weight: 500; color: var(--ink-soft); }
.work-card-meta span + span::before { content: ", "; }
.work-card-title { font-size: 1.2rem; margin: 0; transition: color .2s; }
.work-card-link:hover .work-card-title { color: var(--bordo); }

.empty-admin { padding: 28px; border: 1px solid var(--line-2); background: var(--linen); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.empty-admin p { margin: 0; max-width: 70ch; }
.empty-public { padding: 48px 0; display: grid; gap: 16px; justify-items: start; }
.empty-public p { margin: 0; color: var(--ink-soft); font-size: 1.1rem; }

/* Filtre çipleri */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: .9rem; font-weight: 600; color: var(--ink-2); background: var(--paper); }
.chip span { font-size: .78rem; color: var(--ink-soft); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip.is-active span { color: #B9AC9E; }

/* =========================================================
   10. Kumaş kartelası
   ========================================================= */
.swatch {
    --c: #8C7B6B;
    position: relative;
    aspect-ratio: 1;
    background-color: var(--c);
    /* zımba (pinking) kesimli alt kenar */
    -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
            mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
}
.swatch--photo img { width: 100%; height: 100%; object-fit: cover; }
.swatch[data-doku="keten"], .swatch[data-doku="leke-tutmaz"] {
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 3px),
        repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 1px, transparent 1px 3px);
}
.swatch[data-doku="leke-tutmaz"] { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 2px), repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 2px); }
.swatch[data-doku="kadife"] {
    background-image:
        radial-gradient(120% 90% at 28% 18%, rgba(255,255,255,.24), transparent 58%),
        linear-gradient(160deg, transparent 38%, rgba(0,0,0,.28));
}
.swatch[data-doku="chenille"] {
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 2px, transparent 2px 5px),
        repeating-linear-gradient(-45deg, rgba(0,0,0,.09) 0 2px, transparent 2px 6px);
}
.swatch[data-doku="deri-suni-deri"] {
    background-image:
        radial-gradient(circle at 72% 26%, rgba(255,255,255,.2), transparent 46%),
        radial-gradient(rgba(0,0,0,.13) 1px, transparent 1.6px);
    background-size: auto, 5px 5px;
}

.fabric-teaser { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.fabric-teaser-text .muted { margin-bottom: 26px; }
.swatch-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 16px; }
.swatch-strip li:nth-child(even) { transform: translateY(22px); }
.swatch-name { display: block; margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--ink-2); line-height: 1.35; }

.fabric-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 36px 24px; }
.fabric-card-body { padding-top: 14px; }
.fabric-type { display: block; font-size: .85rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 2px; }
.fabric-name { font-size: 1.12rem; margin: 0 0 6px; }
.fabric-props { font-size: .88rem; color: var(--ink-soft); margin: 0 0 10px; }
.fabric-cta { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--bordo); }
.fabric-cta .ico { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.fabric-cta:hover .ico { transform: translateX(3px); }

/* =========================================================
   11. Atölye, bilgi listesi, yorumlar, değerler
   ========================================================= */
.workshop, .about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.about-grid { align-items: start; }
.workshop-media img, .workshop-media .ph, .about-media img, .about-media .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.workshop-text .muted { margin-bottom: 28px; }

.info-list { margin: 0 0 30px; border-bottom: 1px solid var(--line); }
.info-list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.info-list dt { font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.info-list dd { margin: 0; color: var(--ink); }
.info-list dd a { color: var(--ink); font-weight: 700; }
.info-list--compact { margin-bottom: 22px; }
.info-list--compact div { grid-template-columns: 84px 1fr; padding: 11px 0; font-size: .95rem; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; padding: 32px 28px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.quote-ico { width: 30px; height: 30px; color: var(--konyak); margin-bottom: 18px; stroke-width: 1.3; }
.quote blockquote { margin: 0 0 22px; font-size: 1.05rem; line-height: 1.6; color: var(--ink); flex: 1; }
.quote blockquote p:last-child { margin: 0; }
.quote figcaption strong { display: block; font-size: .95rem; }
.quote figcaption span { font-size: .85rem; color: var(--ink-soft); }


/* Instagram bölümü */
.insta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border: 1px solid var(--line); }
.insta-box h2 { margin: 0 0 6px; font-size: 1.5rem; }
.insta-box p { margin: 0; color: var(--ink-soft); }
.insta-feed { margin-top: 8px; }

/* Basit numaralı liste */
.plain-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; font-size: .95rem; }
.plain-steps li::marker { font-weight: 700; color: var(--bordo); }

/* =========================================================
   12. CTA bandı
   ========================================================= */
.cta-band { padding-block: clamp(56px, 7vw, 100px); }
.cta-box {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 40px;
    align-items: center;
    padding: clamp(36px, 5vw, 64px);
    background: var(--bordo);
    color: #F5E8E6;
}
.cta-box h2 { color: #fff; margin-bottom: 14px; }
.cta-box h2 em { color: #F4D7C2; }
.cta-box p { margin: 0; max-width: 52ch; }
.cta-actions { position: relative; z-index: 1; display: grid; gap: 18px; justify-items: start; }
.cta-alt { display: flex; flex-wrap: wrap; gap: 18px; }
.cta-alt a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: .95rem; }
.cta-alt a:hover { color: #F4D7C2; }
.cta-alt .ico { width: 18px; height: 18px; }

/* =========================================================
   13. İç sayfa başlığı, içerik
   ========================================================= */
.page-head { padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 4vw, 56px); }
.page-title { margin-bottom: 18px; max-width: 18ch; }
.wrap-narrow .page-title { max-width: none; }
.page-head .lead { margin: 0; }
.page-head-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.page-head-grid .lead { margin-bottom: 28px; }
.page-head-media img, .page-head-media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: .84rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--bordo); }
.breadcrumb .sep { color: var(--line-2); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

.content-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(36px, 6vw, 80px); align-items: start; margin-top: 48px; }
.page-head + .section .content-grid:first-child { margin-top: 0; }

.side-card { padding: 28px; background: var(--linen); border: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 24px); }
.side-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.side-card .muted { font-size: .95rem; }
.side-card--plain { background: transparent; position: static; margin-top: 20px; }
.side-meta { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); margin: 16px 0 0; }
.side-meta .ico { color: var(--bordo); width: 20px; height: 20px; margin-top: 2px; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.5; }
.checklist .ico { width: 18px; height: 18px; color: var(--bordo); margin-top: 2px; stroke-width: 2; }

.entry-media { margin-bottom: 40px; }
.entry-media img { width: 100%; }
.entry-content { font-size: 1.06rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 1.6em 0 .6em; }
.entry-content h3 { margin: 1.5em 0 .5em; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--bordo); font-size: 1.15rem; line-height: 1.6; }
.entry-content img { margin: 1.6em 0; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content--lead > p:first-child { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }

.project-ba { margin: 0; }
.project-ba figcaption { margin-top: 12px; font-size: .86rem; color: var(--ink-soft); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.post-card a { color: var(--ink); display: block; }
.post-card-media img, .post-card-media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }
.post-meta { font-size: .88rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 6px; }
.post-card-title { font-size: 1.3rem; margin-bottom: 8px; }
.post-card a:hover .post-card-title { color: var(--bordo); }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.post-nav .ico { width: 16px; height: 16px; }

.pagination { margin-top: 56px; }
.pagination .nav-links, .pagination { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pagination .page-numbers:hover { border-color: var(--ink); }
.pagination .ico { width: 16px; height: 16px; }

.search-form { display: flex; gap: 8px; max-width: 440px; }
.search-form input { flex: 1; }

.notfound { min-height: 50vh; }

/* =========================================================
   14. Formlar (teklif)
   ========================================================= */
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="search"], input[type="url"], select, textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    padding: 13px 14px;
    transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E625A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--bordo); box-shadow: 0 0 0 3px var(--bordo-soft); }
textarea { resize: vertical; min-height: 110px; }
::placeholder { color: #A99B8C; }

.quote-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-aside .side-card:first-child { position: static; }
.quote-form { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.qf-step { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
.qf-step legend { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: 18px; padding: 0; }
.qf-step legend em { font-family: var(--font-body); font-style: normal; font-size: .82rem; color: var(--ink-soft); }
.qf-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bordo); color: #fff; font-family: var(--font-body); font-size: .86rem; font-weight: 800; }
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field-label { font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.field-label em { font-style: normal; font-weight: 500; color: var(--ink-soft); }
.qf-grid .field--sm { max-width: none; }

.dropzone {
    position: relative;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 6px;
    padding: 34px 20px;
    border: 1px solid var(--line-2);
    background: var(--paper);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--bordo); background: var(--bordo-soft); }
.dropzone:focus-within { border-color: var(--bordo); box-shadow: 0 0 0 3px var(--bordo-soft); }
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dz-ico { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); border: 1px solid var(--line); color: var(--bordo); margin-bottom: 6px; }
.dz-ico .ico { width: 26px; height: 26px; stroke-width: 1.4; }
.dz-title { font-weight: 800; font-size: 1.02rem; }
.dz-hint { font-size: .86rem; color: var(--ink-soft); max-width: 44ch; }
.dz-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.dz-list img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.dz-list .dz-err { width: 100%; color: var(--bordo); font-size: .86rem; font-weight: 600; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); margin: 0 0 24px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--bordo); flex-shrink: 0; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.form-note { margin: 12px 0 0; font-size: .86rem; color: var(--ink-soft); text-align: center; }
.form-error { padding: 14px 16px; background: var(--bordo-soft); border-left: 3px solid var(--bordo); color: var(--bordo-dark); font-weight: 600; margin-bottom: 28px; }
.form-done { padding: clamp(28px, 5vw, 56px); background: var(--white); border: 1px solid var(--line); }
.form-done-ico { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; background: var(--bordo); color: #fff; margin-bottom: 20px; }
.form-done-ico .ico { width: 28px; height: 28px; stroke-width: 2.2; }
.form-done p { color: var(--ink-soft); max-width: 52ch; margin-bottom: 26px; }
.quote-form button[disabled] { opacity: .7; cursor: progress; }

/* =========================================================
   15. İletişim, SSS, bölgeler
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.contact-card { display: grid; gap: 4px; padding: 22px; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: border-color .2s; }
.contact-card:hover { border-color: var(--bordo); color: var(--ink); }
.contact-card .ico { color: var(--bordo); margin-bottom: 10px; }
.contact-label { font-size: .88rem; font-weight: 500; color: var(--ink-soft); }
.contact-card strong { font-size: 1.02rem; overflow-wrap: anywhere; }
.contact-address { grid-column: 1 / -1; padding: 28px 0 0; }
.contact-address h2 { font-size: 1.5rem; margin-bottom: 10px; }
.contact-address p { margin-bottom: 10px; }
.contact-address .muted { display: flex; align-items: center; gap: 8px; }
.contact-address .muted .ico { width: 18px; height: 18px; }
.contact-address .btn { margin-top: 10px; }
.contact-map { min-height: 460px; background: var(--linen-2); }
.contact-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(.25) contrast(1.02); }

.areas { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.areas h2 { margin: 0; }
.area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li { padding: 10px 18px; border: 1px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: .95rem; }

.faq-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.08rem, 1.7vw, 1.25rem); line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--bordo); }
.faq-ico { color: var(--bordo); transition: transform .3s var(--ease); }
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-a { padding: 0 48px 24px 0; color: var(--ink-soft); }
.faq-a p:last-child { margin: 0; }

/* =========================================================
   16. Footer & mobil alt bar
   ========================================================= */
.site-footer { background: var(--ink); color: #B5B5B5; padding: clamp(56px, 7vw, 90px) 0 28px; font-size: .94rem; }
.site-footer a { color: #E6E6E6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.2fr; gap: 40px; }
.footer-brand .logo { height: 60px; margin-bottom: 22px; }
.footer-brand p { max-width: 36ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.footer-social a:hover { border-color: #fff; }
.footer-social .ico { width: 19px; height: 19px; }
.site-footer h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: #FFFFFF; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--konyak-light); }
.footer-contact em { font-style: normal; color: #8C8C8C; }
.footer-areas { margin: 44px 0 0; padding-top: 22px; position: relative; font-size: .9rem; }
.footer-areas::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.1); }
.footer-areas span { font-weight: 600; color: #E6E6E6; margin-right: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; font-size: .84rem; color: #8C8C8C; }
.footer-bottom a { color: #8C8C8C; }

.mobile-bar { display: none; }
@media (max-width: 760px) {
    body { padding-bottom: 64px; }
    .mobile-bar {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        background: var(--paper);
        border-top: 1px solid var(--line);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-bar a { display: grid; justify-items: center; gap: 3px; padding: 10px 6px; font-size: .74rem; font-weight: 700; color: var(--ink); }
    .mobile-bar .ico { width: 21px; height: 21px; }
    .mobile-bar .is-primary { background: var(--bordo); color: #fff; }
}

/* =========================================================
   17. Duyarlı düzen
   ========================================================= */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .hero-grid, .split, .fabric-teaser, .workshop, .about-grid, .page-head-grid, .content-grid, .quote-layout, .contact-grid, .faq-layout, .areas, .cta-box { grid-template-columns: 1fr; }
    .hero-media .ba--hero { aspect-ratio: 4 / 4.2; }
    .split-aside { position: static; }
    .work-grid, .service-grid, .post-grid, .quotes { grid-template-columns: 1fr 1fr; }
    .work-grid--home .work-card:first-child { grid-column: span 2; grid-row: auto; }
    .work-grid--home .work-card:first-child .work-card-media img,
    .work-grid--home .work-card:first-child .work-card-media .ph { min-height: 0; aspect-ratio: 16 / 10; }
    .side-card { position: static; }
    .swatch-strip li:nth-child(even) { transform: none; }
    .content-grid { margin-top: 36px; }
}
@media (max-width: 620px) {
    body { font-size: 16px; }
    .work-grid, .service-grid, .post-grid, .quotes, .contact-cards, .qf-grid { grid-template-columns: 1fr; }
    .work-grid--home .work-card:first-child, .work-grid--archive .work-card:nth-child(7n+1) { grid-column: auto; }
    .swatch-strip { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .section-head--row { flex-direction: column; align-items: flex-start; }
    .service-row { grid-template-columns: 44px 1fr; gap: 16px; }
    .service-row .service-ico { width: 44px; height: 44px; }
    .service-go { display: none; }
    .facts { gap: 14px 28px; }
    .info-list div { grid-template-columns: 1fr; gap: 2px; }
    .btn-row .btn-lg { width: 100%; }
    .ba-handle span { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Kart alt linki (hizmet kartları) */
.card-more { font-weight: 600; font-size: .95rem; color: var(--bordo); }
.service-card a:hover .card-more { text-decoration: underline; text-underline-offset: 3px; }

/* Mobil alt barda WhatsApp ikonu tanıdık yeşil */
.mobile-bar a[href*="wa.me"] .ico--fill { color: #1FAF5A; }

/* Yazılım firması imzası */
.footer-bottom .credit a { color: #B5B5B5; text-decoration: none; }
.footer-bottom .credit a:hover { color: #fff; }
