/*
  Katalog temasi - shadcn/ui tasarim dili (token + bilesen), logo renkleriyle.
  Renkler logodan: lacivert #14242c (yazi, koyu alanlar), turuncu #f2860e (birincil buton, vurgu).
  Turuncu zemin uzerine lacivert yazi (6.2:1); beyaz zemin uzerinde turuncu yazi icin --accent-ink (4.8:1).
  Yazi: Geist. Ikonlar: Lucide (functions.php > katalog_ikon()).
  --accent ve --dark header.php'de Template Settings'ten ezilir; diger tokenlar bunlardan turetilir.
*/

/* Geist (SIL OFL 1.1, fonts/OFL.txt), degisken agirlik 400-800; Google Fonts'un latin ve latin-ext alt kumeleri.
   Turkce: ı latin'de, ş ğ İ latin-ext'te. latin header.php'de preload edilir. */
@font-face {
    font-family: 'Geist';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(../fonts/geist-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Geist';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(../fonts/geist-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --accent: #f2860e;
    --dark: #14242c;

    /* shadcn tokenlari */
    --background: #ffffff;
    --foreground: var(--dark);
    --card: #ffffff;
    --muted: #f4f5f5;
    --muted-foreground: #5d6a72;
    --border: #e3e6e8;
    --input: #d9dde0;
    --ring: var(--accent);
    --primary: var(--accent);
    --primary-foreground: var(--dark);
    --accent-ink: #b35a00;
    --accent-soft: color-mix(in srgb, var(--accent) 12%, #fff);
    --text: #33414a;
    --wa: #1b8449; /* beyaz yazi ile 4.7:1 (WCAG AA) */
    --wa-hover: #166b3c;

    --radius: .625rem;
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);
    --radius-xl: calc(var(--radius) + 4px);
    --radius-2xl: calc(var(--radius) + 10px);

    --shadow-xs: 0 1px 2px 0 rgb(20 36 44 / .05);
    --shadow-sm: 0 1px 3px 0 rgb(20 36 44 / .08), 0 1px 2px -1px rgb(20 36 44 / .08);
    --shadow-md: 0 4px 6px -1px rgb(20 36 44 / .08), 0 2px 4px -2px rgb(20 36 44 / .06);
    --shadow-lg: 0 12px 24px -6px rgb(20 36 44 / .14), 0 4px 8px -4px rgb(20 36 44 / .08);

    --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --fs-sm: .875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-h3: 1.25rem;
    --fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
    --fs-h1: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);

    --gutter: 24px;
    --section: clamp(56px, 4vw + 36px, 96px);
    --header-h: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--foreground); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--dark); }
.center { text-align: center; }
.mt { margin-top: var(--section); }
.muted { color: var(--muted-foreground); }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--muted-foreground); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 1em; height: 1em; flex-shrink: 0; }

/* ---------- Button (shadcn: default / secondary / outline / ghost / link) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 40px; padding: 0 16px; border-radius: var(--radius-md);
    font: 500 .875rem/1 var(--font); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
    border: 1px solid transparent; cursor: pointer; user-select: none;
    transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.btn .icon { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 34px; padding: 0 12px; font-size: .8125rem; gap: 6px; }
.btn-sm .icon { width: 14px; height: 14px; }
.btn-lg { height: 46px; padding: 0 22px; font-size: .9375rem; }
.btn-icon { width: 40px; padding: 0; }
.btn-icon .icon { width: 18px; height: 18px; }

.btn-accent { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-xs); }
.btn-accent:hover { background: color-mix(in srgb, var(--primary) 88%, #000); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: var(--shadow-xs); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-light { background: #fff; color: var(--foreground); border-color: #fff; box-shadow: var(--shadow-xs); }
.btn-light:hover { background: var(--muted); border-color: var(--muted); }
.btn-outline { background: var(--background); color: var(--foreground); border-color: var(--input); box-shadow: var(--shadow-xs); }
.btn-outline:hover { background: var(--muted); }
.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { background: var(--muted); }
.btn-glass { background: rgb(255 255 255 / .1); color: #fff; border-color: rgb(255 255 255 / .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgb(255 255 255 / .2); }

.text-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 500; font-size: .9375rem; color: var(--foreground); text-decoration: none; white-space: nowrap;
}
.text-link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover { color: var(--accent-ink); }
.text-link:hover .icon, a:hover > .text-link .icon { transform: translateX(3px); }

/* ---------- Badge ---------- */
.badge {
    display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
    border-radius: 999px; font-size: .75rem; font-weight: 500; border: 1px solid var(--border);
    background: var(--background); color: var(--foreground);
}

/* ---------- Tabs (shadcn tabs list) ---------- */
.tabs, .gallery-filter {
    display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; margin-bottom: 32px;
    background: var(--muted); border-radius: var(--radius-lg); max-width: 100%;
}
.tab, .gallery-filter button {
    display: inline-flex; align-items: center; height: 34px; padding: 0 14px;
    border: 0; border-radius: var(--radius-md); background: transparent;
    font: 500 .875rem/1 var(--font); color: var(--muted-foreground); text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, box-shadow .15s;
}
.tab:hover, .gallery-filter button:hover { color: var(--foreground); }
.tab.active, .gallery-filter button.active { background: var(--background); color: var(--foreground); box-shadow: var(--shadow-sm); }

/* ---------- Ust bar ve header ---------- */
.topbar { background: var(--dark); color: rgb(255 255 255 / .72); font-size: .8125rem; }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 36px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar .icon { width: 13px; height: 13px; opacity: .8; }
.topbar a:hover { color: #fff; }
.topbar-hours { margin-left: auto; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgb(255 255 255 / .85); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex-shrink: 0; max-width: 280px; }
.brand img { max-height: 48px; width: auto; }
.brand-logo { display: block; line-height: 0; }
.brand-logo img { height: 54px; width: auto; max-height: none; }
.brand a { text-decoration: none; font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; color: var(--foreground); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-main { font-size: 1.1875rem; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.brand .brand-sub { font-size: .75rem; font-weight: 500; color: var(--accent-ink); margin-top: 2px; white-space: nowrap; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav li { position: relative; }
.main-nav a {
    display: flex; align-items: center; height: 36px; padding: 0 12px; border-radius: var(--radius-md);
    text-decoration: none; font-weight: 500; font-size: .875rem; color: var(--muted-foreground);
    transition: background-color .15s, color .15s;
}
.main-nav a:hover { background: var(--muted); color: var(--foreground); }
.main-nav .active > a { color: var(--foreground); background: var(--muted); }
.main-nav .submenu {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; flex-direction: column; gap: 0;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 4px;
    box-shadow: var(--shadow-lg);
}
.main-nav .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 9px; }
.main-nav .submenu a { height: 34px; padding: 0 10px; border-radius: var(--radius-sm); color: var(--foreground); }
.main-nav li:hover > .submenu, .main-nav li:focus-within > .submenu { display: flex; animation: pop-in .15s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Bolumler ---------- */
.section { padding: var(--section) 0; }
.section-alt { background: var(--muted); }
.section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 64px;
    margin-bottom: 40px; flex-wrap: wrap;
}
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head > p { margin: 0; max-width: 46ch; color: var(--muted-foreground); }
.section-head > .edit { flex: 1 1 auto; }

.page-head { padding: 48px 0 8px; }
.page-head h1 { margin: 0; }
.page-head .lead { margin: 12px 0 0; max-width: 60ch; }
.page-head + .section { padding-top: 40px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .875rem; color: var(--muted-foreground); margin-bottom: 16px; }
.crumbs a { text-decoration: none; transition: color .15s; }
.crumbs a:hover { color: var(--foreground); }
.crumbs span { color: var(--foreground); }
.crumbs .icon { width: 14px; height: 14px; opacity: .6; }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; height: min(84vh, 740px); min-height: 560px; overflow: hidden; background: var(--dark); color: #fff; }
.hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; cursor: pointer; }
.hs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 9s cubic-bezier(.2,.6,.3,1); }
.hs-slide.is-active .hs-bg { transform: scale(1); }
.hs-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 36 44 / .88) 0%, rgb(20 36 44 / .6) 45%, rgb(20 36 44 / .1) 100%), linear-gradient(0deg, rgb(20 36 44 / .6) 0%, transparent 35%); }
.hs-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-bottom: 96px; }

.hs-num, .hs-text, .hs-actions { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s var(--ease); }
.hs-title { opacity: 0; transform: translateY(48px); clip-path: inset(0 0 100% 0); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1), clip-path .9s cubic-bezier(.2,.8,.2,1); }
.is-active .hs-num { opacity: 1; transform: none; transition-delay: .2s; }
.is-active .hs-title { opacity: 1; transform: none; clip-path: inset(-10% -5% -20% -5%); transition-delay: .35s; }
.is-active .hs-text { opacity: 1; transform: none; transition-delay: 1.1s; }
.is-active .hs-actions { opacity: 1; transform: none; transition-delay: 1.5s; }

.hs-num {
    display: inline-flex; align-items: center; height: 26px; padding: 0 11px; margin-bottom: 20px; border-radius: 999px;
    font-size: .75rem; font-weight: 500; font-variant-numeric: tabular-nums; color: #fff;
    background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hs-title {
    font-size: clamp(3.5rem, 11vw, 9rem); font-weight: 700;
    line-height: .92; letter-spacing: -.055em; margin: 0 0 24px; color: #fff;
}
.hs-title a { color: #fff; text-decoration: none; }
.hs-title::after { content: ""; display: block; height: 4px; width: 0; margin-top: 22px; border-radius: 4px; background: var(--accent); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.is-active .hs-title::after { width: 72px; transition-delay: 1s; }
.hs-text { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: rgb(255 255 255 / .82); max-width: 44ch; margin: 0 0 32px; line-height: 1.55; }
.hs-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }

.hs-nav { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 3; }
.hs-tabs {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 4px;
    width: calc(100% - 2 * var(--gutter)); max-width: calc(1240px - 2 * var(--gutter));
    background: rgb(20 36 44 / .35); border: 1px solid rgb(255 255 255 / .14); border-radius: var(--radius-xl);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hs-tab {
    position: relative; overflow: hidden; background: none; border: 0; border-radius: var(--radius-lg);
    color: rgb(255 255 255 / .65); font: 500 .875rem/1.2 var(--font); text-align: left;
    padding: 13px 14px; cursor: pointer; transition: color .2s, background-color .2s;
}
.hs-tab:hover { color: #fff; background: rgb(255 255 255 / .06); }
.hs-tab.is-active { color: #fff; background: rgb(255 255 255 / .12); }
.hs-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
.hs-tab.is-active .hs-progress { animation: hs-ilerleme var(--hs-sure, 7000ms) linear forwards; }
.hero-slider.is-paused .hs-progress { animation-play-state: paused; }
@keyframes hs-ilerleme { to { width: 100%; } }
.hs-arrow {
    position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -40px;
    display: grid; place-items: center; border-radius: 999px;
    border: 1px solid rgb(255 255 255 / .22); background: rgb(255 255 255 / .08); color: #fff;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    cursor: pointer; transition: background-color .15s, color .15s;
}
.hs-arrow .icon { width: 20px; height: 20px; }
.hs-arrow:hover { background: #fff; color: var(--foreground); }
.hs-prev { right: 84px; }
.hs-next { right: 32px; }

/* ---------- Ana sayfa: hizmet kartlari (bento) ---------- */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
.service-grid > li:first-child { grid-column: span 2; grid-row: span 2; }
.service-card {
    position: relative; display: flex; align-items: flex-end; height: 100%; overflow: hidden;
    border-radius: var(--radius-xl); background: var(--dark); color: #fff; text-decoration: none;
    box-shadow: var(--shadow-sm); isolation: isolate;
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(20 36 44 / .92) 0%, rgb(20 36 44 / .45) 45%, rgb(20 36 44 / 0) 75%); }
.service-card:hover img { transform: scale(1.05); }
.service-card-body { padding: 20px 22px; }
.service-card h3 { color: #fff; margin: 0 0 4px; font-size: 1.375rem; }
.service-card p {
    margin: 0; color: rgb(255 255 255 / .75); font-size: .875rem; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.service-grid > li:first-child .service-card-body { padding: 32px; }
.service-grid > li:first-child h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); margin-bottom: 8px; }
.service-grid > li:first-child p { font-size: 1rem; max-width: 44ch; -webkit-line-clamp: 3; }
.service-card-arrow {
    position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: grid; place-items: center;
    border-radius: 999px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .2);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.service-card-arrow .icon { width: 18px; height: 18px; }
.service-card:hover .service-card-arrow { background: var(--accent); color: var(--dark); border-color: var(--accent); transform: rotate(45deg); }

/* ---------- Ozellikler ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-xs); }
.feature-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent-ink); }
.feature-icon .icon { width: 20px; height: 20px; }
.feature h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.feature p { color: var(--muted-foreground); font-size: .9375rem; margin: 0; }

/* ---------- Urun karti ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.product-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-xs);
    transition: box-shadow .2s, transform .2s var(--ease), border-color .2s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-thumb { display: block; aspect-ratio: 4 / 3; background: var(--muted); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.product-body h3 { font-size: 1rem; margin-bottom: 4px; letter-spacing: -.015em; }
.product-body h3 a { text-decoration: none; }
.product-body h3 a:hover { color: var(--accent-ink); }
.product-body p { color: var(--muted-foreground); font-size: .875rem; line-height: 1.5; margin-bottom: 16px; }
.product-price { font-size: 1.125rem; font-weight: 600; color: var(--foreground); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.product-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }

.catalog-tabs { margin-bottom: 28px; }
.catalog-main .product-grid { grid-template-columns: repeat(4, 1fr); }

/* Urun detay */
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; margin-top: 24px; align-items: start; }
.product-gallery { border-radius: var(--radius-xl); overflow: hidden; }
.product-gallery img { border-radius: var(--radius-lg); }
.product-info { position: sticky; top: calc(var(--header-h) + 24px); }
.product-info h1 { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem); }
.product-desc { color: var(--muted-foreground); margin-bottom: 28px; font-size: 1.0625rem; }
.product-info .product-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); }
.mw-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .875rem; color: var(--muted-foreground); }
.mw-breadcrumb a { text-decoration: none; color: var(--muted-foreground); }
.mw-breadcrumb a:hover { color: var(--foreground); }
.mw-breadcrumb svg { opacity: .7; }
.mw-breadcrumb-current { color: var(--foreground); }

/* ---------- Galeri ---------- */
.k-gallery { columns: 3 280px; column-gap: 16px; }
.k-gallery-item { display: block; margin-bottom: 16px; break-inside: avoid; overflow: hidden; cursor: zoom-in; border-radius: var(--radius-lg); background: var(--muted); }
.k-gallery-item img { width: 100%; transition: transform .5s var(--ease), opacity .3s; }
.k-gallery-item:hover img { transform: scale(1.03); }
.k-gallery-item[hidden] { display: none; }

/* ---------- Yorumlar ---------- */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.review {
    margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 24px;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-xs);
}
.review-quote { width: 22px; height: 22px; color: var(--accent); }
.review blockquote { margin: 0; color: var(--text); font-size: .9375rem; line-height: 1.65; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.review figcaption strong { display: block; color: var(--foreground); font-size: .875rem; font-weight: 600; }
.review figcaption small { display: block; color: var(--muted-foreground); font-size: .8125rem; }
.review-avatar { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: #fff; font-size: .875rem; font-weight: 600; }

/* ---------- Hakkimizda ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.about-text { max-width: 64ch; }
.about-text h2 { max-width: 22ch; }
.about-text > p { color: var(--muted-foreground); font-size: 1.0625rem; }
.about-text h3 { font-size: 1.125rem; margin-top: 40px; margin-bottom: 14px; }
.about-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.about-list li {
    position: relative; padding: 12px 16px 12px 44px; color: var(--muted-foreground); font-size: .9375rem;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.about-list li::before {
    content: ""; position: absolute; left: 16px; top: 15px; width: 16px; height: 16px; background: var(--accent-ink);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.about-list strong { color: var(--foreground); font-weight: 600; }
.about-steps { list-style: none; counter-reset: adim; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-steps li {
    counter-increment: adim; padding: 18px; color: var(--muted-foreground); font-size: .9375rem;
    background: var(--muted); border-radius: var(--radius-lg);
}
.about-steps li::before {
    content: counter(adim); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 12px;
    border-radius: 999px; background: var(--dark); color: #fff; font-size: .8125rem; font-weight: 600;
}
.about-steps strong { color: var(--foreground); display: block; font-weight: 600; margin-bottom: 2px; }
.about-media { position: sticky; top: calc(var(--header-h) + 24px); }
.about-media .k-gallery { columns: 2; column-gap: 12px; }
.about-media .k-gallery-item { margin-bottom: 12px; }

/* ---------- Iletisim ---------- */
.quick-services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.quick-service {
    display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-xs);
    transition: box-shadow .2s, transform .2s var(--ease);
}
.quick-service:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.quick-service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.quick-service > span { padding: 14px 16px 16px; }
.quick-service strong { display: block; font-size: 1rem; font-weight: 600; color: var(--foreground); margin-bottom: 2px; }
.quick-service small { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .8125rem; color: var(--wa); }

.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: 24px; align-items: start; }
.contact-cards {
    display: grid; align-content: start; padding: 8px;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-xs);
}
.contact-card {
    display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center;
    padding: 12px; border-radius: var(--radius-lg); text-decoration: none; transition: background-color .15s;
}
.contact-card .icon {
    grid-row: span 2; width: 40px; height: 40px; padding: 10px; border-radius: var(--radius-md);
    background: var(--muted); color: var(--foreground);
}
.contact-card span { font-size: .8125rem; color: var(--muted-foreground); line-height: 1.3; }
.contact-card strong { color: var(--foreground); font-weight: 500; font-size: .9375rem; line-height: 1.4; }
a.contact-card:hover { background: var(--muted); }
a.contact-card:hover .icon { background: var(--accent-soft); color: var(--accent-ink); }
.contact-form-box { background: var(--card); padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.contact-form-box h2 { font-size: 1.5rem; margin-bottom: 6px; }
.contact-form-box .muted { font-size: .9375rem; margin-bottom: 24px; }
.map { margin-top: 24px; }
.map iframe { width: 100%; min-height: 400px; border: 0; border-radius: var(--radius-xl); }

/* ---------- Form (shadcn input / select / textarea / label) ---------- */
.k-form label, .k-form .mw-ui-label { font-weight: 500; font-size: .875rem; color: var(--foreground); margin-bottom: 8px; display: block; line-height: 1.2; }
.k-form label span[style] { color: #dc2626 !important; }
.k-form .mw-ui-field-holder { margin-bottom: 18px; }
.k-form input[type=text], .k-form input[type=email], .k-form input[type=tel], .k-form input[type=number], .k-form select, .k-form textarea {
    width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--input); border-radius: var(--radius-md);
    font: inherit; font-size: .9375rem; background: var(--background); color: var(--foreground);
    box-shadow: var(--shadow-xs); transition: border-color .15s, box-shadow .15s;
    appearance: none; -webkit-appearance: none;
}
.k-form select {
    padding-right: 36px; cursor: pointer;
    background: var(--background) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6a72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
}
.k-form input::placeholder, .k-form textarea::placeholder { color: #8a959c; }
.k-form input:focus, .k-form select:focus, .k-form textarea:focus {
    outline: 0; border-color: var(--ring); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 25%, transparent);
}
.k-form textarea { height: auto; min-height: 120px; padding: 10px 12px; resize: vertical; }
.k-form-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--border); }
.k-form .mw-captcha { margin: 0 !important; }
.k-form .captcha-holder { display: flex; align-items: center; gap: 10px; }
.k-form .mw-captcha-img { border-radius: var(--radius-md); border: 1px solid var(--border); background: #fff; }
.k-form button[type=submit], .k-form .btn {
    display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px;
    background: var(--primary); color: var(--primary-foreground); border: 0; border-radius: var(--radius-md);
    font: 500 .875rem/1 var(--font); cursor: pointer; box-shadow: var(--shadow-xs); transition: background-color .15s;
}
.k-form button[type=submit]:hover { background: color-mix(in srgb, var(--primary) 88%, #000); }

/* ---------- Hizmetlerimiz (blog) ---------- */
.service-posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-post {
    display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-xs);
    transition: box-shadow .2s, transform .2s var(--ease);
}
.service-post:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.service-post:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; align-items: stretch; }
.service-post-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--muted); }
.service-post:first-child .service-post-img { aspect-ratio: auto; min-height: 360px; }
.service-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-post:hover .service-post-img img { transform: scale(1.04); }
.service-post-body { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; flex: 1; }
.service-post:first-child .service-post-body { justify-content: center; padding: 40px; }
.service-post-body h2 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); margin-bottom: 8px; }
.service-post:first-child .service-post-body h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.service-post-body p { color: var(--muted-foreground); max-width: 52ch; }
.service-post-body .text-link { margin-top: auto; }
.service-post:hover .text-link { color: var(--accent-ink); }

/* Hizmet detay */
.service-hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.service-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 36 44 / .92) 0%, rgb(20 36 44 / .62) 60%, rgb(20 36 44 / .3) 100%); }
.service-hero-in { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; }
.service-hero h1 { color: #fff; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); letter-spacing: -.045em; max-width: 16ch; }
.service-hero .lead { color: rgb(255 255 255 / .8); max-width: 52ch; margin: 0; }
.service-hero .crumbs, .service-hero .crumbs a { color: rgb(255 255 255 / .65); }
.service-hero .crumbs a:hover, .service-hero .crumbs span { color: #fff; }

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.service-article { max-width: 68ch; font-size: 1.0625rem; line-height: 1.75; }
.service-article > p:first-child { font-size: 1.1875rem; color: var(--foreground); line-height: 1.6; }
.service-article h2 { font-size: 1.5rem; margin-top: 48px; margin-bottom: 16px; }
.service-article h3 { font-size: 1.0625rem; margin-top: 24px; margin-bottom: 6px; }
.service-article ul { list-style: none; padding: 0; }
.service-article ol { padding-left: 22px; }
.service-article ul li { position: relative; padding-left: 22px; }
.service-article ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.service-article li { margin-bottom: 8px; }
.service-article ol li::marker { color: var(--accent-ink); font-weight: 600; }
.service-article p, .service-article li { color: var(--text); }
.service-article strong { color: var(--foreground); font-weight: 600; }
.service-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 20px; box-shadow: var(--shadow-xs); }
.side-card h3 { font-size: 1rem; margin-bottom: 8px; }
.side-card .btn { width: 100%; margin-top: 8px; }
.side-cta { background: var(--dark); color: #fff; border-color: var(--dark); padding: 24px; }
.side-cta h3 { color: #fff; font-size: 1.125rem; }
.side-cta p { color: rgb(255 255 255 / .7); font-size: .9375rem; }
.side-links { display: grid; gap: 0; }
.side-links .btn:first-child { margin-top: 0; }
.side-list { list-style: none; margin: 0 -8px; padding: 0; }
.side-list a { display: block; padding: 8px; border-radius: var(--radius-md); text-decoration: none; font-size: .9375rem; color: var(--muted-foreground); transition: background-color .15s, color .15s; }
.side-list a:hover { background: var(--muted); color: var(--foreground); }
.side-list .active a { background: var(--muted); color: var(--foreground); font-weight: 500; }

/* ---------- CTA karti ve footer ---------- */
.cta-band { padding: 0 0 var(--section); }
.cta-band .cta-in {
    position: relative; overflow: hidden; isolation: isolate;
    width: calc(100% - 2 * var(--gutter)); max-width: calc(1240px - 2 * var(--gutter));
    padding: 56px; border-radius: var(--radius-2xl); background: var(--dark); color: #fff;
}
.cta-band .cta-in::before {
    content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent) 0%, transparent 65%);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-in p { margin: 0; color: rgb(255 255 255 / .72); max-width: 52ch; font-size: 1.0625rem; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-actions .btn { height: 46px; padding: 0 22px; font-size: .9375rem; }
.section-alt + .cta-band { background: var(--muted); }

.site-footer { background: var(--dark); color: rgb(255 255 255 / .62); padding-top: 64px; font-size: .9375rem; }
.site-footer h2 { color: #fff; font-size: .875rem; font-weight: 600; letter-spacing: 0; margin-bottom: 16px; }
.site-footer a { text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 48px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--accent); }
.footer-bottom { margin-top: 56px; padding-bottom: 96px; font-size: .8125rem; }
.footer-bottom::before { content: ""; display: block; height: 1px; margin-bottom: 22px; background: rgb(255 255 255 / .1); }

.float-actions { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; z-index: 60; }
.float-actions a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px;
    border-radius: 999px; color: #fff; font-weight: 500; font-size: .875rem; text-decoration: none;
    box-shadow: var(--shadow-lg); transition: transform .15s var(--ease), background-color .15s;
}
.float-actions a:hover { transform: translateY(-2px); }
.float-actions .icon { width: 17px; height: 17px; }
.fa-wa { background: var(--wa); }
.fa-wa:hover { background: var(--wa-hover); }
.fa-tel { background: var(--dark); }

/* Sayfalama (shadcn pagination) */
.paging ul { list-style: none; display: flex; gap: 4px; padding: 0; justify-content: center; margin-top: 40px; }
.paging a {
    display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--radius-md);
    text-decoration: none; font-size: .875rem; font-weight: 500; color: var(--foreground); border: 1px solid transparent;
}
.paging a:hover { background: var(--muted); }
.paging .active a { border-color: var(--input); background: var(--background); box-shadow: var(--shadow-xs); }

/* ---------- Duyarli ---------- */
@media (max-width: 1100px) {
    .product-grid, .catalog-main .product-grid { grid-template-columns: repeat(3, 1fr); }
    .features, .reviews { grid-template-columns: repeat(2, 1fr); }
    .quick-services { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .service-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .service-grid > li:first-child { grid-row: span 1; }
    .service-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
    .main-nav a { padding: 0 9px; }
}
@media (max-width: 960px) {
    :root { --gutter: 16px; --header-h: 64px; }
    .hide-sm { display: none !important; }
    .nav-toggle { display: inline-flex; }
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
        background: var(--background); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; box-shadow: var(--shadow-lg);
    }
    .nav-open .main-nav { display: block; animation: pop-in .15s var(--ease); }
    .main-nav ul { flex-direction: column; }
    .main-nav a { height: 44px; padding: 0 12px; font-size: .9375rem; }
    .main-nav .submenu { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 12px; min-width: 0; background: none; }
    .main-nav li:hover > .submenu { animation: none; }
    .header-actions { margin-left: auto; }
    .brand-logo img { height: 44px; }
}
@media (max-width: 860px) {
    .hero-slider { height: 82vh; min-height: 540px; }
    .hs-arrow { display: none; }
    .hs-slide::after { background: linear-gradient(0deg, rgb(20 36 44 / .95) 0%, rgb(20 36 44 / .7) 55%, rgb(20 36 44 / .25) 100%); }
    .hs-content { justify-content: flex-end; padding-bottom: 100px; }
    .hs-nav { bottom: 16px; }
    .hs-tabs { gap: 2px; padding: 3px; }
    .hs-tab { font-size: .75rem; padding: 10px 6px; text-align: center; }

    .section-head { margin-bottom: 28px; }
    .page-head { padding-top: 32px; }

    .product-grid, .catalog-main .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-body { padding: 12px; }
    .product-links { grid-template-columns: 1fr; }
    .product-detail, .about, .contact, .service-layout { grid-template-columns: 1fr; gap: 32px; }
    .product-info, .about-media, .service-side { position: static; }
    .service-posts { grid-template-columns: 1fr; }
    .service-post:first-child { grid-template-columns: 1fr; }
    .service-post:first-child .service-post-img { min-height: 0; aspect-ratio: 16 / 9; }
    .service-post:first-child .service-post-body { padding: 24px; }
    .contact-form-box { padding: 20px; }
    .quick-services { grid-template-columns: repeat(2, 1fr); }
    .cta-band .cta-in { padding: 32px 24px; }
    .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .tab { flex-shrink: 0; }

    .float-actions {
        left: 0; right: 0; bottom: 0; flex-direction: row; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgb(255 255 255 / .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border);
    }
    .float-actions a { flex: 1; border-radius: var(--radius-md); box-shadow: none; height: 44px; }
    .float-actions a:hover { transform: none; }
}
@media (max-width: 560px) {
    .service-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .service-grid > li:first-child { grid-column: auto; grid-row: span 1; }
    .service-grid > li:first-child .service-card-body { padding: 20px 22px; }
    .features, .reviews, .footer-grid, .about-steps { grid-template-columns: 1fr; }
    .hs-tab span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
    .hs-bg { transform: none !important; transition: none; }
    .hs-num, .hs-title, .hs-text, .hs-actions { transform: none !important; clip-path: none !important; }
    .hs-title::after { transition: none; }
    .product-card, .service-post, .quick-service, .service-card img, .product-thumb img { transition: none; transform: none !important; }
}

/* Ilce linkleri (hizmet hub sayfasi) */
.bolge-linkleri { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.bolge-linkleri a {
    display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: var(--card); text-decoration: none; font-weight: 500; color: var(--foreground); transition: border-color .15s, background-color .15s;
}
.bolge-linkleri a:hover { border-color: var(--accent); background: var(--muted); }
.bolge-linkleri .icon { width: 16px; height: 16px; color: var(--accent); flex: none; }
.bolge-fotolar { columns: 2 240px; margin-top: 16px; }

/* Cerez bandi (footer.php): masaustunde sol alt, mobilde alttaki buton cubugunun ustunde */
.cerez-bandi {
    position: fixed; left: 20px; bottom: 20px; z-index: 70; max-width: 440px; padding: 16px 18px;
    background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}
.cerez-bandi[hidden] { display: none; }
.cerez-bandi p { margin: 0 0 12px; font-size: .875rem; line-height: 1.5; }
.cerez-butonlar { display: flex; justify-content: flex-end; gap: 8px; }
@media (max-width: 860px) {
    .cerez-bandi { left: 12px; right: 12px; max-width: none; bottom: calc(76px + env(safe-area-inset-bottom)); }
    .cerez-butonlar .btn { flex: 1; }
}
