/* =====================================================================
   HAVZA OTO LASTİK — Premium Özel Tasarım v2
   Koyu antrasit zemin + acil kırmızısı + 7/24 amber vurgusu
   Cam efektli paneller, lastik izi dokuları, akıcı animasyonlar
   ===================================================================== */

:root {
    --ink:        #0c141d;
    --ink-2:      #131f2b;
    --ink-3:      #1e2d3c;
    --ink-4:      #2a3b4d;
    --red:        #e63946;
    --red-2:      #ff4d5a;
    --red-dark:   #b3212d;
    --amber:      #ffb703;
    --amber-2:    #ffd166;
    --wa:         #22c55e;
    --wa-dark:    #16a34a;
    --paper:      #f4f6f9;
    --white:      #ffffff;
    --text:       #1f2933;
    --text-mute:  #5f6f80;
    --text-inv:   #e9eef4;
    --text-inv-2: #94a5b6;
    --line:       #e4e9f0;
    --radius:     16px;
    --radius-sm:  11px;
    --shadow:     0 10px 34px rgba(12, 20, 29, .10);
    --shadow-lg:  0 24px 64px rgba(12, 20, 29, .20);
    --shadow-red: 0 12px 34px rgba(230, 57, 70, .35);
    --font-head:  "Archivo", system-ui, sans-serif;
    --font-body:  "Inter", system-ui, sans-serif;
    --topbar-h:   40px;
    --header-h:   82px;
    --ease:       cubic-bezier(.22, .8, .3, 1);
}

/* Lastik izi doku (SVG data URI) */
:root {
    --tread: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='2'%3E%3Cpath d='M2 0v8M2 12v8M2 24v8'/%3E%3Cpath d='M14 4v8M14 16v8M14 -4v4'/%3E%3Cpath d='M26 0v8M26 12v8M26 24v8'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.68;
    font-size: 16px;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.ic { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -0.18em; }
::selection { background: var(--red); color: #fff; }

.container { width: min(1220px, 100% - 44px); margin-inline: auto; }
.container-narrow { width: min(880px, 100% - 44px); }

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--amber); color: var(--ink);
    padding: 10px 18px; font-weight: 700; z-index: 200;
}
.skip-link:focus { left: 0; }

/* =========================== ÜST BAR =========================== */
.topbar {
    background: linear-gradient(90deg, var(--ink) 0%, #16222f 60%, var(--ink) 100%);
    color: var(--text-inv-2); font-size: 13px; height: var(--topbar-h);
    position: relative; z-index: 60; border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 100%; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; min-width: 0; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-item .ic { color: var(--amber); width: 1em; height: 1em; }
a.topbar-item { transition: color .15s; }
a.topbar-item:hover { color: var(--amber-2); }
.topbar-phone { color: var(--amber); font-weight: 800; letter-spacing: .3px; }
.topbar-address { overflow: hidden; text-overflow: ellipsis; }

/* =========================== HEADER =========================== */
.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 8px 32px rgba(12, 20, 29, .12); }
.header-in { display: flex; align-items: center; gap: 26px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 13px; min-width: 0; }
.logo img { width: 54px; height: 54px; filter: drop-shadow(0 4px 10px rgba(230, 57, 70, .25)); transition: transform .4s var(--ease); }
.logo:hover img { transform: rotate(90deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1.12; }
.logo-text strong {
    font-family: var(--font-head); font-weight: 900; font-size: 20px; letter-spacing: -.4px;
    color: var(--ink); text-transform: uppercase;
}
.logo-text small { color: var(--red); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
    position: relative; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--text);
    transition: color .15s;
}
.nav a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2.5px; border-radius: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--red); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* Butonlar */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border-radius: 13px; padding: 13px 22px; font-weight: 800; font-size: 15px;
    border: 2px solid transparent; cursor: pointer; overflow: hidden;
    transition: transform .18s var(--ease), box-shadow .18s, background .18s;
    font-family: var(--font-body);
}
.btn::before {
    content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg); transition: left .5s var(--ease);
}
.btn:hover::before { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-call { background: linear-gradient(135deg, var(--red-2), var(--red-dark)); color: #fff; box-shadow: var(--shadow-red); }
.btn-wa { background: linear-gradient(135deg, #2fdc72, var(--wa-dark)); color: #fff; box-shadow: 0 12px 30px rgba(34, 197, 94, .35); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-xl { padding: 17px 30px; font-size: 17px; border-radius: 15px; }

.header-call { padding: 9px 18px; }
.header-call .ic { width: 1.5em; height: 1.5em; }
.header-call-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.header-call-text small { font-size: 10px; letter-spacing: 1.2px; opacity: .9; }
.header-call-text strong { font-size: 16px; white-space: nowrap; letter-spacing: .3px; }
.header-cta > .btn-wa { padding: 13px; border-radius: 13px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .28s var(--ease), opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================== HERO =========================== */
.hero {
    position: relative; color: #fff; overflow: hidden;
    min-height: min(92vh, 820px);
    display: flex; align-items: center;
    background: var(--ink);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
    padding-bottom: 30px;
}
.hero-slider, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.06); }
.hero-slide.is-active img { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14) translateX(1.5%); } to { transform: scale(1.02) translateX(0); } }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        var(--tread),
        linear-gradient(100deg, rgba(9, 14, 21, .96) 0%, rgba(9, 14, 21, .82) 40%, rgba(9, 14, 21, .30) 90%);
}
.hero::after {
    content: ""; position: absolute; right: -220px; top: -220px; width: 640px; height: 640px;
    background: radial-gradient(circle, rgba(230, 57, 70, .28), transparent 65%);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 5; padding: 96px 0 130px; width: min(1220px, 100% - 44px); margin-inline: auto; }
.hero-text { display: none; max-width: 680px; }
.hero-text.is-active { display: block; }
.hero-text.is-active .hero-badge { animation: rise .6s var(--ease) both; }
.hero-text.is-active .hero-title { animation: rise .6s .08s var(--ease) both; }
.hero-text.is-active .hero-sub { animation: rise .6s .16s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(255, 183, 3, .12); border: 1px solid rgba(255, 183, 3, .45); color: var(--amber);
    font-weight: 800; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase;
    padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
    backdrop-filter: blur(6px);
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); animation: pulse 1.6s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 183, 3, .6); }
    70% { box-shadow: 0 0 0 11px rgba(255, 183, 3, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0); }
}

.hero-title {
    font-family: var(--font-head); font-weight: 900; letter-spacing: -1.5px;
    font-size: clamp(34px, 5.4vw, 62px); line-height: 1.05; margin-bottom: 18px;
    text-wrap: balance; text-shadow: 0 4px 30px rgba(0, 0, 0, .45);
}
.hero-sub { font-size: clamp(15.5px, 1.6vw, 19px); color: #c9d6e2; max-width: 580px; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }

/* Cam efektli hızlı iletişim paneli */
.hero-actions {
    display: inline-flex; flex-wrap: wrap; gap: 14px; margin-top: 34px;
    padding: 16px; border-radius: 22px;
    background: rgba(13, 21, 30, .55);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.btn-hero { padding: 15px 24px; border-radius: 15px; }
.btn-hero .ic { width: 1.7em; height: 1.7em; }
.btn-hero span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.btn-hero small { font-size: 10.5px; letter-spacing: 1.6px; opacity: .9; font-weight: 700; }
.btn-hero strong { font-size: 19px; letter-spacing: .2px; }
.btn-hero.btn-call { animation: heartbeat 2.6s infinite; }
@keyframes heartbeat {
    0%, 30%, 100% { box-shadow: var(--shadow-red); }
    15% { box-shadow: 0 12px 44px rgba(230, 57, 70, .65); }
}

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
    padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: #dde6ee;
    backdrop-filter: blur(6px);
}
.chip .ic { color: var(--amber); }

.hero-dots { position: absolute; z-index: 6; bottom: 96px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dot {
    width: 38px; height: 5px; border-radius: 3px; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .28); transition: background .2s, width .3s var(--ease); overflow: hidden; position: relative;
}
.hero-dot.is-active { background: var(--red); width: 56px; }

/* =========================== KAYAN BÖLGE ŞERİDİ =========================== */
.marquee {
    background: linear-gradient(90deg, var(--red-dark), var(--red) 30%, var(--red) 70%, var(--red-dark));
    color: #fff; overflow: hidden;
    padding: 13px 0; transform: rotate(-1.2deg) scale(1.03); margin-top: -44px;
    position: relative; z-index: 7; box-shadow: 0 16px 40px rgba(230, 57, 70, .35);
    border-top: 1px solid rgba(255, 255, 255, .25); border-bottom: 1px solid rgba(0, 0, 0, .2);
}
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
    display: inline-flex; align-items: center; gap: 9px; font-weight: 900; font-size: 15px; white-space: nowrap;
    font-family: var(--font-head); letter-spacing: 1px; text-transform: uppercase;
}
.marquee-item .ic { color: var(--amber-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================== BÖLÜMLER =========================== */
.section { padding: 92px 0; position: relative; }
.section-tint { background: linear-gradient(180deg, var(--paper), #eef2f7); }
.section-dark { background: var(--ink); color: var(--text-inv); }

.section-head { max-width: 740px; margin: 0 auto 54px; text-align: center; }
.section-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--red); font-weight: 900; font-size: 12.5px;
    letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px;
    font-family: var(--font-head);
}
.section-kicker::before, .section-kicker::after {
    content: ""; width: 26px; height: 2px; border-radius: 2px;
    background: repeating-linear-gradient(90deg, var(--red) 0 5px, transparent 5px 8px);
}
.section-dark .section-kicker { color: var(--amber); }
.section-dark .section-kicker::before, .section-dark .section-kicker::after {
    background: repeating-linear-gradient(90deg, var(--amber) 0 5px, transparent 5px 8px);
}
.section-title {
    font-family: var(--font-head); font-weight: 900; letter-spacing: -1.2px;
    font-size: clamp(27px, 3.8vw, 42px); line-height: 1.12; color: var(--ink); text-wrap: balance;
}
.section-dark .section-title { color: #fff; }
.section-sub { color: var(--text-mute); margin-top: 13px; font-size: 17px; }
.section-dark .section-sub { color: var(--text-inv-2); }
.section-more { text-align: center; margin-top: 44px; }

/* Kaydırma animasyonu */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.services-grid .reveal:nth-child(2), .districts-grid .reveal:nth-child(2), .testimonials .reveal:nth-child(2) { transition-delay: .07s; }
.services-grid .reveal:nth-child(3), .districts-grid .reveal:nth-child(3), .testimonials .reveal:nth-child(3) { transition-delay: .14s; }
.services-grid .reveal:nth-child(4), .districts-grid .reveal:nth-child(4) { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-slide.is-active img { animation: none; }
    .btn-hero.btn-call { animation: none; }
    .marquee-track { animation-duration: 80s; }
}

/* =========================== HİZMET KARTLARI =========================== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: srv; }
.services-grid-lg { grid-template-columns: repeat(3, 1fr); }
.service-card {
    position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 13px;
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; overflow: hidden;
    counter-increment: srv;
}
.service-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: repeating-linear-gradient(90deg, var(--red) 0 16px, transparent 16px 24px);
    opacity: 0; transition: opacity .25s;
}
.service-card::after {
    content: "0" counter(srv); position: absolute; right: 16px; top: 8px;
    font-family: var(--font-head); font-weight: 900; font-size: 44px; letter-spacing: -2px;
    color: var(--paper); z-index: 0; transition: color .25s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { color: #fdeaec; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
    width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
    background: linear-gradient(135deg, #fdeaec, #fff6f7);
    border: 1px solid #f8d3d7; color: var(--red);
    transition: transform .3s var(--ease), background .3s, color .3s;
}
.service-icon .ic { width: 31px; height: 31px; }
.service-card:hover .service-icon {
    transform: rotate(-6deg) scale(1.06);
    background: linear-gradient(135deg, var(--red-2), var(--red-dark)); color: #fff; border-color: transparent;
}
.service-card h3, .service-card-title { font-family: var(--font-head); font-weight: 800; font-size: 18.5px; letter-spacing: -.3px; color: var(--ink); }
.service-card p { color: var(--text-mute); font-size: 14.5px; flex: 1; }
.service-more { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 800; font-size: 14px; }
.service-more .ic { transition: transform .25s var(--ease); }
.service-card:hover .service-more .ic, .district-card:hover .service-more .ic { transform: translateX(5px); }

/* =========================== 3 ADIM + İSTATİSTİK =========================== */
.steps-section {
    background:
        var(--tread),
        radial-gradient(860px 420px at 92% -10%, rgba(230, 57, 70, .20), transparent 62%),
        radial-gradient(700px 400px at -5% 115%, rgba(255, 183, 3, .12), transparent 60%),
        var(--ink);
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.steps::before {
    content: ""; position: absolute; top: 50px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--ink-4) 0 10px, transparent 10px 20px);
}
.step {
    position: relative; background: linear-gradient(160deg, var(--ink-2), rgba(19, 31, 43, .6));
    border: 1px solid var(--ink-3); border-radius: var(--radius);
    padding: 38px 28px 30px; text-align: center;
    transition: transform .25s var(--ease), border-color .25s;
}
.step:hover { transform: translateY(-6px); border-color: var(--ink-4); }
.step-num {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--red-2), var(--red-dark)); color: #fff;
    display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: 18px;
    box-shadow: 0 8px 20px rgba(230, 57, 70, .5); border: 2px solid rgba(255, 255, 255, .2);
}
.step-icon {
    display: grid; place-items: center; margin: 8px auto 16px; width: 70px; height: 70px;
    border-radius: 18px; background: rgba(255, 183, 3, .09); border: 1px solid rgba(255, 183, 3, .22); color: var(--amber);
}
.step-icon .ic { width: 34px; height: 34px; }
.step h3 { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 9px; }
.step p { color: var(--text-inv-2); font-size: 14.5px; }
.step p a { color: var(--amber); font-weight: 800; }
.step p a:hover { text-decoration: underline; }

.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    margin-top: 60px; padding-top: 48px;
    border-top: 1px solid var(--ink-3);
}
.stat { text-align: center; }
.stat strong {
    display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(32px, 4.4vw, 50px);
    background: linear-gradient(180deg, var(--amber-2), var(--amber));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px; line-height: 1.1;
}
.stat span { color: var(--text-inv-2); font-size: 14px; font-weight: 700; letter-spacing: .3px; }

/* =========================== BÖLGE KARTLARI =========================== */
.districts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.district-card {
    position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 26px; display: flex; flex-direction: column; gap: 11px; overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s;
}
.district-card::before {
    content: ""; position: absolute; right: -46px; top: -46px; width: 130px; height: 130px; border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, .10), transparent 70%);
    transition: transform .4s var(--ease);
}
.district-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.district-card:hover::before { transform: scale(2.6); }
.district-card > * { position: relative; }
.district-pin {
    width: 44px; height: 44px; padding: 9px; border-radius: 13px; color: var(--red);
    background: #fdeaec; border: 1px solid #f8d3d7;
}
.district-card h3, .district-card-title { font-family: var(--font-head); font-weight: 900; font-size: 21px; color: var(--ink); letter-spacing: -.3px; }
.district-card p { color: var(--text-mute); font-size: 14.5px; flex: 1; }

/* =========================== GALERİ =========================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid-lg { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
    display: block; border-radius: 14px; overflow: hidden; position: relative; aspect-ratio: 4 / 3;
    background: var(--ink-2); box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease), filter .3s; }
.gallery-item:hover img { transform: scale(1.08) rotate(.6deg); filter: brightness(.85); }
.gallery-item::after {
    content: "⊕"; position: absolute; inset: 0; display: grid; place-items: center;
    background: linear-gradient(180deg, transparent 40%, rgba(12, 20, 29, .55));
    color: #fff; font-size: 38px; opacity: 0; transition: opacity .25s;
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 120; background: rgba(8, 13, 19, .94);
    display: none; align-items: center; justify-content: center; padding: 30px;
    backdrop-filter: blur(8px);
}
.lightbox.is-open { display: flex; animation: lbIn .25s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.lightbox-caption { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: #cdd8e2; font-size: 14.5px; padding: 0 20px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .14);
    cursor: pointer; width: 48px; height: 48px; border-radius: 50%; font-size: 22px; display: grid; place-items: center;
    transition: background .15s, transform .15s; z-index: 2;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--red); transform: scale(1.08); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.08); }

/* =========================== YORUMLAR =========================== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
    position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px 24px; display: flex; flex-direction: column; gap: 13px; box-shadow: var(--shadow);
    transition: transform .25s var(--ease), box-shadow .25s;
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.testimonial::before {
    content: "”"; position: absolute; top: -6px; right: 20px;
    font-family: Georgia, serif; font-size: 110px; line-height: 1; color: #fdeaec; pointer-events: none;
}
.stars { color: var(--amber); letter-spacing: 3.5px; font-size: 16px; text-shadow: 0 2px 8px rgba(255, 183, 3, .35); }
.testimonial p { color: var(--text); font-size: 15px; flex: 1; position: relative; }
.testimonial footer { color: var(--text-mute); font-size: 13.5px; border-top: 1px dashed var(--line); padding-top: 12px; }
.testimonial footer strong { color: var(--ink); }

/* =========================== SSS =========================== */
.faq-list { display: flex; flex-direction: column; gap: 13px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq[open] { box-shadow: var(--shadow); border-color: #f2c8cc; }
.faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px;
    padding: 19px 24px; font-weight: 700; font-size: 15.5px; color: var(--ink); transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-chevron { color: var(--red); transition: transform .3s var(--ease); }
.faq[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 22px; color: var(--text-mute); font-size: 15px; }
.faq[open] summary { color: var(--red); }

/* =========================== CTA BANDI =========================== */
.cta-band {
    position: relative;
    background:
        var(--tread),
        radial-gradient(640px 320px at 88% 15%, rgba(255, 183, 3, .22), transparent 60%),
        linear-gradient(120deg, #9e1b25, var(--red));
    color: #fff; padding: 60px 0 52px;
    clip-path: polygon(0 18px, 100% 0, 100% 100%, 0 100%);
}
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band-text h2 {
    font-family: var(--font-head); font-weight: 900; font-size: clamp(25px, 3.2vw, 37px);
    letter-spacing: -.8px; text-shadow: 0 3px 16px rgba(0, 0, 0, .3);
}
.cta-band-text p { opacity: .95; margin-top: 8px; max-width: 540px; font-size: 16.5px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-call { background: #fff; color: var(--red-dark); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.cta-band .btn-call:hover { background: var(--ink); color: #fff; }
.cta-band .btn-wa { box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }

/* =========================== FOOTER =========================== */
.footer { background: var(--ink); color: var(--text-inv-2); position: relative; }
.footer::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: repeating-linear-gradient(90deg, var(--red) 0 22px, transparent 22px 34px, var(--amber) 34px 40px, transparent 40px 56px);
    opacity: .7;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 44px; padding: 70px 0 48px; }
.footer h3 {
    font-family: var(--font-head); color: #fff; font-size: 15px; font-weight: 900;
    margin-bottom: 18px; letter-spacing: 1.2px; text-transform: uppercase;
}
.footer h3::after { content: ""; display: block; width: 34px; height: 3px; background: var(--red); border-radius: 2px; margin-top: 8px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-col a { transition: color .15s, padding-left .2s var(--ease); }
.footer-col a:hover { color: var(--amber); padding-left: 3px; }
.footer-col li { display: flex; align-items: baseline; gap: 9px; }
.footer-col li .ic { color: var(--red-2); }
.footer-col li a { display: inline-flex; align-items: baseline; gap: 9px; }
.footer-about p { font-size: 14.5px; margin-top: 16px; max-width: 330px; line-height: 1.75; }
.logo-footer .logo-text strong { color: #fff; font-size: 17px; }
.logo-footer .logo-text small { color: var(--amber); }
.footer-phone { color: var(--amber) !important; font-weight: 900; font-size: 18px; font-family: var(--font-head); letter-spacing: .3px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
    width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
    background: var(--ink-2); color: var(--text-inv); border: 1px solid var(--ink-3);
    transition: background .15s, transform .15s;
}
.footer-social a:hover { background: var(--red); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--ink-3); padding: 20px 0; font-size: 13.5px; }
.footer-bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--amber); }

/* =========================== YÜZEN WHATSAPP + MOBİL BAR =========================== */
.float-wa {
    position: fixed; right: 22px; bottom: 26px; z-index: 90;
    width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, #2fdc72, var(--wa-dark)); color: #fff;
    box-shadow: 0 14px 34px rgba(34, 197, 94, .5);
    transition: transform .2s var(--ease);
}
.float-wa::before {
    content: ""; position: absolute; inset: -5px; border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, .5); animation: waRing 2s infinite;
}
@keyframes waRing {
    0% { transform: scale(.9); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}
.float-wa:hover { transform: scale(1.1) rotate(8deg); }
.float-wa .ic { width: 31px; height: 31px; }

.mobile-bar {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: rgba(12, 20, 29, .96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--ink-3);
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    grid-template-columns: 1.35fr 1fr .9fr; gap: 8px;
    box-shadow: 0 -10px 34px rgba(0, 0, 0, .35);
}
.mobile-bar-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 8px; border-radius: 12px; font-weight: 900; font-size: 14px; color: #fff;
    font-family: var(--font-head); letter-spacing: .3px;
}
.mb-call { background: linear-gradient(135deg, var(--red-2), var(--red-dark)); animation: glow 2.2s infinite; }
.mb-wa { background: linear-gradient(135deg, #2fdc72, var(--wa-dark)); }
.mb-map { background: var(--ink-3); }
@keyframes glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, .55); }
    50% { box-shadow: 0 0 0 9px rgba(230, 57, 70, 0); }
}

/* =========================== İÇ SAYFALAR =========================== */
.page-hero {
    position: relative;
    background:
        var(--tread),
        radial-gradient(760px 320px at 92% -25%, rgba(230, 57, 70, .25), transparent 62%),
        radial-gradient(520px 280px at 2% 130%, rgba(255, 183, 3, .13), transparent 60%),
        var(--ink);
    color: #fff; padding: 70px 0 62px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%);
}
.breadcrumb { font-size: 13.5px; color: var(--text-inv-2); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { color: var(--red-2); }
.breadcrumb b { color: #fff; font-weight: 600; }
.page-hero h1 {
    font-family: var(--font-head); font-weight: 900; letter-spacing: -1.2px;
    font-size: clamp(29px, 4.2vw, 46px); line-height: 1.1; max-width: 820px; text-wrap: balance;
}
.page-hero-text { color: #c9d6e2; margin-top: 15px; max-width: 720px; font-size: 17px; }
.page-hero-text p { margin: 0; }
.hero-actions-page { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions-page .btn span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.hero-actions-page .btn small { font-size: 10px; letter-spacing: 1.4px; font-weight: 700; opacity: .9; }
.hero-actions-page .btn strong { font-size: 17px; }

/* Detay düzeni */
.detail-layout { display: grid; grid-template-columns: 1fr 350px; gap: 44px; align-items: start; }
.detail-main { min-width: 0; }
.detail-image { border-radius: var(--radius); margin-bottom: 28px; box-shadow: var(--shadow-lg); }

.rich-text h2 {
    font-family: var(--font-head); font-weight: 900; font-size: 25px; color: var(--ink);
    margin: 34px 0 14px; letter-spacing: -.5px; padding-left: 16px; border-left: 4px solid var(--red);
}
.rich-text h3 { font-family: var(--font-head); font-weight: 800; font-size: 19.5px; color: var(--ink); margin: 26px 0 10px; }
.rich-text p { margin-bottom: 15px; color: var(--text); font-size: 16px; }
.rich-text ul, .rich-text ol { margin: 0 0 18px 4px; display: flex; flex-direction: column; gap: 9px; }
.rich-text ul li { list-style: none; padding-left: 28px; position: relative; }
.rich-text ul li::before {
    content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px;
    background: var(--red); border-radius: 4px;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.rich-text ol { list-style: decimal inside; }
.rich-text a { color: var(--red); font-weight: 700; }
.rich-text a:hover { text-decoration: underline; }
.rich-text strong { color: var(--ink); }
.rich-text blockquote {
    border-left: 4px solid var(--amber); background: linear-gradient(90deg, #fff9ec, transparent);
    padding: 16px 20px; border-radius: 0 12px 12px 0; margin-bottom: 18px;
}
.rich-text img { border-radius: 14px; }
.rich-text table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 15px; }
.rich-text th, .rich-text td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.rich-text th { background: var(--paper); font-family: var(--font-head); }

.detail-cta {
    margin-top: 40px; background: var(--ink); color: #fff; border-radius: var(--radius);
    padding: 34px 30px; position: relative; overflow: hidden;
    border: 1px solid var(--ink-3);
}
.detail-cta::before {
    content: ""; position: absolute; inset: 0;
    background:
        var(--tread),
        radial-gradient(440px 220px at 96% 0%, rgba(230, 57, 70, .4), transparent 65%);
}
.detail-cta > * { position: relative; }
.detail-cta h2 { font-family: var(--font-head); font-weight: 900; font-size: 24px; margin: 0 0 7px; color: #fff; border: 0; padding: 0; }
.detail-cta p { color: var(--text-inv-2); margin-bottom: 20px; }
.detail-cta-actions { display: flex; gap: 13px; flex-wrap: wrap; }

.detail-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + 22px); }
.side-box {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; box-shadow: var(--shadow);
}
.side-box h3 {
    font-family: var(--font-head); font-weight: 900; font-size: 15px; color: var(--ink);
    margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px;
}
.side-box h3::after { content: ""; display: block; width: 30px; height: 3px; background: var(--red); border-radius: 2px; margin-top: 7px; }
.side-links { display: flex; flex-direction: column; gap: 4px; }
.side-links a {
    display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 10px;
    font-weight: 600; font-size: 14.5px; color: var(--text); transition: background .15s, color .15s, padding-left .2s var(--ease);
}
.side-links a:hover { background: var(--paper); color: var(--red); padding-left: 15px; }
.side-links .ic { color: var(--red); width: 1em; height: 1em; }
.side-box-call {
    background:
        var(--tread),
        radial-gradient(300px 170px at 90% -10%, rgba(230, 57, 70, .35), transparent 70%),
        var(--ink);
    border-color: var(--ink); text-align: center;
}
.side-call-label { color: var(--amber); font-size: 12px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.side-call-phone {
    display: block; font-family: var(--font-head); font-weight: 900; font-size: 28px; color: #fff;
    margin: 10px 0 8px; letter-spacing: -.5px; transition: color .15s;
}
.side-call-phone:hover { color: var(--amber); }
.side-box-call p { color: var(--text-inv-2); font-size: 13px; margin: 0; }

/* İlçe sayfası mini hizmet listesi */
.mini-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin: 16px 0 8px; }
.mini-service {
    display: flex; align-items: center; gap: 11px; padding: 13px 15px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
    font-weight: 700; font-size: 14.5px; color: var(--text);
    transition: border-color .15s, color .15s, transform .15s var(--ease);
}
.mini-service:hover { border-color: var(--red); color: var(--red); transform: translateX(4px); }
.mini-service .ic { color: var(--red); width: 1.4em; height: 1.4em; }

/* =========================== İLETİŞİM =========================== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 44px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 15px; }
.contact-card {
    display: flex; align-items: center; gap: 17px; padding: 19px 21px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.contact-card .ic { width: 32px; height: 32px; color: var(--red); }
.contact-card small { display: block; color: var(--text-mute); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.contact-card strong { font-size: 16.5px; color: var(--ink); }
.contact-card-phone { border-color: #f2c8cc; background: linear-gradient(120deg, #fff, #fff6f7); }
.contact-card-phone strong { color: var(--red); font-size: 21px; font-family: var(--font-head); font-weight: 900; }
.contact-card-wa .ic { color: var(--wa); }
a.contact-card { transition: transform .18s var(--ease), box-shadow .18s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.contact-form-wrap {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 36px; box-shadow: var(--shadow);
}
.contact-form-wrap h2 { font-family: var(--font-head); font-weight: 900; font-size: 25px; color: var(--ink); margin-bottom: 7px; letter-spacing: -.4px; }
.contact-form-note { color: var(--text-mute); font-size: 14.5px; margin-bottom: 24px; }
.contact-form-note a { color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 17px; }
.form-group label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.form-group input, .form-group textarea {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
    font-family: var(--font-body); font-size: 15px; color: var(--text); background: var(--paper);
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(230, 57, 70, .1);
}
.btn-submit { width: 100%; padding: 16px; font-size: 16px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-success { background: #e8f8ee; border: 1px solid #7ae582; color: #14722e; padding: 17px 19px; border-radius: 13px; font-weight: 600; }
.form-success a { color: var(--red); }
.form-error { background: #fdeaec; border: 1px solid var(--red); color: var(--red-dark); padding: 14px 17px; border-radius: 11px; margin-bottom: 16px; font-weight: 600; }
.map-wrap { margin-top: 48px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrap iframe { display: block; width: 100%; height: 430px; border: 0; }

/* =========================== 404 =========================== */
.notfound { text-align: center; padding: 110px 0; }
.notfound-code {
    font-family: var(--font-head); font-weight: 900; font-size: clamp(84px, 17vw, 160px);
    line-height: 1; color: transparent; -webkit-text-stroke: 3px var(--red); letter-spacing: -5px;
    display: inline-block; animation: skid 1s var(--ease) both;
}
@keyframes skid { from { transform: translateX(-40px) rotate(-4deg); opacity: 0; } to { transform: none; opacity: 1; } }
.notfound h1 { font-family: var(--font-head); font-weight: 900; font-size: 29px; color: var(--ink); margin: 16px 0 10px; }
.notfound p { color: var(--text-mute); max-width: 500px; margin: 0 auto; }
.notfound .hero-actions-page { justify-content: center; }

.seo-text { padding-top: 30px; padding-bottom: 64px; }
.seo-text .rich-text { color: var(--text-mute); }
.empty-note { text-align: center; color: var(--text-mute); padding: 40px 0; }

/* =====================================================================
   DUYARLI TASARIM
   ===================================================================== */
@media (max-width: 1080px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid-lg { grid-template-columns: repeat(2, 1fr); }
    .testimonials { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-side { position: static; }
    .header-call-text small { display: none; }
}

@media (max-width: 860px) {
    :root { --header-h: 70px; }
    .topbar-address, .topbar-left .topbar-item:first-child { display: none; }
    .topbar-in { justify-content: center; }

    .nav {
        position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
        flex-direction: column; background: var(--white); border-bottom: 1px solid var(--line);
        padding: 14px 20px 22px; gap: 4px; box-shadow: var(--shadow-lg);
        transform: translateY(-130%); transition: transform .3s var(--ease);
        margin-left: 0;
    }
    .nav.is-open { transform: none; }
    .nav a { padding: 14px; font-size: 16px; border-bottom: 1px solid var(--paper); }
    .nav a::after { display: none; }
    .nav-toggle { display: flex; }
    .header-call { display: none; }
    .header-cta > .btn-wa { display: none; }

    .hero { min-height: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%); }
    .hero-content { padding: 64px 0 100px; }
    .hero-actions { display: flex; width: 100%; padding: 13px; border-radius: 18px; }
    .hero-actions .btn-hero { width: 100%; justify-content: flex-start; }
    .hero-dots { bottom: 66px; }
    .marquee { margin-top: -32px; }

    .districts-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 34px; }
    .steps::before { display: none; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .contact-layout { grid-template-columns: 1fr; }
    .cta-band-in { flex-direction: column; text-align: center; }
    .cta-band-actions { justify-content: center; }

    .mobile-bar { display: grid; }
    .float-wa { display: none; }
    body { padding-bottom: 70px; }
    .section { padding: 64px 0; }
}

@media (max-width: 560px) {
    .container, .container-narrow, .hero-content { width: calc(100% - 32px); }
    .services-grid, .services-grid-lg { grid-template-columns: 1fr; }
    .districts-grid { grid-template-columns: 1fr; }
    .testimonials { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-grid-lg { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .form-row { grid-template-columns: 1fr; }
    .mini-services { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 38px; }
    .footer-bottom-in { justify-content: center; text-align: center; }
    .logo-text small { display: none; }
    .logo img { width: 46px; height: 46px; }
    .logo-text strong { font-size: 17px; }
    .contact-form-wrap { padding: 24px 20px; }
    .btn-hero strong { font-size: 17px; }
    .hero-title { letter-spacing: -1px; }
}
