/* =========================================================
   İscehisar Belediyesi — Ana stil dosyası
   Renkler logodan: lacivert, gök mavisi, kırmızı vurgu; mermer krem
   ========================================================= */

:root {
    --navy-900: #061a3d;
    --navy-800: #0a2350;
    --navy-700: #12336f;
    --blue: #1d5cc4;
    --sky: #2fb2e8;
    --red: #d93a2b;
    --gold: #c8a45c;
    --marble: #f5f3ee;
    --marble-2: #ebe7de;
    --ink: #142038;
    --muted: #5d6a82;
    --line: rgba(20, 32, 56, .1);
    --white: #fff;

    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 20px 50px -20px rgba(6, 26, 61, .25);
    --shadow-sm: 0 8px 24px -12px rgba(6, 26, 61, .2);
    --ease: cubic-bezier(.2, .8, .2, 1);

    --f-display: 'Fraunces', Georgia, serif;
    --f-head: 'Space Grotesk', 'Manrope', system-ui, sans-serif; /* tüm başlıklar: modern, köşeli hatlı */
    --f-script: 'Great Vibes', 'Brush Script MT', cursive;
    --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--f-body);
    color: var(--ink);
    background: var(--marble);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* Ekranda görünmez, ekran okuyucu ve arama motorları için */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.15; font-family: var(--f-head); }
h2 { font-weight: 700; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.04em; }
h2 em, h1 em { font-style: italic; color: var(--blue); }
ul { list-style: none; margin: 0; padding: 0; }
.ic { flex-shrink: 0; display: inline-block; width: 1.25em; line-height: 1; text-align: center; } /* Font Awesome ikonları */
/* Nikah ikonu: iç içe geçmiş iki yüzük ve üstte taş */
.ic-rings { position: relative; width: 1.5em; height: 1.2em; vertical-align: middle; }
.ic-rings i { position: absolute; line-height: 1; }
.ic-rings i:nth-child(1) { left: 0; bottom: 0; font-size: .82em; }
.ic-rings i:nth-child(2) { left: .62em; bottom: 0; font-size: .82em; }
.ic-rings i:nth-child(3) { left: .17em; top: -.06em; font-size: .4em; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }

/* ---------- Preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 999;
    display: grid; place-items: center;
    background: var(--navy-900);
    transition: opacity .6s var(--ease), visibility .6s;
}
.preloader img { width: 84px; animation: pulse 1.2s ease-in-out infinite; }
body.loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .8; } }

/* ---------- Ortak ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--sky);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--dark { color: var(--red); }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 26px; border-radius: 999px;
    font-weight: 700; font-size: .95rem;
    transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s;
    border: 0; cursor: pointer;
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 12px 30px -12px rgba(217, 58, 43, .7); }
.btn--primary:hover { transform: translateY(-2px); background: #c22e20; }
.btn--ghost { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn--outline { color: var(--navy-800); border: 1.5px solid var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); color: #fff; }

.chip {
    display: inline-block; padding: 5px 12px; border-radius: 999px;
    background: rgba(29, 92, 196, .1); color: var(--blue);
    font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.chip--sm { padding: 3px 9px; font-size: .66rem; }
.chip--light { background: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(6px); }

.meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin-bottom: 10px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }

.link-more {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; color: var(--blue);
}
.link-more .ic { transition: transform .35s var(--ease); }
.link-more:hover .ic { transform: translateX(5px); }

.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section__head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
    margin-bottom: 50px;
}
.section__head .eyebrow { margin-bottom: 14px; }
.section__head p { max-width: 400px; color: var(--muted); margin: 0; }

/* Görsel yoksa mermer desenli yer tutucu */
.no-img, .place__img {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.9), transparent 50%),
        linear-gradient(115deg, transparent 40%, rgba(120,110,95,.18) 41%, transparent 43%),
        linear-gradient(155deg, transparent 60%, rgba(120,110,95,.14) 61%, transparent 63%),
        linear-gradient(135deg, #efe9de, #d9d1c2);
}
.no-img img { display: none; }

/* ---------- Reveal animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- Site başlığı (şeffaf → dolu) ---------- */
.site-head {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    color: #fff;
    transition: color .4s;
}
/* Kaydırınca beliren cam/mermer zemin. Blur ayrı katmanda: üst elemana backdrop-filter verilirse içindeki fixed mobil menü kırpılır */
.site-head::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(245, 243, 238, .88);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    box-shadow: 0 10px 30px -18px rgba(6,26,61,.35);
    opacity: 0; transform: translateY(-100%);
    transition: opacity .45s var(--ease), transform .55s var(--ease);
}
/* Şeffaf hâlde okunurluk için üstten hafif gölge */
.site-head::after {
    content: ""; position: absolute; inset: 0 0 -60px; z-index: -2; pointer-events: none;
    background: linear-gradient(180deg, rgba(6,26,61,.55), rgba(6,26,61,0));
    transition: opacity .4s;
}
.site-head.scrolled, .head-solid .site-head { color: var(--navy-800); }
.site-head.scrolled::before, .head-solid .site-head::before { opacity: 1; transform: none; }
.site-head.scrolled::after, .head-solid .site-head::after { opacity: 0; }

/* Üst bar */
.topbar { font-size: .8rem; border-bottom: 1px solid rgba(255,255,255,.12); max-height: 44px; overflow: hidden; transition: max-height .45s var(--ease), opacity .3s, border-color .3s; }
.site-head.scrolled .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.head-solid .site-head:not(.scrolled) .topbar { background: var(--navy-900); color: rgba(255,255,255,.8); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 20px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
/* soluk öğeler; E-Belediye butonu tam opak kalsın diye opaklık kapsayıcıda değil öğelerde */
.topbar__left, .topbar .social { opacity: .8; transition: opacity .2s, background .2s; }
.topbar__left:hover, .topbar .social:hover { opacity: 1; }
.topbar__left a, .topbar__left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__right { gap: 6px; }
.topbar .social { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.topbar .social:hover { background: rgba(255,255,255,.12); }

/* E-Belediye: logodaki mavilerle dolu degrade, ince parlak kenar, ara ara üzerinden ışık geçer */
.topbar__ebel {
    position: relative; overflow: hidden; isolation: isolate;
    margin-left: 12px; display: inline-flex; align-items: center; gap: 8px;
    height: 30px; padding: 0 16px 0 12px; border-radius: 999px;
    font-weight: 800; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: #fff;
    background: linear-gradient(135deg, var(--sky), var(--blue) 70%);
    box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 4px 14px -4px rgba(47,178,232,.75);
    transition: transform .3s var(--ease), box-shadow .3s, filter .3s;
}
.topbar__ebel::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%; z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-20deg); animation: ebelShine 4.5s ease-in-out infinite;
}
@keyframes ebelShine { 0%, 62% { left: -70%; } 100% { left: 130%; } }
.topbar__ebel .ic { font-size: 13px !important; }
.topbar__ebel:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset, 0 6px 18px -4px rgba(47,178,232,.95); }

/* Menü satırı: sol menü | logo | sağ menü
   position:static — mega paneller .site-head'e göre konumlanıp ekranın tamamına yayılsın */
.header__inner {
    position: static;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    grid-template-rows: 100%; /* satır header yüksekliğinde kalır; sarkık logo satırı büyütüp menüyü aşağı itmez */
    height: 92px; transition: height .45s var(--ease);
}
.site-head.scrolled .header__inner { height: 70px; }

.nav { display: contents; }
.nav__list { display: flex; align-items: stretch; align-self: stretch; gap: 2px; }
.nav__list--left  { grid-column: 1; grid-row: 1; justify-content: flex-end; padding-right: clamp(14px, 2.4vw, 40px); }
.nav__list--right { grid-column: 3; grid-row: 1; justify-content: flex-start; padding-left: clamp(14px, 2.4vw, 40px); }
/* Öğe header yüksekliğinin tamamını kaplar: linkten panele inerken hover kopmaz */
.nav__item { display: flex; align-items: center; }
.nav__link {
    position: relative; display: flex; align-items: center; gap: 4px;
    padding: 10px 13px; font-weight: 700; font-size: .84rem; letter-spacing: .08em;
    text-transform: uppercase; /* <html lang="tr"> sayesinde i → İ doğru büyür; mega menü içeriği etkilenmez */
    transition: color .25s;
}
.nav__link::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__item:hover > .nav__link::after, .nav__item:focus-within > .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__link .ic { transition: transform .3s var(--ease); opacity: .7; }
.nav__item:hover > .nav__link .ic { transform: rotate(180deg); }

/* ---------- Mega menü ---------- */
.mega {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
    color: var(--ink);
    /* Çizginin üstündeki 16px şeffaf: orada header'ın zemin katmanı görünür (aynı renk ve bulanıklık) */
    background: linear-gradient(transparent 16px, #fff 16px);
    box-shadow: 0 40px 60px -30px rgba(6, 26, 61, .45);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .28s var(--ease), transform .45s var(--ease), visibility .28s;
    transition-delay: .1s; /* kapanırken kısa gecikme: öğeler arasında gezinirken titremesin */
}
.nav__item:hover > .mega, .nav__item:focus-within > .mega {
    opacity: 1; visibility: visible; transform: none; transition-delay: .05s;
}
/* Üst çizgiler panelin 16px içinden geçer: header'dan ~6px taşan logo çizgiye binmez */
.mega::after { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 1px; background: var(--line); }
.mega::before { /* ince marka şeridi */
    content: ""; position: absolute; z-index: 1; left: 0; top: 15px; height: 2px; width: 100%;
    background: linear-gradient(90deg, var(--red), var(--sky) 60%, transparent);
    transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .1s;
}
.nav__item:hover > .mega::before { transform: none; }

.mega__inner { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); padding: 50px 0 40px; align-items: start; }
.mega__inner--mayor { grid-template-columns: 400px minmax(0, 1fr); align-items: stretch; }

.mega__intro { padding-top: 6px; }
/* Kalın başlık; yazı soldan sağa doğru lacivertten şeffafa geçer (genişlik metin kadar olsun diye inline-block) */
.mega__eyebrow {
    display: inline-block; font-family: var(--f-head); font-weight: 700; font-size: 2.2rem; letter-spacing: -.04em; line-height: 1.1;
    color: var(--navy-800);
    background: linear-gradient(90deg, var(--navy-800) 0%, var(--blue) 55%, rgba(29,92,196,.15) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mega__eyebrow::after { content: ""; display: block; width: 40px; height: 2px; background: var(--red); border-radius: 2px; margin: 16px 0; }
.mega__intro p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }

.mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
.mega__inner--mayor .mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; }
.mega__grid li { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.nav__item:hover .mega__grid li, .nav__item:focus-within .mega__grid li {
    opacity: 1; transform: none; transition-delay: calc(.08s + var(--i) * 35ms);
}

/* Mega menü kutucukları: haberlerin yanındaki duyuru kutularıyla aynı dil —
   beyaz kart, ince çerçeve, logo mavisinde iki tonlu ikon, büyük harf başlık */
.tile {
    position: relative; display: flex; align-items: center; gap: 14px; height: 100%;
    padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #dce4f0; color: var(--navy-800);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.tile:hover, .tile:focus-visible {
    transform: translateY(-3px); border-color: rgba(29,92,196,.35);
    box-shadow: 0 16px 32px -22px rgba(10,35,80,.45); outline: none;
}
.tile__icon {
    width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 13px; background: rgba(29,92,196,.045);
    transition: background .35s, transform .5s var(--ease);
}
.tile:hover .tile__icon { background: rgba(29,92,196,.12); transform: translateY(-2px) scale(1.06); }
.tile__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.tile__text strong { font-size: .84rem; font-weight: 800; line-height: 1.3; letter-spacing: .01em; text-transform: uppercase; color: var(--navy-800); }
.tile__arrow { color: var(--blue); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); }
.tile:hover .tile__arrow { opacity: 1; transform: none; }

/* Başkan kartı */
.mega__mayor { /* kart zemini ::after'da; fotoğraf kartın üst kenarından taşar */
    position: relative; display: flex; align-items: flex-end; gap: 4px; min-height: 230px; margin-top: 30px;
    color: #fff; isolation: isolate;
}
.mega__mayor::after {
    content: ""; position: absolute; inset: 0; z-index: -2; border-radius: 22px;
    background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
    box-shadow: 0 24px 50px -28px rgba(6,26,61,.7);
}
.mega__mayor::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 22px; overflow: hidden;
    background:
        radial-gradient(circle at 22% 65%, rgba(47,178,232,.32), transparent 55%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 14px);
}
.mega__mayor-halo { /* fotoğrafın arkasında ince çift halka */
    position: absolute; left: 22px; bottom: 26px; width: 190px; height: 190px; border-radius: 50%; z-index: -1;
    border: 1px solid rgba(143,211,244,.35); box-shadow: inset 0 0 0 14px rgba(255,255,255,.04), 0 0 0 12px rgba(143,211,244,.08);
    opacity: 0; transform: scale(.9); transition: opacity .6s .15s, transform .8s var(--ease) .15s;
}
.mega__mayor img {
    position: relative; flex-shrink: 0; height: 285px; width: auto; margin: -58px 0 0 14px; align-self: flex-end; /* negatif üst boşluk: kartı büyütmeden yukarı taşar */
    border-bottom-left-radius: 22px; /* kart köşesini takip etsin */
    filter: drop-shadow(0 18px 24px rgba(0,0,0,.35));
    transform: translateY(14px); opacity: 0; transition: transform .7s var(--ease) .1s, opacity .5s .1s;
}
.nav__item:hover .mega__mayor img, .nav__item:focus-within .mega__mayor img { transform: none; opacity: 1; }
.nav__item:hover .mega__mayor-halo, .nav__item:focus-within .mega__mayor-halo { opacity: 1; transform: none; }
.mega__mayor .mayor-link { margin-top: 2px; }
.mega__mayor-text { position: relative; align-self: center; padding: 30px 26px 26px 0; margin-left: -22px; }
.mega__mayor-text small { display: block; font-family: 'Fjalla One', 'Lexend', sans-serif; font-size: .95rem; font-weight: 400; letter-spacing: .2em; line-height: 1; text-transform: uppercase; color: var(--sky); }
.mega__mayor-name {
    display: block; font-family: var(--f-script); font-weight: 400; font-size: 2.35rem; line-height: 1.15;
    margin: 6px 0 18px; text-shadow: 0 4px 20px rgba(0,0,0,.3);
}

/* Panel açıkken header dolu zemine geçsin (şeffaf hâlde panel havada kalmasın) */
@media (min-width: 1081px) {
    .site-head:has(.has-sub:hover), .site-head:has(.has-sub:focus-within) { color: var(--navy-800); }
    .site-head:has(.has-sub:hover)::before, .site-head:has(.has-sub:focus-within)::before { opacity: 1; transform: none; background: rgba(255,255,255,.97); bottom: -16px; } /* zemin katmanı panelin çizgisine kadar uzar */
    .site-head:has(.has-sub:hover)::after, .site-head:has(.has-sub:focus-within)::after { opacity: 0; }
    .site-head:has(.has-sub:hover) .icon-btn { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
    .site-head:has(.has-sub:hover) .topbar { border-color: var(--line); }
    /* Logo boyutu/konumu değişmez, açık panelin üstünde kalır; halka beyaz zeminde lacivert görünür */
    .site-head:has(.has-sub:hover) .brand__halo { border-color: rgba(10,35,80,.22); }
}


/* Ortadaki logo — menüyle aynı eksende (dikey ortalı) durur; iki yanındaki ince çizgiler
   sol ve sağ menüyü logoya bağlar. Kaydırınca küçülür. */
.brand--center {
    grid-column: 2; grid-row: 1; position: relative; z-index: 6; /* mega panelin (z 5) üstünde kalır */
    display: grid; place-items: center;
    width: 104px; height: 104px;
    transition: width .5s var(--ease), height .5s var(--ease);
}
.brand--center img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.3)); transition: transform .7s var(--ease), filter .4s; }
.brand--center:hover img { transform: scale(1.12); }
/* Menüleri logoya bağlayan çizgiler */
.brand--center::before, .brand--center::after {
    content: ""; position: absolute; top: 50%; width: clamp(12px, 1.8vw, 30px); height: 1px;
    background: currentColor; opacity: .35; transition: opacity .4s, width .5s var(--ease);
}
.brand--center::before { right: calc(100% + 10px); background: linear-gradient(90deg, transparent, currentColor); }
.brand--center::after  { left:  calc(100% + 10px); background: linear-gradient(90deg, currentColor, transparent); }
.brand--center:hover::before, .brand--center:hover::after { opacity: .7; }
.brand__halo {
    position: absolute; inset: -9px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    animation: halo 3.2s ease-out infinite;
}
@keyframes halo { 0% { transform: scale(.94); opacity: .9; } 100% { transform: scale(1.2); opacity: 0; } }
.site-head.scrolled .brand--center, .head-solid .brand--center { width: 56px; height: 56px; }
.site-head.scrolled .brand--center img, .head-solid .brand--center img { filter: none; }
.site-head.scrolled .brand__halo, .head-solid .brand__halo { opacity: 0; animation: none; }

/* Footer'daki yazılı logo */
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { transition: transform .6s var(--ease); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; color: var(--navy-800); letter-spacing: -.01em; }
.brand__text small { font-size: .7rem; text-transform: uppercase; letter-spacing: .32em; color: var(--red); font-weight: 700; margin-top: 4px; }
.brand--light img { width: 56px; }
.brand--light .brand__text strong { color: #fff; }

.icon-btn {
    width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; color: inherit;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
    transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.icon-btn:hover { transform: scale(1.08); background: var(--red); border-color: var(--red); color: #fff; }
.site-head.scrolled .icon-btn, .head-solid .icon-btn { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.nav__search { margin-left: auto; display: flex; align-items: center; }
.icon-btn--m { display: none; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; color: inherit; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.nav-open .burger { color: var(--navy-800); }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Arama ---------- */
.search-layer {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(6, 26, 61, .92); backdrop-filter: blur(8px);
    display: grid; justify-items: center; align-content: start; gap: 30px; padding: clamp(70px, 16vh, 170px) 20px 30px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.search-layer.open { opacity: 1; visibility: visible; }
.search-layer__form {
    width: min(760px, 100%); display: flex; align-items: center; gap: 16px;
    color: #fff; border-bottom: 2px solid rgba(255,255,255,.3); padding-bottom: 14px;
    transform: translateY(20px); transition: transform .5s var(--ease);
}
.search-layer.open .search-layer__form { transform: none; }
.search-layer__logo { /* formun üstünde logo: dışa doğru beyaz ışıltı, açılışta hafif büyüyerek gelir */
    width: 110px; height: auto;
    filter: drop-shadow(0 0 3px rgba(255,255,255,.55)) drop-shadow(0 0 22px rgba(255,255,255,.4));
    opacity: 0; transform: scale(.85); transition: opacity .5s var(--ease) .1s, transform .6s var(--ease) .1s;
}
.search-layer.open .search-layer__logo { opacity: 1; transform: none; }
@media (max-width: 560px) { .search-layer__logo { width: 84px; } .search-layer { gap: 28px; } }
.search-layer input { flex: 1; background: none; border: 0; outline: 0; color: #fff; font: 400 clamp(1.3rem, 3vw, 2rem) var(--f-display); }
.search-layer input::placeholder { color: rgba(255,255,255,.45); }
.search-layer__close { background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }
.search-layer input::-webkit-search-cancel-button { display: none; }

/* Yükleniyor göstergesi */
.search-layer__spin { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; opacity: 0; transition: opacity .2s; }
.search-layer.is-loading .search-layer__spin { opacity: 1; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Anlık arama sonuçları */
.search-results { width: min(760px, 100%); margin-top: -10px; }
.search-results:empty { display: none; }
.sr-group { margin-bottom: 14px; }
.sr-group__label {
    display: block; margin: 0 0 6px 4px; font-family: var(--f-head); font-size: .72rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase; color: var(--sky);
}
.sr-item {
    display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 14px; color: #fff;
    border: 1px solid transparent; transition: background .2s, border-color .2s;
    animation: srIn .35s var(--ease) both;
}
@keyframes srIn { from { opacity: 0; transform: translateY(6px); } }
.sr-item.is-active, .sr-item:focus-visible { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.14); outline: none; }
.sr-item__media {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: var(--sky); overflow: hidden;
}
.sr-item__media--img img { width: 100%; height: 100%; object-fit: cover; }
.sr-item__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sr-item__text strong { font-weight: 700; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-item__text small { font-size: .82rem; color: rgba(255,255,255,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-item mark { background: none; color: var(--sky); font-weight: 800; }
.sr-item__meta { flex-shrink: 0; font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.5); }
.sr-msg { margin: 6px 4px; color: rgba(255,255,255,.7); font-size: .95rem; }
.sr-msg b { color: #fff; }
.search-layer__hint { margin: -8px 0 0; display: flex; gap: 6px; align-items: center; font-size: .78rem; color: rgba(255,255,255,.45); }
.search-layer__hint kbd {
    min-width: 22px; padding: 2px 6px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25);
    font: 600 .72rem/1.4 var(--f-body); color: rgba(255,255,255,.75); text-align: center;
}
@media (max-width: 560px) {
    .sr-item__meta, .search-layer__hint { display: none; }
    .sr-item__text strong { font-size: .92rem; }
}

/* ---------- HERO (turistik yerler slayt gösterisi) ---------- */
.hero {
    --slide-dur: 7000ms;
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--navy-900); color: #fff;
    height: 100vh; height: 100svh; min-height: 640px; max-height: 1100px;
}

/* Slaytlar: üst üste, aktif olan görünür; resim sürekli yavaşça yakınlaşır (Ken Burns) */
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.slide { position: absolute; inset: 0; opacity: 0; overflow: hidden; transition: opacity 1.6s var(--ease); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); will-change: transform; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide.is-prev   { opacity: 0; z-index: 0; }
/* Aynı animasyon adı iki sınıfta da olduğu için, slayt kaybolurken yakınlaşma kesilmeden sürer */
.slide.is-active img, .slide.is-prev img { animation: kenburns calc(var(--slide-dur) + 1800ms) linear forwards; }
.slide:nth-child(even).is-active img, .slide:nth-child(even).is-prev img { animation-name: kenburns-alt; }
@keyframes kenburns     { from { transform: scale(1.02); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
@keyframes kenburns-alt { from { transform: scale(1.16) translate(1.5%, 1%); } to { transform: scale(1.02); } }

/* Okunurluk katmanları */
.hero__shade {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(6,26,61,.55) 0%, rgba(6,26,61,0) 26%),
        linear-gradient(0deg, rgba(6,26,61,.92) 0%, rgba(6,26,61,.45) 28%, rgba(6,26,61,0) 55%),
        linear-gradient(90deg, rgba(6,26,61,.45) 0%, rgba(6,26,61,0) 50%);
}
.hero__grain {
    position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
    background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 3px 3px;
}

.hero__inner { position: relative; height: 100%; }

/* Sol alt: yer adı */
.hero__caption { position: absolute; left: 0; bottom: clamp(70px, 11vh, 120px); max-width: min(640px, 56%); }
.hero__kicker {
    display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
    font-size: .76rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
.hero__kicker::before { content: ""; width: 36px; height: 2px; background: var(--red); border-radius: 2px; }
.hero__place { overflow: hidden; padding-bottom: .22em; margin-bottom: -.22em; } /* g, p, y gibi harflerin kuyrukları kırpılmasın */
.hero__place h1 {
    font-family: var(--f-head); font-weight: 700;
    font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.08; letter-spacing: -.045em;
    text-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.hero__desc { margin: 16px 0 0; max-width: 460px; color: rgba(255,255,255,.78); font-size: 1.02rem; }
.hero__tag { display: inline-block; margin-top: 14px; font-size: .82rem; color: var(--sky); font-weight: 700; letter-spacing: .04em; }

/* Metin değişim animasyonu */
.hero__place h1, .hero__desc, .hero__tag { transition: transform .9s var(--ease), opacity .7s var(--ease); }
.hero__caption.is-out .hero__place h1 { transform: translateY(105%); opacity: 0; transition-duration: .5s; }
.hero__caption.is-out .hero__desc, .hero__caption.is-out .hero__tag { transform: translateY(14px); opacity: 0; transition-duration: .4s; }
.hero__caption .hero__desc { transition-delay: .12s; }
.hero__caption .hero__tag  { transition-delay: .2s; }

/* Slayt kontrolleri */
.hero__controls { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.hero__count { font: 600 .9rem var(--f-body); letter-spacing: .08em; color: rgba(255,255,255,.7); min-width: 64px; }
.hero__count b { color: #fff; font-size: 1.1rem; }
.hero__bars { display: flex; gap: 6px; }
.hero__bar {
    position: relative; width: 38px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer;
}
.hero__bar::before, .hero__bar i {
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px;
}
.hero__bar::before { background: rgba(255,255,255,.28); }
.hero__bar i { background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__bar.is-done i { transform: scaleX(1); }
.hero__bar.is-active i { animation: barfill var(--slide-dur) linear forwards; }
.hero.is-paused .hero__bar.is-active i { animation-play-state: paused; }
@keyframes barfill { to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: 8px; margin-left: 6px; }
.hero__arrow {
    width: 44px; height: 44px; border-radius: 50%; cursor: pointer; color: #fff;
    display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3);
    backdrop-filter: blur(6px); transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.hero__arrow--prev .ic { transform: rotate(180deg); }

/* Sağ alt: başkan — fotoğraf hero'nun altına yapışık */
.hero__mayor {
    position: absolute; right: 0; bottom: 0;
    display: flex; align-items: flex-end;
}
.hero__mayor::before {
    content: ""; position: absolute; right: -10%; bottom: -20%; width: 130%; aspect-ratio: 1; z-index: -1;
    background: radial-gradient(circle, rgba(6,26,61,.65) 0%, rgba(6,26,61,0) 62%);
}
.hero__mayor-img {
    display: block; height: clamp(300px, 56vh, 470px); width: auto;
    filter: drop-shadow(0 10px 40px rgba(0,0,0,.35));
    animation: mayorIn 1.4s var(--ease) .3s both;
}
@keyframes mayorIn { from { opacity: 0; transform: translateY(40px); } }
.hero__mayor-info {
    position: relative; z-index: 1; margin: 0 -34px clamp(70px, 11vh, 120px) 0;
    text-align: right; animation: mayorIn 1.4s var(--ease) .6s both;
}
.hero__mayor-info small { /* sade editoryal etiket: soldan gelen ince çizgi + geniş aralıklı küçük harfler */
    display: flex; align-items: center; justify-content: flex-end; gap: 14px;
    font-family: var(--f-head); font-size: .78rem; font-weight: 600; letter-spacing: .38em; line-height: 1; text-transform: uppercase;
    margin-right: -.38em; /* son harfin aralığı sağ hizayı bozmasın */
    color: rgba(255,255,255,.88); text-shadow: 0 1px 10px rgba(6,26,61,.5);
}
.hero__mayor-info small::before {
    content: ""; width: 44px; height: 1px; flex-shrink: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.85));
    transform-origin: right; animation: labelLine 1.1s var(--ease) 1.4s both;
}
@keyframes labelLine { from { transform: scaleX(0); } }
/* Hero "Hakkında": dolgusuz, ince alt çizgi; sağda hover'da uzayan ok çizgisi */
.mayor-link {
    position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 6px 0 9px;
    font-family: 'Lexend', var(--f-head); font-size: .8rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
    color: #fff;
}
.mayor-link::after { /* alttaki ince çizgi: hover'da soldan dolar */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, #fff, #fff) left / 0 100% no-repeat, rgba(255,255,255,.3);
    transition: background-size .6s var(--ease);
}
.mayor-link__line { position: relative; width: 34px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.mayor-link__line::after { /* ok ucu */
    content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px;
    border-top: 1px solid currentColor; border-right: 1px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}
.mayor-link:hover .mayor-link__line, .mayor-link:focus-visible .mayor-link__line { width: 52px; }
.mayor-link:hover::after, .mayor-link:focus-visible::after { background-size: 100% 100%; }
.mayor-link:focus-visible { outline: none; }
.hero__mayor-name {
    display: block; font-family: var(--f-script); font-weight: 400;
    font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.1; margin: 4px 0 16px;
    text-shadow: 0 4px 24px rgba(0,0,0,.35); white-space: nowrap;
}
/* "Hakkında" butonu: cam zemin, degrade çerçeve, sağda kırmızı daire içinde ok; hover'da parıltı geçer, ok ↗ döner */
.btn--about {
    position: relative; isolation: isolate; overflow: hidden;
    gap: 14px; padding: 5px 5px 5px 22px;
    font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: #fff; background: rgba(255,255,255,.08); border: 0;
    backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%);
    box-shadow: 0 10px 30px -12px rgba(0,0,0,.45);
    transition: transform .45s var(--ease), background .35s, box-shadow .45s var(--ease);
}
/* 1px degrade çerçeve (maske ile yalnızca kenar boyanır) */
.btn--about::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
    background: linear-gradient(120deg, rgba(255,255,255,.75), rgba(255,255,255,.12) 38%, rgba(47,178,232,.6) 70%, rgba(29,92,196,.85));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
/* hover'da soldan sağa geçen ışık */
.btn--about::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
    transform: skewX(-20deg); transition: left .8s var(--ease);
}
.btn--about:hover { transform: translateY(-2px); background: rgba(255,255,255,.16); box-shadow: 0 16px 36px -14px rgba(0,0,0,.55); }
.btn--about:hover::after { left: 120%; }
.btn__label { position: relative; }
.btn__circle {
    position: relative; width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--sky), var(--blue) 60%, #154a9e); /* logodaki mavi tonlar */
    box-shadow: 0 6px 16px -6px rgba(29,92,196,.9), inset 0 1px 0 rgba(255,255,255,.35);
    transition: transform .5s var(--ease), box-shadow .4s;
}
.btn__circle::after { /* dairenin etrafında ince nabız halkası */
    content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(47,178,232,.6);
    opacity: 0; transform: scale(.85); transition: opacity .4s, transform .5s var(--ease);
}
.btn--about .btn__circle .ic { transition: transform .5s var(--ease); }
.btn--about:hover .btn__circle { transform: scale(1.06); box-shadow: 0 8px 22px -6px rgba(29,92,196,1), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--about:hover .btn__circle::after { opacity: 1; transform: none; }
.btn--about:hover .btn__circle .ic { transform: rotate(-45deg); }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrolly 1.8s ease-in-out infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker ---------- */
.ticker { display: flex; align-items: stretch; background: var(--red); color: #fff; overflow: hidden; font-size: .9rem; font-weight: 600; }
.ticker__label { flex-shrink: 0; display: flex; align-items: center; padding: 0 22px; background: var(--navy-900); letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; font-weight: 800; position: relative; z-index: 1; }
.ticker__track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__move { display: flex; align-items: center; gap: 22px; white-space: nowrap; padding: 14px 0; width: max-content; animation: marquee 70s linear infinite; }
.ticker:hover .ticker__move { animation-play-state: paused; }
.ticker__move a:hover { text-decoration: underline; }
.ticker__move i { font-style: normal; font-size: .6rem; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hizmetler ---------- */
.services { background: var(--marble); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
    position: relative; display: flex; align-items: center; gap: 16px;
    padding: 22px; background: #fff; border-radius: var(--radius);
    border: 1px solid var(--line); overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, opacity .9s var(--ease);
}
.service::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(135deg, var(--navy-800), var(--blue));
    transform: translateY(101%); transition: transform .5s var(--ease);
}
.service > * { position: relative; z-index: 1; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: none; }
.service__icon {
    width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 16px; background: rgba(29,92,196,.08); color: var(--blue);
    transition: background .4s, color .4s, transform .5s var(--ease);
}
.service:hover .service__icon { background: rgba(255,255,255,.14); color: #fff; transform: rotate(-8deg); }
.service__text { display: flex; flex-direction: column; flex: 1; }
.service__text strong { font-size: 1rem; transition: color .3s; }
.service__text small { color: var(--muted); font-size: .82rem; transition: color .3s; }
.service:hover .service__text strong { color: #fff; }
.service:hover .service__text small { color: rgba(255,255,255,.7); }
.service__arrow { color: var(--muted); opacity: 0; transform: translateX(-10px); transition: all .4s var(--ease); }
.service:hover .service__arrow { opacity: 1; transform: none; color: #fff; }

/* ---------- Haberler: solda kayan manşet, sağda kartlar ---------- */
.newsx { background: #fff; }
/* Başlık: Space Grotesk, "haberler" mavi degrade; sağa doğru solan ince çizgi; "haberler" altında açılan renkli vurgu */
.newsx__head { display: flex; align-items: flex-end; gap: 28px; margin-bottom: 44px; }
.newsx__head::after {
    content: ""; flex: 1; height: 1px; margin-bottom: .9em;
    background: linear-gradient(90deg, rgba(10,35,80,.18), transparent);
}
.newsx__title {
    font-family: var(--f-head); font-weight: 700; font-size: clamp(2.2rem, 4.2vw, 3.5rem);
    letter-spacing: -.045em; line-height: 1.05; color: var(--navy-800);
}
.newsx__title em {
    position: relative; display: inline-block; padding: 0 .06em .08em 0;
    font-style: normal; font-weight: 700;
    background: linear-gradient(100deg, var(--blue), var(--sky));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.newsx__title em::after {
    content: ""; position: absolute; left: .04em; right: .1em; bottom: -.02em; height: .12em; border-radius: 99px;
    background: linear-gradient(90deg, var(--red), var(--sky));
    transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .45s;
}
.newsx__head.in .newsx__title em::after { transform: scaleX(1); }
.newsx__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.newsx__head .ncards__more { order: 2; flex-shrink: 0; margin: 0 0 6px; }

/* Manşet kaydırıcı */
.nslider { --ns-dur: 6000ms; }
.nslider__stage {
    position: relative; aspect-ratio: 16 / 9.4; border-radius: 22px; overflow: hidden; isolation: isolate;
    background: var(--navy-900); box-shadow: 0 30px 60px -34px rgba(6,26,61,.55);
}
.ns { position: absolute; inset: 0; display: block; color: #fff; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.ns.is-active { opacity: 1; visibility: visible; z-index: 1; }
.ns__img { position: absolute; inset: 0; }
.ns__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.ns.is-active .ns__img img { animation: nszoom calc(var(--ns-dur) + 1500ms) linear forwards; }
@keyframes nszoom { to { transform: scale(1.1); } }
.ns:hover .ns__img img { animation-play-state: paused; }

/* Alt başlık bandı: cam efektli lacivert→mavi degrade, slayt değişince alttan kayar */
.ns__cap {
    position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px;
    padding: 18px 24px 20px;
    background: linear-gradient(90deg, rgba(10,35,80,.92), rgba(29,92,196,.82));
    backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%);
    border-top: 1px solid rgba(255,255,255,.18);
    transform: translateY(100%); transition: transform .8s var(--ease) .15s;
}
.ns.is-active .ns__cap { transform: none; }
.ns__meta { display: flex; align-items: center; gap: 12px; font-size: .78rem; color: rgba(255,255,255,.8); }
.ns__meta span:last-child { display: inline-flex; align-items: center; gap: 5px; }
.ns__title {
    font-weight: 800; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.35; letter-spacing: .01em; text-transform: uppercase;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nslider__count {
    position: absolute; z-index: 2; top: 16px; right: 16px; padding: 6px 12px; border-radius: 999px;
    background: rgba(6,26,61,.45); backdrop-filter: blur(8px); color: rgba(255,255,255,.8); font-size: .78rem; font-weight: 700; letter-spacing: .08em;
}
.nslider__count b { color: #fff; }

/* Kontroller: ok düğmeleri + ilerleyen hap noktalar */
.nslider__ctrl { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 22px; }
.nslider__btn {
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
    background: #fff; color: var(--blue); border: 1px solid var(--line); box-shadow: 0 6px 16px -10px rgba(10,35,80,.4);
    transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.nslider__btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.06); }
.nslider__btn[data-dir="-1"] .ic { transform: rotate(180deg); }
.nslider__dots { display: flex; align-items: center; gap: 7px; }
.nslider__dot {
    position: relative; width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; overflow: hidden;
    background: rgba(10,35,80,.15); transition: width .5s var(--ease), background .3s;
}
.nslider__dot:hover { background: rgba(10,35,80,.3); }
.nslider__dot.is-active { width: 54px; background: rgba(29,92,196,.2); }
.nslider__dot i { position: absolute; inset: 0; border-radius: inherit; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.nslider__dot.is-active i { animation: barfill var(--ns-dur) linear forwards; }
.nslider.is-paused .nslider__dot.is-active i { animation-play-state: paused; }
.ncards__more { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy-800); }
.ncards__more span {
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--red);
    background: rgba(217,58,43,.08); transition: background .3s, color .3s, transform .45s var(--ease);
}
.ncards__more:hover span { background: var(--red); color: #fff; transform: translateX(4px); }
.ncards__more:hover { color: var(--red); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hizmetler ---------- */
.services { background: var(--marble); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
    position: relative; display: flex; align-items: center; gap: 16px;
    padding: 22px; background: #fff; border-radius: var(--radius);
    border: 1px solid var(--line); overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, opacity .9s var(--ease);
}
.service::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(135deg, var(--navy-800), var(--blue));
    transform: translateY(101%); transition: transform .5s var(--ease);
}
.service > * { position: relative; z-index: 1; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: none; }
.service__icon {
    width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 16px; background: rgba(29,92,196,.08); color: var(--blue);
    transition: background .4s, color .4s, transform .5s var(--ease);
}
.service:hover .service__icon { background: rgba(255,255,255,.14); color: #fff; transform: rotate(-8deg); }
.service__text { display: flex; flex-direction: column; flex: 1; }
.service__text strong { font-size: 1rem; transition: color .3s; }
.service__text small { color: var(--muted); font-size: .82rem; transition: color .3s; }
.service:hover .service__text strong { color: #fff; }
.service:hover .service__text small { color: rgba(255,255,255,.7); }
.service__arrow { color: var(--muted); opacity: 0; transform: translateX(-10px); transition: all .4s var(--ease); }
.service:hover .service__arrow { opacity: 1; transform: none; color: #fff; }

/* ---------- Haberler (koyu zemin, bento ızgara) ---------- */
.newsb { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; isolation: isolate; }
.newsb__glow {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(600px 400px at 85% 0%, rgba(47,178,232,.18), transparent 70%),
        radial-gradient(500px 380px at 0% 100%, rgba(29,92,196,.28), transparent 70%),
        linear-gradient(115deg, transparent 48%, rgba(255,255,255,.035) 49%, transparent 51%);
}
.newsb h2 { color: #fff; }
.newsb h2 em { color: var(--sky); }
.newsb__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.newsb__head .eyebrow { margin-bottom: 14px; }
.newsb__tools { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* Kategori süzgeci */
.filters { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.filter {
    padding: 9px 16px; border: 0; border-radius: 999px; cursor: pointer; background: none;
    font: 700 .78rem var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65);
    transition: background .3s, color .3s;
}
.filter:hover { color: #fff; }
.filter.is-active { background: #fff; color: var(--navy-800); }
.newsb__all { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: #fff; }
.newsb__all span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.newsb__all:hover span { background: var(--blue); border-color: var(--blue); transform: rotate(-45deg); }

/* Izgara */
.bento {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 16px;
    grid-auto-flow: dense;
}
.bcard {
    position: relative; display: block; overflow: hidden; border-radius: 22px; isolation: isolate;
    background: var(--navy-800); color: #fff;
    box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease);
}
.bcard--feat { grid-column: span 2; grid-row: span 2; }
.bcard--wide { grid-column: span 2; }
.bcard--tall { grid-row: span 2; }
.bcard[hidden] { display: none; }

.bcard__img { position: absolute; inset: 0; z-index: -2; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.bcard__img::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(6,26,61,.95) 0%, rgba(6,26,61,.55) 42%, rgba(6,26,61,.05) 75%);
    transition: opacity .5s;
}
/* fareyi takip eden ışık */
.bcard::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.16), transparent 60%);
    transition: opacity .4s;
}
.bcard:hover::before { opacity: 1; }
.bcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 24px 50px -24px rgba(0,0,0,.7); }
.bcard:hover .bcard__img img { transform: scale(1.07); }

.bcard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.bcard__meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: rgba(255,255,255,.75); }
.bcard__title {
    font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.22; font-size: 1.12rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bcard--wide .bcard__title { font-size: 1.4rem; -webkit-line-clamp: 2; max-width: 90%; }
.bcard__go {
    position: absolute; z-index: 2; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; color: #fff;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px);
    opacity: 0; transform: translate(-6px, 6px) rotate(0deg);
    transition: opacity .35s, transform .5s var(--ease), background .3s;
}
.bcard:hover .bcard__go { opacity: 1; transform: rotate(-45deg); background: var(--blue); border-color: var(--blue); }

/* Manşet kartı */
.feat__slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.feat__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.feat__slide.is-active .bcard__img img { animation: featzoom 7.5s linear forwards; }
@keyframes featzoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.bcard--feat:hover .bcard__img img { transform: none; } /* manşette büyütmeyi animasyon yapıyor */
.bcard--feat .bcard__body { padding: clamp(24px, 3vw, 38px); padding-bottom: 64px; }
.bcard--feat .bcard__title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.12; -webkit-line-clamp: 3; }
.bcard__excerpt { color: rgba(255,255,255,.75); font-size: .95rem; max-width: 520px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat__slide .bcard__meta, .feat__slide .bcard__title, .feat__slide .bcard__excerpt { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.feat__slide.is-active .bcard__meta    { opacity: 1; transform: none; transition-delay: .2s; }
.feat__slide.is-active .bcard__title   { opacity: 1; transform: none; transition-delay: .3s; }
.feat__slide.is-active .bcard__excerpt { opacity: 1; transform: none; transition-delay: .4s; }

.feat__ui { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.feat__label {
    position: absolute; top: 20px; left: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255,255,255,.14); backdrop-filter: blur(8px); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.feat__label i { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(47,178,232,.7); } 70% { box-shadow: 0 0 0 8px rgba(47,178,232,0); } 100% { box-shadow: 0 0 0 0 rgba(47,178,232,0); } }
.feat__dots { position: absolute; left: clamp(24px, 3vw, 38px); bottom: 26px; display: flex; gap: 8px; pointer-events: auto; }
.feat__dot { position: relative; width: 44px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; }
.feat__dot::before, .feat__dot i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.feat__dot::before { background: rgba(255,255,255,.25); }
.feat__dot i { background: #fff; transform: scaleX(0); transform-origin: left; }
.feat__dot.is-done i { transform: scaleX(1); }
.feat__dot.is-active i { animation: barfill 6500ms linear forwards; }
.bcard--feat.is-paused .feat__dot.is-active i { animation-play-state: paused; }

.bento__empty { grid-column: 1 / -1; margin: 0; padding: 40px; text-align: center; color: rgba(255,255,255,.6); border: 1px dashed rgba(255,255,255,.2); border-radius: 22px; }

/* Süzgeç geçişi (View Transitions destekleyen tarayıcılarda) */
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Başkan ---------- */
.mayor-msg { background: var(--marble-2); overflow: hidden; }
.mayor-msg::before {
    content: "“"; position: absolute; right: 4%; top: -60px;
    font: 400 32rem/1 var(--f-display); color: rgba(10,35,80,.04); pointer-events: none;
}
.mayor-msg__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.mayor-msg__visual { position: relative; }
.mayor-msg__frame {
    position: relative; aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden;
    background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
    display: flex; align-items: flex-end; justify-content: center;
}
.mayor-msg__frame::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 35%, rgba(47,178,232,.35), transparent 60%);
}
.mayor-msg__frame img { position: relative; height: 94%; width: auto; }
.mayor-msg__badge {
    position: absolute; right: -24px; bottom: 40px; width: 104px; height: 104px;
    border-radius: 50%; background: #fff; display: grid; place-items: center;
    box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite;
}
.mayor-msg__quote { display: block; color: var(--red); margin: 26px 0 10px; }
.mayor-msg blockquote {
    margin: 0 0 30px; font-family: var(--f-display); font-weight: 400;
    font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.35; letter-spacing: -.015em; color: var(--navy-800);
}
.mayor-msg blockquote em { color: var(--blue); }
.mayor-msg__sign { display: flex; flex-direction: column; margin-bottom: 30px; padding-left: 18px; border-left: 3px solid var(--red); }
.mayor-msg__sign strong { font-size: 1.1rem; }
.mayor-msg__sign span { color: var(--muted); font-size: .9rem; }

/* ---------- Rakamlar ---------- */
.stats { position: relative; padding: 70px 0; background: var(--navy-800); color: #fff; overflow: hidden; }
.stats__marble {
    position: absolute; inset: 0; opacity: .5;
    background:
        linear-gradient(115deg, transparent 30%, rgba(255,255,255,.07) 31%, transparent 33%),
        linear-gradient(160deg, transparent 55%, rgba(47,178,232,.12) 56%, transparent 58%),
        linear-gradient(80deg, transparent 70%, rgba(200,164,92,.1) 71%, transparent 72%);
    background-size: 200% 200%;
    animation: veins 20s ease-in-out infinite alternate;
}
@keyframes veins { to { background-position: 100% 100%; } }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 10px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 4.5vw, 3.6rem); letter-spacing: -.03em; line-height: 1.1; }
.stat > span { color: rgba(255,255,255,.65); font-size: .9rem; }

/* ---------- Keşfet ---------- */
.discover { background: var(--marble); }
.discover__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.place {
    position: relative; display: block; aspect-ratio: 3 / 4.3; border-radius: var(--radius); overflow: hidden; color: #fff;
    transition: flex .6s var(--ease), transform .9s var(--ease), opacity .9s var(--ease);
}
.place:nth-child(even) { margin-top: 40px; }
.place__img { position: absolute; inset: 0; }
.place__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.place:hover .place__img img { transform: scale(1.08); }
.place__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,61,0) 35%, rgba(6,26,61,.9)); transition: background .5s; }
.place:hover .place__shade { background: linear-gradient(180deg, rgba(6,26,61,.1) 10%, rgba(6,26,61,.95)); }
.place__body { position: absolute; inset: auto 0 0; padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.place__body strong { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; letter-spacing: -.02em; }
.place__body small {
    font-size: .88rem; color: rgba(255,255,255,.8); line-height: 1.5;
    max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s;
}
.place:hover .place__body small, .place:focus .place__body small { max-height: 120px; opacity: 1; }

/* ---------- Duyuru & ilan kısayolları (hero'nun altındaki şerit) ---------- */
.quick { height: 100%; }
.quick__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; height: 100%; }
.quick__grid > li { display: flex; }
.quick__grid > li > .quick__item { flex: 1; }
/* Beyaz kart, ortada çift tonlu ikon, iki satırlı büyük harf başlık */
.quick__item {
    --duo-d: var(--blue); --duo-l: #a9c9f2; /* logo mavisi tonları */
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center;
    min-height: 150px; padding: 20px 8px; border-radius: 16px; background: #fff;
    border: 1px solid #dce4f0; color: var(--navy-800);
    transition: border-color .3s, box-shadow .45s var(--ease), transform .45s var(--ease);
}
.quick__item:hover, .quick__item:focus-visible {
    border-color: rgba(29,92,196,.35); transform: translateY(-4px);
    box-shadow: 0 18px 36px -22px rgba(10,35,80,.45);
}
.quick__icon { display: grid; place-items: center; transition: transform .5s var(--ease); }
/* Çift tonlu SVG ikonlar (duyuru kutuları + mega menü) */
.duo { --duo-d: var(--blue); --duo-l: #a9c9f2; display: block; overflow: visible; }
.duo .d { fill: var(--duo-d); }
.duo .l { fill: var(--duo-l); }
.duo .ds, .duo .ls { fill: none; stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
.duo .ds { stroke: var(--duo-d); }
.duo .ls { stroke: var(--duo-l); }
.quick__item:hover .quick__icon { transform: translateY(-3px) scale(1.08); }
.quick__text { display: flex; flex-direction: column; gap: 4px; line-height: 1.25; text-transform: uppercase; }
.quick__text strong { font-size: .86rem; font-weight: 800; letter-spacing: .01em; color: var(--navy-800); }
.quick__text span { font-size: .78rem; font-weight: 500; color: var(--navy-700); transition: color .3s; }
.quick__item:hover .quick__text span { color: var(--blue); }

/* ---------- İletişim ---------- */
.contact { background: var(--marble); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: stretch; }
.contact__info h2 { margin: 14px 0 26px; }
.contact__big {
    display: inline-flex; align-items: center; gap: 14px; margin-bottom: 30px;
    font: 400 clamp(2rem, 4vw, 2.8rem) var(--f-display); color: var(--navy-800); letter-spacing: -.02em;
    transition: color .3s;
}
.contact__big .ic { color: var(--red); }
.contact__big:hover { color: var(--blue); }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); }
.contact__list .ic { color: var(--blue); margin-top: 2px; }
.contact__list a:hover { color: var(--blue); }
.contact__map { border-radius: var(--radius); overflow: hidden; min-height: 400px; box-shadow: var(--shadow-sm); background: var(--marble-2); }
.contact__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; filter: grayscale(.4) contrast(1.05); transition: filter .5s; }
.contact__map:hover iframe { filter: none; }

/* ---------- Footer ----------
   Açık mermer tonlu, üst köşeleri yuvarlatılmış bir "tabaka": koyu haberler bölümünün
   üzerine hafifçe biner ve yukarı doğru yumuşak gölge düşürür. */
.footer {
    position: relative; z-index: 2; isolation: isolate; overflow: hidden;
    margin-top: -40px; padding-top: 84px;
    color: #34466a; /* koyu mavi zeminde okunaklı */
    background:
        radial-gradient(700px 320px at 92% 0%, rgba(47,178,232,.28), transparent 70%),
        radial-gradient(520px 260px at 0% 100%, rgba(29,92,196,.18), transparent 70%),
        linear-gradient(180deg, #c9e0f4 0%, #aecdec 100%); /* logo mavisinin açık tonu */
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -18px 50px -20px rgba(10,35,80,.28), 0 -1px 0 rgba(10,35,80,.06); /* beyaz bölüm üzerinde yumuşak lacivert gölge */
}
.footer::before { /* üst ortada küçük marka şeridi */
    content: ""; position: absolute; top: 18px; left: 50%; width: 72px; height: 4px; border-radius: 4px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--red), var(--sky));
}
.footer__bridge { /* logodaki silüet (sur, Kocaköprü, kule): sütunların altında, footer__bottom çizgisinin hemen üstünde biter */
    position: absolute; left: 50%; bottom: 0; z-index: -1; pointer-events: none;
    width: min(1400px, 140%); height: auto; transform: translateX(-50%);
    color: var(--navy-800); fill: currentColor; opacity: .07;
    overflow: visible; /* zemin ve su çizgileri kenarlara kadar uzansın */
}
.footer__grid { position: relative; display: grid; grid-template-columns: 1.2fr repeat(var(--fcols, 2), 1fr) 1.3fr; /* --fcols: panelden gelen bağlantı sütunu sayısı */ gap: 40px; padding-bottom: 56px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.footer__logo { /* mavi zeminde logo kaybolmasın: beyaz hale */
    display: block; width: 112px; padding: 8px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.45), 0 14px 30px -12px rgba(10,35,80,.35);
}
.footer__logo img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.footer__logo:hover img { transform: scale(1.06); }
.footer h4 { color: var(--navy-800); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul li { margin-bottom: 10px; font-size: .93rem; }
.footer ul a { transition: color .2s, padding .3s var(--ease); }
.footer ul a:hover { color: var(--blue); padding-left: 4px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    color: var(--navy-800); background: #fff; border: 1px solid var(--line);
    box-shadow: 0 4px 12px -6px rgba(10,35,80,.2);
    transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.footer__social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-3px); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .ic { color: var(--blue); margin-top: 2px; }
.footer__contact a:hover { color: var(--blue); }
.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(10,35,80,.12); font-size: .82rem; }
.footer__bottom a:hover { color: var(--navy-800); }
/* Footer haberlerin üzerine bindiği için haberlerin altına o kadar ek boşluk */
.newsx { padding-bottom: calc(clamp(70px, 9vw, 120px) + 40px); }

.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Sabit WhatsApp ihbar hattı (yukarı çık düğmesinin üstünde) ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 88px; z-index: 91;
    display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
    animation: waIn .8s var(--ease) 1.2s both;
}
@keyframes waIn { from { opacity: 0; transform: translateY(16px); } }
.wa-float__label {
    position: relative; padding: 7px 13px; border-radius: 10px; white-space: nowrap;
    font-family: 'Lexend', var(--f-head); font-size: .72rem; font-weight: 600; letter-spacing: .02em;
    background: #fff; color: var(--navy-800); box-shadow: 0 8px 22px -10px rgba(10,35,80,.45);
    transition: transform .35s var(--ease);
}
.wa-float__label::after { /* düğmeyi gösteren küçük ok */
    content: ""; position: absolute; right: 19px; bottom: -5px; width: 10px; height: 10px;
    background: #fff; transform: rotate(45deg); border-radius: 0 0 2px 0;
}
.wa-float__btn {
    position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
    background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(18,140,70,.65);
    transition: transform .35s var(--ease), background .3s;
}
.wa-float__btn::before { /* hafif nabız halkası */
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
    animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.wa-float:hover .wa-float__btn { transform: scale(1.07); background: #1ebe5b; }
.wa-float:hover .wa-float__label { transform: translateY(-2px); }
@media (max-width: 560px) {
    .wa-float { bottom: 84px; }
    .wa-float__label { font-size: .66rem; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float__btn::before { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .nav__link { padding: 10px 9px; font-size: .8rem; letter-spacing: .06em; }
    .nav__link::after { left: 9px; right: 9px; }
    .nav__list--left { padding-right: 14px; }
    .nav__list--right { padding-left: 14px; }
}
@media (max-width: 1080px) {
    .newsx__grid { grid-template-columns: minmax(0, 1fr); } /* 1fr içeriğin en küçük genişliğinin altına inmez → yatay taşma */
    /* Mobil: arama | logo | menü düğmesi */
    .icon-btn--m { display: grid; grid-column: 1; grid-row: 1; justify-self: start; }
    .burger { display: block; grid-column: 3; grid-row: 1; justify-self: end; z-index: 160; }
    .brand--center { width: 70px; height: 70px; }
    .brand--center::before, .brand--center::after { display: none; }
    .header__inner { height: 76px; }
    .nav {
        display: block; color: var(--ink);
        position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 150;
        background: #fff; padding: 100px 24px 30px; overflow-y: auto;
        transform: translateX(100%); transition: transform .5s var(--ease);
        box-shadow: -20px 0 60px -20px rgba(6,26,61,.35);
    }
    .nav-open .nav { transform: none; }
    .nav__list, .nav__list--left, .nav__list--right { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
    .nav__search { display: none; }
    .nav__item { border-bottom: 1px solid var(--line); }
    .nav__link { justify-content: space-between; padding: 16px 6px; font-size: .92rem; letter-spacing: .07em; color: var(--navy-800); }
    .nav__link::after { display: none; }
    .nav__item:hover > .nav__link { background: none; }
    .nav__item:hover > .nav__link .ic { transform: none; }
    .nav__item.open > .nav__link .ic { transform: rotate(180deg); }
    .nav__list { align-self: auto; }
    .nav__item { display: block; }
    /* Mega menü mobilde akordeon olur */
    .mega {
        position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none;
        max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); transition-delay: 0s;
    }
    .nav__item:hover > .mega, .nav__item:focus-within > .mega { transform: none; transition-delay: 0s; }
    .mega::before, .mega::after, .mega__intro { display: none; }
    .nav__item.open > .mega { max-height: 1400px; }
    .mega .container { width: 100%; }
    .mega__inner, .mega__inner--mayor { display: block; padding: 0 0 14px; }
    .mega__grid, .mega__inner--mayor .mega__grid { grid-template-columns: 1fr; gap: 6px; }
    .mega__grid li { opacity: 1; transform: none; }
    .tile { padding: 10px 12px; gap: 12px; }
    .tile__icon { width: 36px; height: 36px; border-radius: 10px; }
    .tile__icon .duo { width: 26px; height: 26px; }
    .mega__mayor { min-height: 0; margin: 0 0 10px; overflow: hidden; border-radius: 16px; }
    .mega__mayor-halo { display: none; }
    .mega__mayor img { height: 140px; opacity: 1; transform: none; margin: 0 0 0 4px; filter: none; }
    .mega__mayor-text { padding: 14px 14px 14px 0; margin-left: -8px; }
    .mega__mayor-name { font-size: 1.7rem; margin: 2px 0 10px; }
    .mega__mayor .mayor-link { font-size: .7rem; }
    body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(6,26,61,.5); z-index: 99; }

    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .mayor-msg__inner, .contact__inner { grid-template-columns: 1fr; gap: 50px; }
    .quick__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .mayor-msg__visual { max-width: 420px; }
    .discover__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    /* Hero: yer adı üstte, başkan altta sağda */
    .hero { min-height: 700px; }
    .hero__caption { max-width: 100%; right: 0; bottom: auto; top: 170px; }
    .hero__arrows { display: none; }
    .hero__bar { width: 24px; }
    .hero__controls { gap: 12px; }
    .hero__desc { font-size: .95rem; }
    .hero__controls { margin-top: 24px; }
    .hero__shade {
        background:
            linear-gradient(180deg, rgba(6,26,61,.7) 0%, rgba(6,26,61,.35) 45%, rgba(6,26,61,.1) 60%, rgba(6,26,61,.85) 100%);
    }
    .hero__mayor-img { height: 290px; }
    .hero__mayor-info { margin: 0 -26px 46px 0; }
    .hero__mayor-name { font-size: 2.1rem; margin-bottom: 12px; }
    .hero__scroll { display: none; }
    .hide-md { display: none !important; }
    .section__head { flex-direction: column; align-items: flex-start; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .stat:nth-child(3) { border-left: 0; }
    .quick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .quick__item { min-height: 132px; padding: 18px 10px; gap: 14px; }
}
@media (max-width: 560px) {
    .ns__cap { padding: 14px 16px 16px; }
    .nslider__stage { aspect-ratio: 4 / 3.4; }
    .container { width: calc(100% - 32px); }
    .hide-sm { display: none !important; }
    .topbar .social { display: none; }
    .brand__text strong { font-size: 1.2rem; }
    .services__grid { grid-template-columns: 1fr; }
    .discover__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .place:nth-child(even) { margin-top: 24px; }
    .place__body { padding: 16px; }
    .place__body strong { font-size: 1.2rem; }
    .mayor-msg__badge { right: 10px; width: 84px; height: 84px; }
    .mayor-msg__badge img { width: 52px; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer { border-radius: 28px 28px 0 0; margin-top: -28px; padding-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .slide.is-active img { transform: scale(1.05); }
}

/* Dar ekranda "Diğer Haberler" başlığın altına iner */
@media (max-width: 760px) {
    .newsx__head { flex-wrap: wrap; row-gap: 14px; }
    .newsx__head::after { display: none; }
    .newsx__head .ncards__more { order: 0; flex-basis: 100%; margin: 0; }
}

/* ==========================================================================
   Mobil uyum düzeltmeleri (320–768 px denetimi)
   ========================================================================== */

/* Arama katmanı: arama kutusunun varsayılan en küçük genişliği ızgara sütununu büyütüyordu;
   form tüm telefonlarda ~393 px oluyor, kapatma (×) düğmesi ekran dışına taşıyordu */
.search-layer { grid-template-columns: minmax(0, 1fr); }
.search-layer input { min-width: 0; width: 100%; }
.search-layer__close { flex-shrink: 0; min-width: 44px; min-height: 44px; }

/* Küçük yazılar en az 12 px */
.chip { font-size: .75rem; }
.chip--sm { font-size: .72rem; }

@media (max-width: 1080px) {
    .mega__mayor .mayor-link { font-size: .78rem; }
}

/* Dokunma hedefleri (telefon, tablet ve dokunmatik ekranlar): en az ~40 px; görünüm aynı kalır, tıklanabilir alan büyür */
@media (max-width: 760px), (pointer: coarse) {
    .topbar__left a { min-height: 40px; }
    .topbar .social { min-width: 36px; min-height: 36px; justify-content: center; }
    .topbar__ebel { height: 34px; }
    .hero__bar { height: 36px; }
    .footer ul li { margin-bottom: 2px; }
    .footer ul a { display: inline-block; padding: 9px 0; }
    .footer__contact li { margin-bottom: 6px; }
    .footer__contact a { display: inline-block; padding: 4px 0; }
    .footer__bottom a { display: inline-block; padding: 10px 0; }
}

@media (max-width: 760px) {
    .hero__bar { width: 32px; }
}

@media (max-width: 560px) {
    /* Haber kaydırıcısı: oklar + 10 nokta 320 px'te sığmıyor, sol ok ekran dışına çıkıyordu */
    .nslider__ctrl { gap: 10px; }
    .nslider__btn { width: 44px; height: 44px; flex-shrink: 0; }
    .nslider__dots { gap: 5px; min-width: 0; flex-wrap: wrap; justify-content: center; }
    .nslider__dot { width: 10px; height: 10px; }
    .nslider__dot.is-active { width: 30px; }
}

@media (max-width: 420px) {
    /* Hero'daki başkan: isim + fotoğraf dar ekranda sağdan kesiliyordu */
    .hero__mayor-img { height: 230px; }
    .hero__mayor-name { font-size: 1.75rem; margin-bottom: 8px; }
    .hero__mayor-info { margin: 0 -22px 40px 0; }
    .hero__mayor-info small { font-size: .72rem; letter-spacing: .3em; margin-right: -.3em; }
    .hero__mayor-info small::before { width: 30px; }
}

/* ==========================================================================
   Popup (panel → Site → Popup)
   ========================================================================== */
.popup { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.popup[hidden] { display: none; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(6,26,61,.62); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.popup__box {
    position: relative; max-width: min(560px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
    display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: 0 30px 80px -20px rgba(6,26,61,.6);
    opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.popup.is-open .popup__backdrop { opacity: 1; }
.popup.is-open .popup__box { opacity: 1; transform: none; }
.popup__close {
    position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--navy-800);
    box-shadow: 0 6px 18px -6px rgba(6,26,61,.45); transition: background .25s, color .25s, transform .3s var(--ease);
}
.popup__close:hover, .popup__close:focus-visible { background: var(--red); color: #fff; transform: rotate(90deg); outline: none; }
/* görsel popup: görsel ekrana sığar, kırpılmaz */
.popup--image .popup__box { background: transparent; box-shadow: none; max-width: min(720px, 100%); }
.popup__imglink, .popup__img { display: block; border-radius: 18px; }
.popup__img { max-width: 100%; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.popup--image .popup__close { top: -14px; right: -14px; }
/* metin popup */
.popup__body { overflow-y: auto; padding: 38px 36px 32px; overscroll-behavior: contain; }
.popup__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 16px; background: rgba(217,58,43,.1); color: var(--red); }
.popup__title { margin: 0 44px 12px 0; font: 700 clamp(1.3rem, 3.4vw, 1.7rem)/1.25 var(--f-head); letter-spacing: -.02em; color: var(--navy-800); }
.popup__text { color: #3a4560; font-size: 1rem; line-height: 1.7; }
.popup__text > :first-child { margin-top: 0; }
.popup__text > :last-child { margin-bottom: 0; }
.popup__text p { margin: 0 0 .9em; }
.popup__text img { max-width: 100%; height: auto; border-radius: 12px; }
.popup__text a { color: var(--blue); text-decoration: underline; }
.popup__btn { margin-top: 22px; }
body.popup-open { overflow: hidden; }
@media (max-width: 560px) {
    .popup { padding: 14px; }
    .popup__box { max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); border-radius: 18px; }
    .popup__img { max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); }
    .popup--image .popup__close { top: 8px; right: 8px; }
    .popup__body { padding: 30px 22px 24px; }
    .popup__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .popup__box, .popup__backdrop { transition: none; } }

/* Mobil hero: slayt sayacı ve çubuklar göğün ortasında (top: 170px) asılı kalıyordu.
   Sol alt köşeye, başkan bilgisinin altına küçültülerek alınır; başkan bilgisi bir miktar yukarı kalkar.
   Dikey tabletler (761–900 px) de dahil: orada oklar başkanın adı ve "Hakkında" bağlantısının üstüne biniyordu. */
@media (max-width: 900px) {
    .hero__caption { top: auto; bottom: 14px; left: 0; right: auto; max-width: none; }
    .hero__controls { margin-top: 0; gap: 10px; }
    .hero__count { min-width: 0; font-size: .72rem; letter-spacing: .06em; text-shadow: 0 1px 8px rgba(6,26,61,.5); }
    .hero__count b { font-size: .86rem; }
    .hero__bars { gap: 4px; }
    .hero__bar { width: 18px; height: 32px; } /* görünen çizgi 2 px; dokunma alanı 32 px */
    .hero__mayor-info { margin-bottom: 60px; }
}
