/* ==========================================================================
   Alboğa Car Servis — site stil sayfası
   --------------------------------------------------------------------------
   Renk yönü: koyu grafit yüzeyler + tek bir kontrollü kırmızı vurgu.
   Şablonun #ff3d24 tonu neon'a kaçıp koyu zeminde göz yoruyordu; bunun
   yerine bir tık kırılmış, marka mesajlarındaki "ölçülü müdahale"
   diliyle uyumlu bir kırmızı kullanılıyor.

   Ton seçimi ölçülerek yapıldı: #e5544a koyu zeminde 5,13:1, üzerine
   binen koyu metinde 4,88:1 kontrast veriyor — ikisi de WCAG AA'yı
   karşılıyor. Daha koyu kırmızılar (#d93b30, #dc3d33) metin rengi olarak
   4,5:1'in altında kaldığı için elendi. Tonu değiştirirseniz bu iki
   oranı yeniden ölçün.

   Bootstrap / AOS / Swiper / LightGallery KULLANILMAZ — brief bölüm 8'deki
   sayfa hızı hedefi için ~600 KB'lık bağımlılık yerine bu dosya + 12 KB JS
   yeterli geldi. Yerleşim modern CSS grid/flex ile kurulur.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tasarım değişkenleri
   -------------------------------------------------------------------------- */

:root {
    /* Yüzeyler */
    --surface-0: #0f1113;
    --surface-1: #15181b;
    --surface-2: #1c2024;
    --surface-3: #262b30;

    /* Metin */
    --text-1: #eef1f3;
    --text-2: #a8b1b8;
    --text-3: #79838b;

    /* Vurgu — kırmızı */
    --accent: #e5544a;
    --accent-hi: #f07c73;
    --accent-lo: #b93f36;
    --accent-soft: rgba(229, 84, 74, 0.12);
    --accent-line: rgba(229, 84, 74, 0.35);

    /* İkincil — çelik mavisi, bilgi ve durum göstergeleri için */
    --steel: #6d8b9c;

    /* Anlamsal */
    --ok: #4f9d69;
    --warn: #c9962f;
    --danger: #c2553f;

    /* Çizgiler */
    --line: rgba(255, 255, 255, 0.07);
    --line-2: rgba(255, 255, 255, 0.13);

    /* Tipografi */
    --font-heading: "Barlow", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

    /* Ölçü */
    --container: 1240px;
    --gutter: 24px;
    --radius: 4px;
    --radius-lg: 8px;

    /* Bölüm boşluğu */
    --section-y: clamp(64px, 8vw, 116px);

    /* Gölge — koyu zeminde çok hafif tutulur */
    --shadow-1: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-2: 0 12px 40px rgba(0, 0, 0, 0.45);

    /* Geçiş */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Temel
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    background: var(--surface-0);
    color: var(--text-2);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.is-locked {
    overflow: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--accent-hi);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-1);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
}

h1 {
    font-size: clamp(2.2rem, 5.2vw, 3.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
}

h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

h4 {
    font-size: 1.15rem;
}

p {
    margin: 0 0 1.1em;
}

p:last-child {
    margin-bottom: 0;
}

ul,
ol {
    margin: 0 0 1.1em;
    padding-left: 1.3em;
}

li + li {
    margin-top: 0.4em;
}

strong {
    color: var(--text-1);
    font-weight: 600;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2rem 0;
}

::selection {
    background: var(--accent);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--accent-hi);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Klavye kullanıcıları için içeriğe atlama bağlantısı */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--accent);
    color: #fff;
    padding: 12px 20px;
    font-weight: 600;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    color: #fff;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   3. Yerleşim
   -------------------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: 860px;
}

.section {
    padding-block: var(--section-y);
    position: relative;
}

.section--tight {
    padding-block: clamp(44px, 5vw, 72px);
}

.section--alt {
    background: var(--surface-1);
}

.section--line {
    border-top: 1px solid var(--line);
}

.grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) {
    .grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 640px) and (max-width: 899px) {
    .grid--3,
    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------------------------
   4. Bölüm başlıkları
   -------------------------------------------------------------------------- */

.section-head {
    max-width: 720px;
    margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
    flex: none;
}

.section-head--center .eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
    flex: none;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-2);
    max-width: 62ch;
}

.section-head--center .section-lead {
    margin-inline: auto;
}

/* --------------------------------------------------------------------------
   5. Butonlar
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn--primary:hover {
    background: var(--accent-hi);
    border-color: var(--accent-hi);
    color: #fff;
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: var(--text-1);
    border-color: var(--line-2);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.btn--solid {
    background: var(--surface-2);
    color: var(--text-1);
    border-color: var(--line-2);
}

.btn--solid:hover {
    background: var(--surface-3);
    color: var(--text-1);
}

.btn--wide {
    width: 100%;
}

.btn--sm {
    padding: 9px 16px;
    font-size: 0.85rem;
}

.btn[disabled],
.btn.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Metin bağlantısı — ok işaretli */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    color: var(--accent);
}

.link-arrow::after {
    content: "";
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: width 0.2s var(--ease);
}

.link-arrow:hover::after {
    width: 26px;
}

/* --------------------------------------------------------------------------
   6. Başlık (header)
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
        backdrop-filter 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
    background: rgba(15, 17, 19, 0.92);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}

/* Hero'su olmayan sayfalarda başlık baştan opak */
.site-header.is-solid {
    position: sticky;
    background: var(--surface-0);
    border-bottom-color: var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.brand img {
    height: 38px;
    width: auto;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: 0.01em;
    color: var(--text-1);
    line-height: 1.1;
}

.brand-text span {
    display: block;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 3px;
}

/* Gezinme */
.nav {
    display: none;
}

@media (min-width: 1080px) {
    .nav {
        display: block;
        margin-inline: auto;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 0;
    position: relative;
}

.nav-list > li > a {
    display: block;
    padding: 12px 15px;
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text-2);
    letter-spacing: 0.01em;
}

.nav-list > li > a:hover,
.nav-list > li.is-active > a {
    color: var(--text-1);
}

.nav-list > li.is-active > a {
    color: var(--accent);
}

.has-children > a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    opacity: 0.7;
}

.submenu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 260px;
    background: var(--surface-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    box-shadow: var(--shadow-2);
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s var(--ease);
    z-index: 10;
}

.has-children:hover > .submenu,
.has-children:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    margin: 0;
}

.submenu a {
    display: block;
    padding: 9px 14px;
    font-size: 0.9rem;
    color: var(--text-2);
    border-radius: 3px;
}

.submenu a:hover {
    background: var(--surface-3);
    color: var(--text-1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.header-phone {
    display: none;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-1);
    font-size: 0.98rem;
}

@media (min-width: 760px) {
    .header-phone {
        display: inline-flex;
    }
}

.header-phone svg {
    width: 17px;
    height: 17px;
    color: var(--accent);
}

.header-actions .btn {
    display: none;
}

@media (min-width: 1080px) {
    .header-actions .btn {
        display: inline-flex;
    }
}

/* Mobil menü düğmesi */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    cursor: pointer;
}

@media (min-width: 1080px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--text-1);
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobil çekmece */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 120;
    visibility: hidden;
    pointer-events: none;
}

.drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.drawer.is-open .drawer-backdrop {
    opacity: 1;
}

.drawer-panel {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(400px, 88vw);
    background: var(--surface-1);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.drawer.is-open .drawer-panel {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--gutter);
    border-bottom: 1px solid var(--line);
}

.drawer-close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    color: var(--text-1);
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
}

.drawer-nav {
    list-style: none;
    margin: 0;
    padding: 12px var(--gutter);
    flex: 1;
}

.drawer-nav li {
    margin: 0;
    border-bottom: 1px solid var(--line);
}

.drawer-nav > li > a {
    display: block;
    padding: 15px 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-1);
}

.drawer-nav .submenu-mobile {
    list-style: none;
    padding: 0 0 12px 16px;
    margin: 0;
    border-left: 1px solid var(--line-2);
}

.drawer-nav .submenu-mobile li {
    border: 0;
}

.drawer-nav .submenu-mobile a {
    display: block;
    padding: 8px 0;
    font-size: 0.94rem;
    color: var(--text-2);
}

.drawer-foot {
    padding: 20px var(--gutter) 28px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 10px;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(92vh, 860px);
    padding-block: 140px 80px;
    overflow: hidden;
}

.hero--compact {
    min-height: 0;
    padding-block: 150px 64px;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img,
.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Katmanlı örtü: sola doğru koyulaşarak metnin okunurluğunu garanti eder */
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 17, 19, 0.95) 0%, rgba(15, 17, 19, 0.78) 45%, rgba(15, 17, 19, 0.45) 100%),
        linear-gradient(0deg, rgba(15, 17, 19, 0.9) 0%, rgba(15, 17, 19, 0) 55%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero-lead {
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    color: var(--text-2);
    max-width: 58ch;
    margin-bottom: 32px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-2);
    border-radius: 100px;
    font-size: 0.83rem;
    color: var(--text-2);
}

.badge svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
    flex: none;
}

/* Sayfa başlığı şeridi (iç sayfalar) */
.page-head {
    position: relative;
    padding-block: 150px 60px;
    background: var(--surface-1);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.page-head-media {
    position: absolute;
    inset: 0;
    opacity: 0.22;
}

.page-head-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-head-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--surface-1) 10%, rgba(21, 24, 27, 0.4) 100%);
}

.page-head-inner {
    position: relative;
    z-index: 1;
}

.page-head h1 {
    margin-bottom: 10px;
}

.page-head-sub {
    color: var(--text-2);
    max-width: 62ch;
    font-size: 1.02rem;
}

/* Kırıntı gezinme (breadcrumbs) */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    font-size: 0.85rem;
    color: var(--text-3);
}

.breadcrumbs li {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs li + li::before {
    content: "/";
    color: var(--line-2);
}

.breadcrumbs a {
    color: var(--text-3);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs [aria-current] {
    color: var(--text-2);
}

/* --------------------------------------------------------------------------
   8. Kartlar
   -------------------------------------------------------------------------- */

.card {
    position: relative;
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
        background 0.25s var(--ease);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    border-color: var(--accent-line);
    background: var(--surface-2);
    transform: translateY(-3px);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.28rem;
}

.card p {
    color: var(--text-2);
    font-size: 0.95rem;
    flex: 1;
}

.card .link-arrow {
    margin-top: 20px;
}

/* Hizmet kartı — numara + ikon */
.service-card {
    padding-top: 32px;
}

.service-card-index {
    position: absolute;
    top: 18px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--line-2);
    pointer-events: none;
    transition: -webkit-text-stroke-color 0.25s var(--ease);
}

.service-card:hover .service-card-index {
    -webkit-text-stroke-color: var(--accent-line);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: var(--radius);
    margin-bottom: 20px;
    color: var(--accent);
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

/* Görselli hizmet kartı */
.service-card--media {
    padding: 0;
    overflow: hidden;
}

.service-card--media .service-card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-2);
}

.service-card--media .service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.service-card--media:hover .service-card-media img {
    transform: scale(1.04);
}

.service-card--media .service-card-body {
    padding: 26px 28px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* --------------------------------------------------------------------------
   8b. Hizmet karoları — damalı ızgara (ana sayfa)
   --------------------------------------------------------------------------
   Üstte görsel, altta metin. Tüm karolar eşit yükseklikte: ızgara satırı
   `1fr` ile gerildiği için en uzun metin diğerlerini de yükseltir; gövde
   `flex` olduğundan "İncele" bağlantısı her karoda aynı hizada oturur.

   Damalı düzen iki grafit tonuyla kurulur. Koyu temada gerçek beyaz bir
   kart göz yorar ve markanın ağırbaşlı dilini bozar; bunun yerine bir
   koyu (--tile-dark) bir açık (--tile-light) ton kullanılıyor. Açık ton
   nötr griden bir tık ısıtıldı, böylece iki renk rastgele değil aynı
   paletin iki ucu gibi okunuyor.
   -------------------------------------------------------------------------- */

:root {
    --tile-dark: #121519;
    --tile-light: #20262c;
    --tile-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

.tile-grid {
    display: grid;
    gap: 20px;
    /* Izgara satırları varsayılan olarak birbirinden bağımsız yükselir;
       ikinci satır ilkinden kısa kalırdı. `1fr` tüm satırları en uzun
       karoya eşitler — sekiz karo tek bir blok gibi okunur. */
    grid-auto-rows: 1fr;
    /* Kart altındaki gölgenin kırpılmaması için nefes payı. */
    padding-bottom: 6px;
}

@media (min-width: 640px) {
    .tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .tile-grid {
        gap: 24px;
    }

    .tile-grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .tile-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-tile {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--tile-dark);
    border: 1px solid var(--line);
    /* Katmanlı gölge: yakın ve sert olan kenarı ayırır, uzak ve yumuşak
       olan karoyu zeminden kaldırır — tek gölgeyle 3B hissi oluşmuyor. */
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 8px 18px -6px rgba(0, 0, 0, 0.5),
        0 22px 40px -18px rgba(0, 0, 0, 0.65);
    transition:
        transform 0.42s var(--tile-ease),
        box-shadow 0.42s var(--tile-ease),
        border-color 0.42s var(--tile-ease);
    /* Hover'da ölçeklenirken kenarların titremesini engeller. */
    will-change: transform;
}

/* --- Damalı yerleşim ---------------------------------------------------
   Desen, satır başına düşen sütun sayısına bağlı; her kırılımda yeniden
   kurulur.

   TEK SAYIDA sütunda (1 ve 3) basit tek/çift kuralı kendiliğinden dama
   verir: her satır bir öncekinin tersiyle başlar. ÇİFT sayıda sütunda
   (2 ve 4) aynı kural dikey şerit üretir — o yüzden oralarda sütun
   sayısının iki katı uzunluğunda çevrim gerekiyor (2 sütun → 4'lük,
   4 sütun → 8'lik).
   ---------------------------------------------------------------------- */

/* Tek sütun — ve ≥900px'te 3 sütun: sırayla koyu / açık */
.service-tile:nth-child(even) {
    background: var(--tile-light);
}

@media (min-width: 640px) and (max-width: 899px) {
    /* 2 sütun — satır 1: K A / satır 2: A K */
    .service-tile:nth-child(4n + 1),
    .service-tile:nth-child(4n + 4) {
        background: var(--tile-dark);
    }

    .service-tile:nth-child(4n + 2),
    .service-tile:nth-child(4n + 3) {
        background: var(--tile-light);
    }
}

@media (min-width: 900px) {
    /* 4 sütun — satır 1: K A K A / satır 2: A K A K */
    .tile-grid--4 .service-tile:nth-child(8n + 1),
    .tile-grid--4 .service-tile:nth-child(8n + 3),
    .tile-grid--4 .service-tile:nth-child(8n + 6),
    .tile-grid--4 .service-tile:nth-child(8n + 8) {
        background: var(--tile-dark);
    }

    .tile-grid--4 .service-tile:nth-child(8n + 2),
    .tile-grid--4 .service-tile:nth-child(8n + 4),
    .tile-grid--4 .service-tile:nth-child(8n + 5),
    .tile-grid--4 .service-tile:nth-child(8n + 7) {
        background: var(--tile-light);
    }
}

.service-tile-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    border-radius: inherit;
    overflow: hidden;
}

.service-tile-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* --- Görsel alanı ------------------------------------------------------ */

.service-tile-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-0);
    flex: none;
}

.service-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--tile-ease);
}

/* Görselin altına metin bindiğinde okunurluk düşmesin diye alt kenara
   zemin rengine karışan bir geçiş konur. */
.service-tile-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.45));
    pointer-events: none;
}

.service-tile-index {
    position: absolute;
    left: 16px;
    bottom: 12px;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.38);
    transition: -webkit-text-stroke-color 0.42s var(--tile-ease);
    pointer-events: none;
}

/* Görsel girilmemiş karo: boş gri kutu yerine markanın çapraz taraması. */
.service-tile-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--accent);
    background-color: var(--surface-1);
    background-image: repeating-linear-gradient(
        135deg,
        rgba(229, 84, 74, 0.07) 0 2px,
        transparent 2px 9px
    );
}

.service-tile-placeholder svg {
    width: 40px;
    height: 40px;
    opacity: 0.75;
}

/* --- Metin gövdesi ----------------------------------------------------- */

.service-tile-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 24px;
}

.service-tile-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    margin-bottom: 14px;
    flex: none;
    transition: background 0.42s var(--tile-ease), border-color 0.42s var(--tile-ease);
}

.service-tile-icon svg {
    width: 20px;
    height: 20px;
}

.service-tile-body h3 {
    font-size: 1.14rem;
    line-height: 1.3;
    margin-bottom: 8px;
    /* Tek satırlık başlıklarla iki satırlıklar yan yana geldiğinde özet
       metinleri farklı yükseklikten başlıyordu. İki satırlık yer ayrılır,
       böylece tüm karolarda paragraf aynı hizada açılır. */
    min-height: calc(2 * 1.3em);
}

/* Kısa slogan — yalnız hizmetler listesinde. Özetten önce gelir ve
   kırpılmaz: tek satırlık bir ifade olduğu için taşma riski yok. */
.service-tile-tagline {
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.service-tile-body p:not(.service-tile-tagline) {
    color: var(--text-2);
    font-size: 0.92rem;
    line-height: 1.6;
    /* Özet uzunluğu hizmete göre değişir; dört satırda kesilir, tam metin
       hizmet sayfasında durur.

       DİKKAT: buraya `flex: 1` verilmemeli. `-webkit-box` ile birlikte
       kullanıldığında kutu esneyerek dört satırdan yükseliyor, kırpma
       noktasından sonraki satırlar da görünür kalıyor — üç nokta metnin
       ortasında asılı duruyordu. Bağlantıyı aşağı iten şey artık
       bağlantının kendi `margin-top: auto` değeri. */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.service-tile-body .link-arrow {
    margin-top: auto;
}

/* --- Hover / odak ------------------------------------------------------ */

@media (hover: hover) {
    .service-tile:hover {
        transform: translateY(-6px) scale(1.018);
        border-color: var(--accent-line);
        box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.45),
            0 16px 30px -10px rgba(0, 0, 0, 0.55),
            0 36px 64px -24px rgba(0, 0, 0, 0.7);
    }

    .service-tile:hover .service-tile-media img {
        transform: scale(1.06);
    }

    .service-tile:hover .service-tile-index {
        -webkit-text-stroke-color: var(--accent);
    }

    .service-tile:hover .service-tile-icon {
        background: var(--accent);
        border-color: var(--accent);
        color: #14171a;
    }
}

/* Klavyeyle gezenler de aynı geri bildirimi görsün. */
.service-tile:focus-within {
    transform: translateY(-6px) scale(1.018);
    border-color: var(--accent-line);
}

@media (prefers-reduced-motion: reduce) {
    .service-tile,
    .service-tile-media img,
    .service-tile-icon,
    .service-tile-index {
        transition: none;
    }

    .service-tile:hover,
    .service-tile:focus-within {
        transform: none;
    }

    .service-tile:hover .service-tile-media img {
        transform: none;
    }
}

/* Adım / süreç listesi */
.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 2px;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 20px 20px 20px 72px;
    background: var(--surface-1);
    border: 1px solid var(--line);
    margin: 0;
}

.steps li:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.steps li:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 24px;
    top: 20px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent);
}

.steps strong {
    display: block;
    color: var(--text-1);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 3px;
}

.steps p {
    font-size: 0.93rem;
    margin: 0;
}

/* İstatistik */
.stats {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 860px) {
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat {
    background: var(--surface-1);
    padding: 30px 24px;
    text-align: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 700;
    color: var(--text-1);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-value span {
    color: var(--accent);
}

.stat-label {
    font-size: 0.86rem;
    color: var(--text-3);
    letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   9. Önce / sonra karşılaştırma (brief 7.17)
   -------------------------------------------------------------------------- */

.compare {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-2);
    background: var(--surface-2);
    /* Dokunmatik sürükleme sayfa kaydırmasıyla çakışmasın */
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: ew-resize;
}

.compare img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* "Sonra" katmanı üstte durur ve clip-path ile açılır */
.compare-after {
    clip-path: inset(0 0 0 var(--split, 50%));
}

.compare-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--split, 50%);
    width: 2px;
    background: #fff;
    transform: translateX(-1px);
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.compare-grip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    color: #111;
}

.compare-grip svg {
    width: 22px;
    height: 22px;
}

.compare:focus-visible {
    outline: 2px solid var(--accent-hi);
    outline-offset: 3px;
}

.compare-label {
    position: absolute;
    bottom: 14px;
    padding: 5px 12px;
    background: rgba(15, 17, 19, 0.78);
    backdrop-filter: blur(4px);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    pointer-events: none;
}

.compare-label--before {
    left: 14px;
}

.compare-label--after {
    right: 14px;
}

.compare-item {
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.compare-item .compare {
    border: 0;
    border-radius: 0;
}

.compare-item-body {
    padding: 20px 24px 24px;
}

.compare-item-body h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.compare-item-body p {
    font-size: 0.92rem;
    margin: 0;
}

.compare-item-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 10px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: 3px;
    font-size: 0.78rem;
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   10. Akordeon (SSS)
   -------------------------------------------------------------------------- */

.accordion {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-1);
}

.accordion-item + .accordion-item {
    border-top: 1px solid var(--line);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    background: transparent;
    border: 0;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--text-1);
    cursor: pointer;
    line-height: 1.4;
    transition: color 0.2s var(--ease);
}

.accordion-trigger:hover {
    color: var(--accent);
}

.accordion-icon {
    flex: none;
    width: 22px;
    height: 22px;
    position: relative;
    margin-top: 2px;
}

.accordion-icon::before,
.accordion-icon::after {
    content: "";
    position: absolute;
    background: var(--accent);
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.accordion-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    transform: translateY(-50%);
}

.accordion-icon::after {
    left: 50%;
    top: 0;
    width: 1.5px;
    height: 100%;
    transform: translateX(-50%);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.accordion-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s var(--ease);
}

.accordion-panel.is-open {
    grid-template-rows: 1fr;
}

.accordion-panel-inner {
    overflow: hidden;
}

.accordion-body {
    padding: 0 24px 24px;
    color: var(--text-2);
    font-size: 0.97rem;
    max-width: 78ch;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   11. Zengin metin (yönetim panelinden girilen içerik)
   -------------------------------------------------------------------------- */

.prose {
    color: var(--text-2);
    font-size: 1.02rem;
    line-height: 1.8;
}

.prose > *:first-child {
    margin-top: 0;
}

.prose h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    margin-top: 2.2em;
    margin-bottom: 0.7em;
    padding-top: 1.2em;
    border-top: 1px solid var(--line);
}

.prose h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.prose h3 {
    font-size: 1.22rem;
    margin-top: 1.8em;
    margin-bottom: 0.5em;
}

.prose ul,
.prose ol {
    padding-left: 1.2em;
}

.prose ul {
    list-style: none;
    padding-left: 0;
}

.prose ul li {
    position: relative;
    padding-left: 26px;
}

.prose ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border: 1.5px solid var(--accent);
    border-radius: 1px;
    transform: rotate(45deg);
}

.prose blockquote {
    margin: 1.8em 0;
    padding: 20px 26px;
    border-left: 2px solid var(--accent);
    background: var(--surface-1);
    color: var(--text-1);
    font-size: 1.08rem;
}

.prose img {
    border-radius: var(--radius-lg);
    margin-block: 1.6em;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-block: 1.6em;
    font-size: 0.94rem;
}

.prose th,
.prose td {
    padding: 12px 14px;
    border: 1px solid var(--line);
    text-align: left;
}

.prose th {
    background: var(--surface-2);
    color: var(--text-1);
    font-family: var(--font-heading);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. Hizmet detay yerleşimi
   -------------------------------------------------------------------------- */

.detail-layout {
    display: grid;
    gap: 48px;
    align-items: start;
}

@media (min-width: 1000px) {
    .detail-layout {
        grid-template-columns: minmax(0, 1fr) 352px;
        gap: 64px;
    }
}

.sidebar {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 100px;
}

@media (max-width: 999px) {
    .sidebar {
        position: static;
    }
}

.sidebar-block {
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.sidebar-block h3 {
    font-size: 1.08rem;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin: 0;
}

.sidebar-list li + li {
    border-top: 1px solid var(--line);
}

.sidebar-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-2);
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 500;
}

.sidebar-list a:hover,
.sidebar-list .is-current {
    color: var(--accent);
}

.sidebar-list a::after {
    content: "→";
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s var(--ease);
}

.sidebar-list a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-cta {
    background: linear-gradient(160deg, var(--surface-2), var(--surface-1));
    border-color: var(--accent-line);
}

.sidebar-cta p {
    font-size: 0.94rem;
    margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   13. Formlar
   -------------------------------------------------------------------------- */

.form-grid {
    display: grid;
    gap: 18px;
}

@media (min-width: 640px) {
    .form-grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-full {
        grid-column: 1 / -1;
    }
}

.field label,
.field-label {
    display: block;
    margin-bottom: 7px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-1);
    letter-spacing: 0.01em;
}

.field-required {
    color: var(--accent);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="date"],
.field input[type="number"],
.field input[type="password"],
.field select,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    background: var(--surface-1);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    color: var(--text-1);
    font-family: var(--font-body);
    font-size: 0.97rem;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2379838b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 38px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface-2);
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-3);
}

.field-hint {
    margin-top: 6px;
    font-size: 0.83rem;
    color: var(--text-3);
}

.field-error {
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--danger);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: var(--danger);
}

.field-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.9rem;
    color: var(--text-2);
    cursor: pointer;
}

.field-check input {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    accent-color: var(--accent);
    flex: none;
}

/* Bal küpü alanı — insanlar görmez, botlar doldurur (brief 11.2) */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* Uyarı kutuları */
.alert {
    padding: 15px 18px;
    border-radius: var(--radius);
    border: 1px solid;
    font-size: 0.94rem;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.alert svg {
    width: 19px;
    height: 19px;
    flex: none;
    margin-top: 2px;
}

.alert p:last-child {
    margin-bottom: 0;
}

.alert--success {
    background: rgba(79, 157, 105, 0.1);
    border-color: rgba(79, 157, 105, 0.35);
    color: #8fd0a4;
}

.alert--error {
    background: rgba(194, 85, 63, 0.1);
    border-color: rgba(194, 85, 63, 0.35);
    color: #e09582;
}

.alert--warning {
    background: rgba(201, 150, 47, 0.1);
    border-color: rgba(201, 150, 47, 0.35);
    color: #dfc07e;
}

.alert--info {
    background: rgba(109, 139, 156, 0.1);
    border-color: rgba(109, 139, 156, 0.35);
    color: #a5bcc9;
}

/* --------------------------------------------------------------------------
   14. İletişim
   -------------------------------------------------------------------------- */

.contact-layout {
    display: grid;
    gap: 40px;
}

@media (min-width: 960px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 56px;
    }
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 2px;
}

.contact-list li {
    margin: 0;
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--surface-1);
    border: 1px solid var(--line);
}

.contact-list li:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.contact-list li:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.contact-list-icon {
    width: 40px;
    height: 40px;
    flex: none;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: var(--radius);
    color: var(--accent);
}

.contact-list-icon svg {
    width: 19px;
    height: 19px;
}

.contact-list dt {
    font-size: 0.8rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 3px;
}

.contact-list dd {
    margin: 0;
    color: var(--text-1);
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 500;
}

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 16 / 10;
    background: var(--surface-1);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
}

.hours-table td {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.hours-table tr:last-child td {
    border-bottom: 0;
}

.hours-table td:last-child {
    text-align: right;
    color: var(--text-1);
    font-variant-numeric: tabular-nums;
}

.hours-table .is-today td {
    color: var(--accent);
}

.hours-table .is-closed td:last-child {
    color: var(--text-3);
}

/* --------------------------------------------------------------------------
   15. CTA şeridi
   -------------------------------------------------------------------------- */

.cta-band {
    position: relative;
    overflow: hidden;
    background: var(--surface-1);
    border-block: 1px solid var(--line);
}

/* --- Paralaks arka plan ------------------------------------------------
   `background-attachment: fixed` yerine ayrı bir katman kaydırılıyor:
   iOS Safari sabit arka planı desteklemiyor, Android'de de kaydırma
   takılıyor. Katmanın `transform` ile taşınması GPU'da kalır.

   Katman şeridin üstünden ve altından %22 taşar. Bu pay, JS'teki azami
   kaymadan (yükseklik × 0.18) büyük olmak ZORUNDA — küçük kalırsa uçlarda
   katmanın kenarı şeridin içine girip boşluk açar. Derinlik oranını
   değiştirirseniz buradaki payı da birlikte artırın.

   JS kapalıysa görsel yine görünür, yalnız sabit durur; bozulma olmaz.
   ---------------------------------------------------------------------- */

.cta-band--parallax {
    /* Görsel yüklenene kadar ve kenarlarda zemin rengi görünür. */
    background: var(--surface-0);
}

.cta-band-bg {
    position: absolute;
    inset: -22% 0;
    z-index: 0;
    pointer-events: none;
}

.cta-band-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform;
}

/* Fotoğrafın üstüne metin biniyor: kontrastı garanti altına alan
   koyu perde. Yatay geçiş metnin yoğun olduğu sol tarafı daha çok
   kapatır, sağdaki fotoğraf nefes alır. */
.cta-band--parallax::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(15, 17, 19, 0.94) 0%, rgba(15, 17, 19, 0.82) 55%, rgba(15, 17, 19, 0.66) 100%),
        linear-gradient(to bottom, rgba(15, 17, 19, 0.5), transparent 30%, rgba(15, 17, 19, 0.5));
    pointer-events: none;
}

.cta-band--parallax .cta-band-inner {
    position: relative;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .cta-band-bg img {
        transform: none !important;
    }
}

.cta-band-inner {
    display: grid;
    gap: 28px;
    align-items: center;
    padding-block: clamp(48px, 6vw, 76px);
}

@media (min-width: 900px) {
    .cta-band-inner {
        grid-template-columns: 1fr auto;
        gap: 48px;
    }
}

.cta-band h2 {
    margin-bottom: 10px;
}

.cta-band p {
    color: var(--text-2);
    max-width: 58ch;
    margin: 0;
}

/* --------------------------------------------------------------------------
   16. Altbilgi
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--surface-1);
    border-top: 1px solid var(--line);
    padding-top: clamp(48px, 6vw, 76px);
}

.footer-grid {
    display: grid;
    gap: 36px;
}

@media (min-width: 720px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1020px) {
    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
        gap: 48px;
    }
}

.footer-brand p {
    font-size: 0.94rem;
    color: var(--text-3);
    max-width: 36ch;
    margin-top: 18px;
}

.footer-col h4 {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: var(--text-2);
    font-size: 0.93rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    color: var(--text-2);
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    margin-top: clamp(36px, 4vw, 56px);
    padding-block: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    align-items: center;
    justify-content: space-between;
    font-size: 0.86rem;
    color: var(--text-3);
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-bottom a {
    color: var(--text-3);
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   17. Mobil sabit CTA çubuğu (brief 7.13)
   -------------------------------------------------------------------------- */

.sticky-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    background: var(--surface-2);
    border-top: 1px solid var(--line-2);
    padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 860px) {
    .sticky-cta {
        display: none;
    }
}

body:has(.sticky-cta) .site-footer {
    padding-bottom: 76px;
}

.sticky-cta a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 11px 8px 13px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-1);
    text-transform: uppercase;
}

.sticky-cta a + a {
    border-left: 1px solid var(--line-2);
}

.sticky-cta a svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.sticky-cta a.is-accent {
    background: var(--accent);
    color: #fff;
}

.sticky-cta a.is-accent svg {
    color: #fff;
}

/* --------------------------------------------------------------------------
   18. Çerez onay banner'ı (brief 8)
   -------------------------------------------------------------------------- */

.consent {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: var(--gutter);
    z-index: 130;
    max-width: 640px;
    margin-inline: auto;
    background: var(--surface-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2);
    padding: 24px;
    transform: translateY(140%);
    transition: transform 0.4s var(--ease);
}

@media (max-width: 859px) {
    .consent {
        bottom: 74px;
    }
}

.consent.is-visible {
    transform: translateY(0);
}

.consent h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.consent p {
    font-size: 0.9rem;
    color: var(--text-2);
    margin-bottom: 16px;
}

.consent-options {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.consent-options.is-hidden {
    display: none;
}

.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.consent-actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
}

.consent-link {
    background: none;
    border: 0;
    padding: 0;
    color: var(--text-3);
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
}

.consent-link:hover {
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   19. Galeri ızgarası
   -------------------------------------------------------------------------- */

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.gallery-filter {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--line-2);
    border-radius: 100px;
    color: var(--text-2);
    font-family: var(--font-heading);
    font-size: 0.87rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.gallery-filter:hover {
    border-color: var(--accent-line);
    color: var(--text-1);
}

.gallery-filter.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* --------------------------------------------------------------------------
   20. Yorumlar
   -------------------------------------------------------------------------- */

.quote {
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quote-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
    color: var(--accent);
}

.quote-stars svg {
    width: 16px;
    height: 16px;
}

.quote-body {
    flex: 1;
    color: var(--text-2);
    font-size: 0.98rem;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.quote-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    display: grid;
    place-items: center;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    flex: none;
    object-fit: cover;
}

.quote-name {
    color: var(--text-1);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.98rem;
}

.quote-meta {
    font-size: 0.83rem;
    color: var(--text-3);
}

/* --------------------------------------------------------------------------
   21. Hata / bakım sayfaları
   -------------------------------------------------------------------------- */

.status-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 40px var(--gutter);
    position: relative;
    overflow: hidden;
}

.status-page-inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.status-code {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 18vw, 10rem);
    font-weight: 700;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent-line);
    margin-bottom: 20px;
}

.status-page h1 {
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    margin-bottom: 14px;
}

.status-page p {
    color: var(--text-2);
    margin-bottom: 28px;
}

.status-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 32px;
}

/* --------------------------------------------------------------------------
   22. Yardımcı sınıflar
   -------------------------------------------------------------------------- */

.text-center {
    text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.muted {
    color: var(--text-3);
}

.accent {
    color: var(--accent);
}

.nowrap {
    white-space: nowrap;
}

.divider {
    height: 1px;
    background: var(--line);
    border: 0;
    margin-block: clamp(40px, 5vw, 64px);
}

/* --------------------------------------------------------------------------
   23. QR / bağlantı sayfası (/qr)
   Menüde olmayan, QR kodla gelinen tek ekranlık giriş sayfası.
   -------------------------------------------------------------------------- */

.qr {
    padding: calc(78px + clamp(28px, 6vw, 56px)) var(--gutter) clamp(48px, 7vw, 88px);
    background:
        radial-gradient(ellipse 70% 38% at 50% 0%, var(--accent-soft), transparent 70%),
        var(--surface-0);
}

.qr-card {
    max-width: 520px;
    margin-inline: auto;
}

.qr-head {
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 34px);
}

.qr-logo {
    display: block;
    height: 110px;
    width: auto;
    max-width: 85%;
    margin: 0 auto 18px;
    object-fit: contain;
}

.qr-intro {
    margin: 0 auto;
    max-width: 38ch;
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.55;
}

.qr-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.qr-link {
    display: grid;
    grid-template-columns: 44px 1fr 20px;
    align-items: center;
    gap: 14px;
    min-height: 66px;
    padding: 12px 16px;
    background: var(--surface-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    color: var(--text-1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.qr-link:hover,
.qr-link:focus-visible {
    background: var(--surface-3);
    border-color: var(--accent-line);
    color: var(--text-1);
}

.qr-link__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
}

.qr-link__icon svg {
    width: 22px;
    height: 22px;
}

.qr-link__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.qr-link__text strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.qr-link__text small {
    color: var(--text-2);
    font-size: 0.85rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.qr-link__go {
    color: var(--text-3);
}

.qr-link__go svg {
    width: 20px;
    height: 20px;
}

/* Ara ve WhatsApp: sayfanın asıl eylemleri */
.qr-link--primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.qr-link--primary:hover,
.qr-link--primary:focus-visible {
    background: var(--accent-hi);
    border-color: var(--accent-hi);
    color: #fff;
}

.qr-link--primary .qr-link__icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.qr-link--primary .qr-link__text small,
.qr-link--primary .qr-link__go {
    color: rgba(255, 255, 255, 0.88);
}

.qr-heading {
    margin: clamp(30px, 5vw, 42px) 0 14px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-3);
}

.qr-explore {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.qr-explore a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    color: var(--text-2);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.qr-explore a:hover,
.qr-explore a:focus-visible {
    border-color: var(--accent-line);
    color: var(--text-1);
}

.qr-explore svg {
    width: 18px;
    height: 18px;
    flex: none;
    color: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
    .qr-link {
        transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
    }

    .qr-link:hover,
    .qr-link:focus-visible {
        transform: translateY(-2px);
    }
}

/* Yazdırma — iletişim sayfası ve içerik sayfaları için */
@media print {
    .site-header,
    .sticky-cta,
    .consent,
    .site-footer,
    .drawer,
    .btn {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    h1, h2, h3, .prose {
        color: #000;
    }
}

/* --------------------------------------------------------------------------
   Videolar: tıklayınca oynayan kapak (YouTube iframe'i ya da yüklenen dosya)
   -------------------------------------------------------------------------- */
.video-card {
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.video-play img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45));
    pointer-events: none;
}

.video-play-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, background 0.2s ease;
}

.video-play:hover .video-play-icon,
.video-play:focus-visible .video-play-icon {
    background: var(--accent-hi);
    transform: scale(1.08);
}

.video-play:focus-visible {
    outline: 2px solid var(--accent-hi);
    outline-offset: -4px;
}

.video-frame iframe,
.video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.video-card-body {
    padding: 18px 22px 22px;
}

.video-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.video-card-body p {
    font-size: 0.92rem;
    margin: 0;
}
