/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font: inherit; }
svg { width: 100%; height: 100%; }

/* ===== DESIGN TOKENS ===== */
:root {
  --color-black: #0a0f1a;
  --color-white: #ffffff;
  --color-blue: #2f6feb;
  --color-blue-light: #eaf1ff;
  --color-offwhite: #f5f7fb;
  --color-navy: #0c1830;
  --color-navy-2: #132a52;
  --color-text: #545e72;
  --color-text-dark: #10192e;
  --color-border: #e6e9f0;

  --spacing-section: clamp(64px, 9vw, 140px);
  --radius-pill: 999px;
  --radius-card: 20px;
  --container: 1220px;
  --header-h: 84px;

  --font-display: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-md: 700ms;
  --dur-lg: 1000ms;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--color-text-dark); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.accent { color: var(--color-blue); }

.section-eyebrow {
  color: var(--color-blue);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow.light { color: #7fa8f7; }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 20px;
}
.section-title.light { color: #fff; margin-bottom: 16px; }

/* ===== SCROLL REVEAL SYSTEM ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-md) var(--ease-premium), transform var(--dur-md) var(--ease-premium);
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

[data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--dur-lg) var(--ease-premium);
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
[data-reveal="clip"].revealed { clip-path: inset(0 0 0% 0); }

/* stagger direct children when parent has [data-reveal-group] */
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-md) var(--ease-premium), transform var(--dur-md) var(--ease-premium);
}
[data-reveal-group].revealed > * { opacity: 1; transform: translateY(0); }
[data-reveal-group].revealed > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-group].revealed > *:nth-child(2) { transition-delay: 90ms; }
[data-reveal-group].revealed > *:nth-child(3) { transition-delay: 180ms; }
[data-reveal-group].revealed > *:nth-child(4) { transition-delay: 270ms; }
[data-reveal-group].revealed > *:nth-child(5) { transition-delay: 360ms; }

/* ===== PLACEHOLDER TILES ===== */
.ph-tile {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(155deg, #1c3562, #0c1830);
}
.ph-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-premium);
}
.ph-tile:hover img { transform: scale(1.05); }
.ph-tile::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(155deg, rgba(18,34,68,.4), rgba(8,15,28,.55)),
    radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: auto, 16px 16px;
}
.ph-tile--1 { background: linear-gradient(155deg, #2a4a8a, #0c1830); }
.ph-tile--2 { background: linear-gradient(155deg, #234072, #0c1830); }
.ph-tile--3 { background: linear-gradient(155deg, #3a5da0, #132a52); }
.ph-tile--4 { background: linear-gradient(155deg, #1c3562, #16294a); }
.ph-tile--5 { background: linear-gradient(155deg, #2f4d84, #0c1830); }
.ph-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: all .4s var(--ease-premium);
  white-space: nowrap;
}
.btn-lg { padding: 16px 30px; }

.btn-primary {
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 111, 235, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(47, 111, 235, .38); }

.btn-pill {
  border: 1.5px solid var(--color-border);
  color: var(--color-text-dark);
  padding: 12px 24px 12px 20px;
}
.btn-pill .dash { color: var(--color-blue); font-weight: 700; }
.btn-pill:hover { border-color: var(--color-blue); color: var(--color-blue); }

.btn-pill-dark {
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  padding: 12px 24px 12px 20px;
  backdrop-filter: blur(6px);
}
.btn-pill-dark .dash { color: #fff; font-weight: 700; }
.btn-pill-dark:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* Header CTA adapts: white-bordered over the dark hero, dark-bordered once scrolled onto a light bg */
.nav-cta { border: 1.5px solid rgba(255,255,255,.35); color: #fff; padding: 10px 22px 10px 18px; font-size: 14px; }
.nav-cta .dash { color: #fff; }
.nav-cta:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.site-header.scrolled .nav-cta { border-color: var(--color-border); color: var(--color-text-dark); }
.site-header.scrolled .nav-cta .dash { color: var(--color-blue); }
.site-header.scrolled .nav-cta:hover { border-color: var(--color-blue); color: var(--color-blue); background: transparent; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  z-index: 1000;
  transition: background-color .4s var(--ease-premium), box-shadow .4s var(--ease-premium);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(16, 33, 63, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: grid; align-items: center; }
.logo-img { grid-area: 1/1; height: 60px; width: auto; transition: opacity .4s var(--ease-premium); }
.logo-white { opacity: 1; }
.logo-blue { opacity: 0; }
.site-header.scrolled .logo-white { opacity: 0; }
.site-header.scrolled .logo-blue { opacity: 1; }

.nav-mobile-logo { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding: 6px 0;
  transition: color .3s ease;
}
.main-nav ul a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-blue);
  transition: width .35s var(--ease-premium);
}
.main-nav ul a:hover { color: #cfe0ff; }
.main-nav ul a:hover::after { width: 100%; }
.site-header.scrolled .main-nav a { color: var(--color-blue); }
.site-header.scrolled .main-nav ul a:hover { color: var(--color-navy); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-cta { padding: 11px 24px; font-size: 14px; }
.nav-cta-mobile, .nav-mobile-contact { display: none; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-navy);
  z-index: 1101;
  flex-shrink: 0;
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .35s var(--ease-premium), opacity .3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; background: var(--color-navy); z-index: -1; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 24s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,12,26,.6), rgba(6,12,26,.88)),
    radial-gradient(circle at 80% 15%, rgba(47,111,235,.3), transparent 45%);
}
.hero-content { max-width: 720px; padding: calc(var(--header-h) + 40px) 28px 60px; }

.hero-anim { opacity: 0; transform: translateY(28px); animation: heroReveal .9s var(--ease-premium) forwards; animation-delay: calc(var(--d) * 130ms + 200ms); }
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }

.eyebrow {
  display: inline-block;
  color: var(--color-blue);
  background: var(--color-blue-light);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 26px;
}
.eyebrow--light { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(6px); }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 88px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: .98;
  color: #fff;
  margin-bottom: 26px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  max-width: 480px;
  margin-bottom: 36px;
  color: #c7d1e6;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  color: #fff;
  opacity: .8;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ===== MARQUEE ===== */
.marquee-wrap { padding: 56px 0; overflow: hidden; border-bottom: 1px solid var(--color-border); }
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 92px);
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0 28px;
  white-space: nowrap;
  color: var(--color-white); /* İçi arkaplanla aynı renk (beyaz) olsun ki boş görünsün */
  text-shadow: 
    -1px -1px 0 var(--color-text-dark),
     1px -1px 0 var(--color-text-dark),
    -1px  1px 0 var(--color-text-dark),
     1px  1px 0 var(--color-text-dark),
     0 -1px 0 var(--color-text-dark),
     0  1px 0 var(--color-text-dark),
    -1px 0  0 var(--color-text-dark),
     1px 0  0 var(--color-text-dark);
}
.marquee-track span:nth-child(4n+2), .marquee-track span:nth-child(4n) {
  text-shadow: 
    -1px -1px 0 var(--color-blue),
     1px -1px 0 var(--color-blue),
    -1px  1px 0 var(--color-blue),
     1px  1px 0 var(--color-blue),
     0 -1px 0 var(--color-blue),
     0  1px 0 var(--color-blue),
    -1px 0  0 var(--color-blue),
     1px 0  0 var(--color-blue);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== STATEMENT ===== */
.statement { padding: var(--spacing-section) 0; }
.statement-heading { font-size: clamp(34px, 6.4vw, 84px); line-height: .98; letter-spacing: -.03em; }
.line-wrap { display: block; overflow: hidden; }
.line {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1s var(--ease-premium), opacity 1s var(--ease-premium);
}
.line-wrap:nth-child(2) .line { transition-delay: .12s; }
.line-wrap.revealed .line { transform: translateY(0); opacity: 1; }
.line--accent { color: var(--color-blue); }

/* ===== STATS / COLLAGE ===== */
.stats { padding: var(--spacing-section) 0; }
.stats-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.stats-desc { max-width: 440px; margin-bottom: 36px; }
.stats-numbers { display: flex; gap: 48px; }
.stat-num, .stat-suffix { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); font-weight: 800; color: var(--color-text-dark); }
.stat-suffix { color: var(--color-blue); }
.stats-numbers p { font-size: 14px; margin-top: 4px; }

.stats-collage { position: relative; aspect-ratio: 1 / 1; }
.collage-main { position: absolute; inset: 0 0 8% 8%; }
.collage-float {
  position: absolute; left: -8%; top: -8%; width: 52%; aspect-ratio: 4/3;
  box-shadow: 0 24px 50px rgba(12, 24, 48, .25); border: 5px solid #fff;
}

/* ===== STORY (STICKY) ===== */
.story { padding: var(--spacing-section) 0; background: var(--color-offwhite); }
.story-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.story-sticky { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; height: fit-content; }
.story-progress { display: flex; gap: 8px; margin-top: 32px; }
.story-progress span { width: 32px; height: 3px; border-radius: 2px; background: var(--color-border); transition: background .4s var(--ease-premium), width .4s var(--ease-premium); }
.story-progress span.active { background: var(--color-blue); width: 52px; }

.story-panels { display: flex; flex-direction: column; }
.story-panel {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: .25;
  transform: translateY(16px);
  transition: opacity .6s var(--ease-premium), transform .6s var(--ease-premium);
  border-top: 1px solid var(--color-border);
  padding: 48px 0;
}
.story-panel:first-child { border-top: none; }
.story-panel.active { opacity: 1; transform: translateY(0); }
.story-num { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--color-blue); margin-bottom: 14px; display: block; }
.story-panel h3 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 12px; }
.story-panel p { max-width: 460px; }

/* =====================================================
   SERVICES GRID — hizmetler.php / il.php / hizmet.php
   içindeki "hizmet kartları" listeleri için (ana sayfadaki
   sinematik h-scroll şeridinden ayrı, klasik kart ızgarası).
===================================================== */
.services { padding: var(--spacing-section) 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px 26px;
  transition: transform .4s var(--ease-premium), box-shadow .4s var(--ease-premium), background-color .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(12, 24, 48, .1);
  background: #fff;
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-blue-light);
  color: var(--color-blue);
  border-radius: 14px;
  padding: 13px;
  margin-bottom: 22px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; }

/* ===== HORIZONTAL SCROLL SERVICES ===== */
.h-scroll { position: relative; }
.h-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--color-offwhite);
}
.h-scroll-track { display: flex; height: 100%; align-items: center; will-change: transform; }
.h-scroll-panel {
  position: relative;
  flex: 0 0 100vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
  color: var(--color-text-dark);
  overflow: hidden;
}
.h-scroll-panel-bg { position: absolute; inset: 0; z-index: 0; }
.h-scroll-panel-bg img { width: 100%; height: 100%; object-fit: cover; }
.h-scroll-panel-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(245,247,251,.97) 0%, rgba(245,247,251,.92) 45%, rgba(245,247,251,.7) 100%);
}
.h-scroll-panel > *:not(.h-scroll-panel-bg) { position: relative; z-index: 1; }
.h-scroll-intro { justify-content: center; }
.h-scroll-hint-text {
  display: flex; align-items: center; gap: 10px;
  color: var(--color-blue); font-weight: 600; font-size: 14px; margin-top: 20px;
}
.h-scroll-hint-arrow { animation: hintSlide 1.6s ease-in-out infinite; }
@keyframes hintSlide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

.h-scroll-icon {
  width: 64px; height: 64px;
  background: var(--color-blue-light);
  color: var(--color-blue);
  border-radius: 16px;
  padding: 15px;
  margin-bottom: 32px;
}
.h-scroll-panel h3 { color: var(--color-text-dark); font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 16px; max-width: 560px; }
.h-scroll-panel p { color: var(--color-text); font-size: 17px; max-width: 460px; }
.h-scroll-panel .story-num { color: var(--color-blue); }
.h-scroll-cta { align-self: flex-start; margin-top: 28px; background: var(--color-white); }

/* Mobile / reduced-motion fallback: no scroll-jack, panels stack vertically in normal flow */
.h-scroll.h-scroll--stacked .h-scroll-sticky {
  position: static;
  height: auto;
  overflow: visible;
  display: block;
}
.h-scroll.h-scroll--stacked .h-scroll-track {
  display: block;
  height: auto;
  transform: none !important;
}
.h-scroll.h-scroll--stacked .h-scroll-panel {
  flex: none;
  width: 100%;
  height: auto;
  min-height: auto;
  padding: 72px 24px;
  border-bottom: 1px solid var(--color-border);
}
.h-scroll.h-scroll--stacked .h-scroll-panel:last-child { border-bottom: none; }
.h-scroll.h-scroll--stacked .h-scroll-intro { padding-bottom: 40px; }

/* ===== FACILITIES ===== */
.facilities { padding: var(--spacing-section) 0; }
.facilities-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.facilities-head .section-title { margin-bottom: 0; }
.facilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.facility-media { height: 260px; margin-bottom: 18px; transition: transform .6s var(--ease-premium); }
.facility-card:hover .facility-media { transform: scale(1.03); }
.facility-loc { display: block; font-size: 13px; color: var(--color-blue); font-weight: 600; margin-bottom: 4px; }
.facility-card h3 { font-size: 20px; }

/* ===== İLLERİMİZ (81 il) — arka plan görselli koyu bölüm ===== */
#illerimiz { position: relative; overflow: hidden; background: var(--color-navy); }
#illerimiz .il-bg { position: absolute; inset: 0; z-index: 0; }
#illerimiz .il-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
#illerimiz .il-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 18, 38, .9), rgba(9, 18, 38, .96));
}
#illerimiz .container { position: relative; z-index: 1; }
#illerimiz .city-chip {
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  background: rgba(255, 255, 255, .05);
}
#illerimiz .city-chip:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .14); }

/* ===== ABOUT ===== */
.about { padding: var(--spacing-section) 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text p:last-child { max-width: 440px; }
.about-list { display: flex; flex-direction: column; gap: 4px; }
.about-list li { display: flex; align-items: center; gap: 12px; padding: 14px 0; font-size: 15px; font-weight: 500; color: var(--color-text-dark); border-bottom: 1px solid var(--color-border); }
.about-list li svg { width: 18px; height: 18px; color: var(--color-blue); flex-shrink: 0; }

/* ===== CONTACT ===== */
.contact { padding: var(--spacing-section) 0; background: var(--color-offwhite); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-list { margin-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--color-text-dark); }
.contact-list li svg { width: 22px; height: 22px; color: var(--color-blue); flex-shrink: 0; margin-top: 2px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; background: #fff; padding: 32px; border-radius: var(--radius-card); border: 1px solid var(--color-border); }
.contact-form input, .contact-form textarea { border: 1px solid var(--color-border); border-radius: 10px; padding: 13px 16px; outline: none; transition: border-color .2s ease; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--color-blue); }
.contact-form .btn { align-self: flex-start; }

/* ===== CTA ===== */
.cta { background: var(--color-black); padding: var(--spacing-section) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: #fff; font-size: clamp(32px, 5.4vw, 64px); }

/* ===== FOOTER ===== */
.site-footer { background: var(--color-white); padding: var(--spacing-section) 0 40px; border-top: 1px solid var(--color-border); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--color-border); }
.footer-cta { color: var(--color-text-dark); font-size: clamp(36px, 6vw, 68px); line-height: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-brand p { color: var(--color-text); font-size: 14px; margin-top: 16px; max-width: 260px; }
.footer-logo-img { border-radius: 8px; }
.footer-col h4 { color: var(--color-text-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li { color: var(--color-text); font-size: 14px; }
.footer-col a { transition: color .2s ease; }
.footer-col a:hover { color: var(--color-blue); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.footer-bottom span { color: var(--color-text); font-size: 13px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--color-border); color: var(--color-navy); padding: 9px; transition: background .3s ease, border-color .3s ease, color .3s ease; }
.footer-social a:hover { background: var(--color-blue); border-color: var(--color-blue); color: #fff; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-navy); color: #fff; padding: 12px; box-shadow: 0 10px 24px rgba(16, 33, 63, .3);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s; z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video, .scroll-hint, .h-scroll-hint-arrow { animation: none; }
  .hero-anim { animation: none; opacity: 1; transform: none; }
  [data-reveal], [data-reveal="clip"], [data-reveal-group] > *, .line, .story-panel {
    opacity: 1; transform: none; clip-path: none; transition: none;
  }
}

/* =============================================
   RESPONSIVE — TABLET
============================================= */
@media (max-width: 1024px) {
  .stats-inner { grid-template-columns: 1fr; gap: 60px 0; }
  .stats-collage { order: -1; width: 100%; max-width: 460px; margin: 0 auto; }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .story-inner { grid-template-columns: 1fr; gap: 20px; }
  .story-sticky { position: static; margin-bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}

/* =============================================
   RESPONSIVE — MOBILE NAV BREAKPOINT
============================================= */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: 0;
    height: 100vh; height: 100svh;
    width: 100%;
    background: var(--color-navy);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 32px;
    overflow: hidden;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform .6s var(--ease-premium);
    z-index: 1100;
  }
  .main-nav::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -20%;
    width: 75vw;
    height: 75vw;
    max-width: 560px;
    max-height: 560px;
    background: radial-gradient(circle, rgba(47,111,235,.35), transparent 68%);
    pointer-events: none;
  }
  .main-nav.active { transform: translateX(0); pointer-events: auto; }
  .nav-mobile-logo {
    display: block;
    position: absolute;
    top: 26px;
    left: 32px;
    height: 30px;
    width: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .5s var(--ease-premium), transform .5s var(--ease-premium);
    transition-delay: .15s;
  }
  .main-nav.active .nav-mobile-logo { opacity: 1; transform: translateY(0); }
  .main-nav ul { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .main-nav ul li {
    width: 100%;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s var(--ease-premium), transform .55s var(--ease-premium);
    transition-delay: calc(.2s + var(--i) * 80ms);
  }
  .main-nav.active ul li { opacity: 1; transform: translateY(0); }
  .main-nav ul a { position: relative; display: block; padding: 14px 0; font-size: 30px; color: #fff; font-family: var(--font-display); font-weight: 700; }
  .main-nav ul a::after { display: none; }
  .site-header.scrolled .main-nav ul a { color: #fff; }
  .nav-cta { display: none; }
  .nav-cta-mobile {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 36px;
    padding: 16px 24px;
    font-size: 16px;
    opacity: 0; transform: translateY(18px);
    transition: opacity .5s var(--ease-premium), transform .5s var(--ease-premium);
    transition-delay: .58s;
  }
  .main-nav.active .nav-cta-mobile { opacity: 1; transform: translateY(0); }
  
  .nav-mobile-contact {
    display: block;
    margin-top: 40px;
    opacity: 0; transform: translateY(18px);
    transition: opacity .5s var(--ease-premium), transform .5s var(--ease-premium);
    transition-delay: .64s;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    width: 100%;
  }
  .main-nav.active .nav-mobile-contact { opacity: 1; transform: translateY(0); }
  .nmc-title {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
  }
  .nmc-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }
  .nmc-info:last-child {
    margin-bottom: 0;
  }
  .nmc-info svg {
    width: 20px;
    height: 20px;
    color: var(--color-blue);
    flex-shrink: 0;
  }
  .nmc-info a, .nmc-info span {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
  }
}

/* =============================================
   RESPONSIVE — MOBILE
============================================= */
@media (max-width: 690px) {
  .container { padding: 0 18px; }

  .hero-content { padding: calc(var(--header-h) + 20px) 18px 60px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .marquee-wrap { padding: 34px 0; }

  .story-panel { min-height: auto; padding: 32px 0; }

  .h-scroll-panel { padding: 0 24px; }
  .h-scroll-icon { width: 52px; height: 52px; margin-bottom: 24px; }

  .facilities-head { flex-direction: column; align-items: flex-start; }
  .facilities-grid { grid-template-columns: 1fr; }

  .about-inner { grid-template-columns: 1fr; gap: 30px; }

  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { padding: 24px; }

  .cta-inner { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

@media (max-width: 400px) {
  .section-title { font-size: 24px; }
  .eyebrow { font-size: 12px; padding: 7px 14px; }
}

/* =============================================
   NAV DROPDOWNS (Hizmetler / İllerimiz)
   PHP dönüşümünde eklendi — .database.sql'den
   beslenen çok sayıda link burada listelenir.
============================================= */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.chevron { width: 12px; height: 12px; transition: transform .3s var(--ease-premium); flex-shrink: 0; }
.has-dropdown:hover .chevron,
.has-dropdown:focus-within .chevron { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translate(-50%, 10px) scale(.97);
  transform-origin: top center;
  min-width: 260px;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 28px 64px rgba(12, 24, 48, .18);
  border: 1px solid var(--color-border);
  padding: 22px 26px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s var(--ease-premium), transform .45s var(--ease-premium), visibility .45s;
  z-index: 500;
}
.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}
/* Panelin üstünde görünmez bir köprü: fare linkten panele giderken
   aradaki 18px boşlukta dropdown kapanmasın diye. */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  width: 100%; height: 18px;
}

.dropdown-eyebrow {
  color: var(--color-blue);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  white-space: nowrap;
}
.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text-dark);
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.dropdown-arrow { color: var(--color-blue); font-weight: 700; transition: transform .25s var(--ease-premium); flex-shrink: 0; }
.dropdown-panel a:hover { background: var(--color-blue-light); color: var(--color-blue); }
.dropdown-panel a:hover .dropdown-arrow { transform: translateX(3px); }

/* =============================================
   MEGA PANEL (Modern & Centered)
============================================= */
.has-mega { position: static; }
.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 900px;
  max-width: 95vw;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 48px rgba(12, 24, 48, .15);
  border: 1px solid var(--color-border);
  padding: 32px 40px;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s var(--ease-premium), transform .45s var(--ease-premium), visibility .45s;
  z-index: 500;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.has-mega > a::before {
  content: '';
  position: absolute;
  top: 100%; left: -20px; right: -20px;
  height: 60px;
  background: transparent;
  z-index: 10;
}

.mega-grid-services { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mega-grid-cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.dropdown-eyebrow-accent {
  color: var(--color-blue);
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Service link with description */
.mega-link-desc {
  display: flex !important;
  align-items: flex-start;
  gap: 12px !important;
  padding: 12px 14px !important;
  margin: 0 -14px;
  border-radius: 12px;
  white-space: normal !important;
  transition: background .2s ease !important;
}
.mega-link-text { display: flex; flex-direction: column; gap: 4px; }
.mega-title { font-size: 15px; font-weight: 600; color: var(--color-text-dark); transition: color .2s ease; }
.mega-desc { font-size: 13.5px; color: var(--color-text); line-height: 1.4; font-weight: 400; }
.mega-link-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blue-light);
  color: var(--color-blue);
  border-radius: 10px;
  transition: all .25s var(--ease-premium);
}
.mega-link-icon svg { width: 22px; height: 22px; }
.mega-link-desc:hover .mega-link-icon {
  background: var(--color-blue);
  color: #fff;
  transform: scale(1.05);
}
.dropdown-arrow-accent {
  color: var(--color-blue);
  font-size: 18px;
  font-weight: 700;
  margin-top: -1px;
  transition: transform .25s ease;
  flex-shrink: 0;
}
.mega-link-desc:hover { background: var(--color-offwhite) !important; }
.mega-link-desc:hover .mega-title { color: var(--color-blue); }
.mega-link-desc:hover .dropdown-arrow-accent { transform: translateX(4px); }

/* Simple city link */
.mega-link-simple {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
  padding: 8px 10px !important;
  margin: 0 -10px;
  border-radius: 8px;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--color-text-dark) !important;
  transition: background .2s ease, color .2s ease !important;
}
.mega-link-simple:hover { background: var(--color-blue-light) !important; color: var(--color-blue) !important; }
.mega-link-simple:hover .dropdown-arrow-accent { transform: translateX(3px); }

@media (max-width: 900px) {
  .mega-panel { display: none !important; }
}

/* =============================================
   CITY CHIPS (İllerimiz listeleri)
============================================= */
.city-chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.city-chip {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.city-chip:hover { border-color: var(--color-blue); color: var(--color-blue); background: var(--color-blue-light); }

/* =============================================
   PAGE HERO (hizmet / il / tesis / statik sayfalar)
============================================= */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 90px; overflow: hidden; background: var(--color-navy); }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--color-navy); }
.page-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,12,26,.65), rgba(6,12,26,.9));
}
.page-hero-content { position: relative; z-index: 1; max-width: 720px; }
.page-hero-content h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); margin-bottom: 20px; }
.page-hero-content .hero-sub { color: #c7d1e6; max-width: 560px; }
.page-hero--compact { padding: calc(var(--header-h) + 60px) 0 60px; background: var(--color-navy); }
.page-hero--compact .page-hero-content h1 { margin-bottom: 12px; }

/* =============================================
   FAQ (tüm sayfalarda sabit, footer.php'de)
============================================= */
.faq { padding: var(--spacing-section) 0; }
.faq .section-eyebrow, .faq .section-title { text-align: center; }
.faq-list { max-width: 760px; margin: 0 auto; text-align: left; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 22px 0;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  color: var(--color-text-dark);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 20px; height: 20px; color: var(--color-blue); flex-shrink: 0; transition: transform .3s var(--ease-premium); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding-top: 14px; max-width: 620px; }

/* =============================================
   FORM FEEDBACK
============================================= */
.form-success { background: #e9f9ee; color: #1a7a3d; padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.form-error { background: #fdecec; color: #b3261e; padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; }

/* Teklif Al formundaki <select> alanları da diğer input'larla tutarlı olsun */
.contact-form select {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 13px 16px;
  outline: none;
  background: #fff;
  color: var(--color-text-dark);
  transition: border-color .2s ease;
}
.contact-form select:focus { border-color: var(--color-blue); }

/* =============================================
   RESPONSIVE — dropdowns & new blocks
============================================= */
@media (max-width: 900px) {
  .has-dropdown > a { justify-content: space-between; width: 100%; }
  .dropdown-panel {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-top: 0;
    background: transparent;
    transition: max-height .35s var(--ease-premium), margin-top .35s var(--ease-premium);
  }
  .has-dropdown.dropdown-open .dropdown-panel {
    max-height: 50vh;
    overflow-y: auto;
    pointer-events: auto;
    margin-top: 10px;
  }
  .dropdown-panel a { color: #fff; padding: 10px 4px; font-size: 15px; }
  .dropdown-panel a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .dropdown-eyebrow { color: #7fa8f7; margin-top: 6px; }
  .dropdown-arrow { color: #7fa8f7; }
  .mega-panel { min-width: 0; padding: 0; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .mega-col:not(:last-child) { border-right: none; padding-right: 0; }
  .has-dropdown .chevron { color: #fff; }
  .site-header.scrolled .has-dropdown .chevron { color: var(--color-blue); }
}

@media (max-width: 690px) {
  .page-hero { padding: calc(var(--header-h) + 50px) 0 60px; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   HONEYPOT (botlara görünür, insanlara görünmez)
============================================= */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =============================================
   TOAST BİLDİRİMLERİ (form gönderim sonucu)
============================================= */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  left: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 380px;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 20px 45px rgba(12, 24, 48, .18);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-blue);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .4s var(--ease-premium), transform .4s var(--ease-premium);
  pointer-events: auto;
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast--success { border-left-color: #1a7a3d; }
.toast--error { border-left-color: #b3261e; }
.toast--info { border-left-color: var(--color-blue); }
.toast-icon { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.toast--success .toast-icon { color: #1a7a3d; }
.toast--error .toast-icon { color: #b3261e; }
.toast--info .toast-icon { color: var(--color-blue); }
.toast-text { font-size: 14px; font-weight: 600; color: var(--color-text-dark); line-height: 1.5; flex: 1; }
.toast-close { flex-shrink: 0; width: 18px; height: 18px; color: #9aa5b8; transition: color .2s ease; }
.toast-close:hover { color: var(--color-text-dark); }

@media (max-width: 480px) {
  .toast-container { left: 16px; right: 16px; top: 16px; align-items: stretch; }
  .toast { max-width: none; }
}



