/* ── Topografik kontur deseni (stratejik hero / bölüm arka planları) ── */

.ozk-topo {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ozk-topo__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ozk-topo__lines {
  color: var(--ozk-topo-stroke, rgba(227, 6, 19, 0.2));
}

.ozk-topo__cluster ellipse {
  stroke-width: 1.15;
  opacity: 0.55;
}

.ozk-topo__cluster ellipse:nth-child(2) { opacity: 0.48; stroke-width: 1.05; }
.ozk-topo__cluster ellipse:nth-child(3) { opacity: 0.4; stroke-width: 0.95; }
.ozk-topo__cluster ellipse:nth-child(4) { opacity: 0.32; stroke-width: 0.85; }
.ozk-topo__cluster ellipse:nth-child(5) { opacity: 0.24; stroke-width: 0.75; }

.ozk-topo__flow {
  stroke-width: 1;
  opacity: 0.28;
}

.ozk-topo__flow--2 { opacity: 0.22; }
.ozk-topo__flow--3 { opacity: 0.18; }

/* Açık zemin (harita, iletişim) */
.ozk-topo--light {
  --ozk-topo-stroke: rgba(227, 6, 19, 0.18);
  opacity: 0.92;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 45%, #000 15%, transparent 72%);
}

.ozk-topo--light .ozk-topo__cluster ellipse { opacity: 0.42; }

/* Gri içerik bölümleri — çok hafif kontur */
.ozk-topo-surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ozk-topo-surface .ozk-topo {
  inset: -4% -6%;
  width: auto;
  height: auto;
}

.ozk-topo--subtle {
  --ozk-topo-stroke: rgba(227, 6, 19, 0.1);
  opacity: 0.48;
  mask-image: radial-gradient(ellipse 110% 95% at 48% 38%, #000 4%, transparent 78%);
}

.ozk-topo--subtle .ozk-topo__cluster ellipse {
  opacity: 0.28;
  stroke-width: 0.95;
}

.ozk-topo--subtle .ozk-topo__cluster ellipse:nth-child(2) { opacity: 0.24; }
.ozk-topo--subtle .ozk-topo__cluster ellipse:nth-child(3) { opacity: 0.2; }
.ozk-topo--subtle .ozk-topo__cluster ellipse:nth-child(4) { opacity: 0.16; }
.ozk-topo--subtle .ozk-topo__cluster ellipse:nth-child(5) { opacity: 0.12; }

.ozk-topo--subtle .ozk-topo__flow {
  stroke-width: 0.85;
  opacity: 0.14;
}

.ozk-topo--subtle .ozk-topo__flow--2 { opacity: 0.11; }
.ozk-topo--subtle .ozk-topo__flow--3 { opacity: 0.09; }

.gray-surface--topo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.gray-surface--topo > :not(.ozk-topo-surface) {
  position: relative;
  z-index: 1;
}

/* Koyu foto / hero üstü */
.ozk-topo--dark {
  --ozk-topo-stroke: rgba(255, 255, 255, 0.14);
  opacity: 0.88;
  mask-image: radial-gradient(ellipse 100% 80% at 42% 38%, #000 8%, transparent 68%);
}

.ozk-topo--dark .ozk-topo__cluster ellipse { opacity: 0.38; }

/* Marka kırmızısı — Yakıt Cepte */
.ozk-topo--brand {
  --ozk-topo-stroke: rgba(227, 6, 19, 0.42);
  opacity: 0.95;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 42%, #000 12%, transparent 70%);
}

.ozk-topo--brand .ozk-topo__cluster ellipse { opacity: 0.62; }
.ozk-topo--brand .ozk-topo__flow { opacity: 0.38; }

@media (prefers-reduced-motion: no-preference) {
  .ozk-topo--brand .ozk-topo__svg {
    animation: ozk-topo-drift 28s ease-in-out infinite alternate;
  }
}

@keyframes ozk-topo-drift {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.03) translate3d(-1.5%, 1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ozk-topo--brand .ozk-topo__svg {
    animation: none;
  }
}

/* ── Yakıt Cepte (eski düzen + topo) ── */
.home-yc--topo {
  min-height: clamp(420px, 58vh, 580px);
  display: flex;
  align-items: center;
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}

.home-yc--topo.home-yc--no-photo .home-yc__bg {
  display: none;
}

.home-yc--topo .home-yc__bg {
  z-index: 0;
  opacity: 0.48;
}

.home-yc--topo.home-yc--no-photo .home-yc__veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.82) 100%),
    linear-gradient(120deg, rgba(227, 6, 19, 0.18) 0%, transparent 45%);
}

.home-yc--topo .home-yc__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0.68) 48%, rgba(12, 10, 9, 0.88) 100%),
    linear-gradient(120deg, rgba(227, 6, 19, 0.14) 0%, transparent 42%);
}

.home-yc--topo .ozk-topo {
  z-index: 2;
}

.home-yc--topo.home-yc--no-photo .ozk-topo {
  opacity: 0.5;
}

.home-yc--topo .home-yc__mesh {
  z-index: 3;
  opacity: 0.55;
  background:
    radial-gradient(ellipse 70% 55% at 22% 28%, rgba(227, 6, 19, 0.22), transparent 52%),
    radial-gradient(ellipse 55% 45% at 82% 72%, rgba(245, 158, 11, 0.12), transparent 48%);
}

.home-yc--topo.home-yc--no-photo .home-yc__mesh {
  z-index: 1;
  opacity: 1;
  background:
    linear-gradient(160deg, #0f172a 0%, #1e293b 42%, #0c1222 100%),
    radial-gradient(ellipse 90% 70% at 20% 30%, rgba(227, 6, 19, 0.38), transparent 52%),
    radial-gradient(ellipse 70% 50% at 85% 70%, rgba(245, 158, 11, 0.22), transparent 48%);
}

.home-yc--topo .home-yc__inner {
  z-index: 4;
}

.home-yc--page.home-yc--topo .home-yc__bg {
  opacity: 0.44;
}

/* ── Ana sayfa harita (canlı / iframe) ── */
.home-map-placeholder--live {
  min-height: auto;
  height: auto;
  padding-bottom: 0;
}

.home-map-placeholder--live,
.home-map-placeholder--embed {
  position: relative;
  min-height: 0;
  height: auto;
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 55%, #ffffff 100%);
  overflow: hidden;
}

.home-map-placeholder--live.home-filo-map-section--immersive {
  overflow: visible;
}

.home-map-placeholder--live {
  min-height: auto;
}

/* ── Hakkımızda istatistik bandı ── */
.about-stats--premium .about-stats__topo .ozk-topo {
  z-index: 0;
}

.about-stats--premium .about-stats__topo .ozk-topo--light {
  --ozk-topo-stroke: rgba(227, 6, 19, 0.22);
}

/* ── Harita filtre paneli (sol sticky / mobil sheet) ── */
.home-filo-map__finder--topo .home-filo-map__finder-topo .ozk-topo {
  z-index: 1;
}

.home-filo-map__finder--topo .home-filo-map__finder-topo .ozk-topo--light {
  --ozk-topo-stroke: rgba(227, 6, 19, 0.36);
  opacity: 1;
}

.home-filo-map__finder--topo .home-filo-map__finder-topo .ozk-topo__svg {
  width: 130%;
  height: 130%;
  margin: -8% 0 0 -12%;
}

.home-map-placeholder--embed .ozk-topo {
  z-index: 0;
}

.home-map-placeholder__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: clamp(420px, 52vw, 560px);
}

.home-map-placeholder__iframe {
  display: block;
  width: 100%;
  height: clamp(420px, 52vw, 560px);
  border: 0;
  background: #e2e8f0;
}

.home-map-placeholder__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  color: var(--c-text-2);
}

.home-map-placeholder__placeholder .icon-lucide {
  padding: 1.25rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  color: var(--c-primary);
}

/* ── Filo / Akaryakıt hero ── */
.filo-hero--topo .filo-hero__effects .ozk-topo {
  z-index: 0;
}

.filo-hero--topo .filo-hero__mesh {
  opacity: 0.5;
}

.filo-hero--topo .filo-hero__grid {
  opacity: 0.04;
}

.akaryakit-hero.filo-hero--topo .filo-hero__overlay {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.78) 55%, rgba(12, 10, 9, 0.92) 100%),
    linear-gradient(120deg, rgba(227, 6, 19, 0.16) 0%, transparent 48%);
}

/* ── İletişim hero ── */
.contact-page__hero--topo .contact-page__hero-bg {
  opacity: 0.72;
}

.contact-page__hero--topo .contact-page__hero-grid {
  opacity: 0.22;
}

.contact-page__hero--topo .ozk-topo {
  z-index: 0;
}

.contact-page__hero--topo .container {
  position: relative;
  z-index: 1;
}

/* Harita → Yakıt Cepte geçişi (mevcut seam kurallarıyla uyum) */
.home-map-placeholder--embed:has(+ .ozk-section-divider--seam) {
  padding-bottom: var(--ozk-seam-half, 1.625rem);
}

.home-map-placeholder--embed .home-map-placeholder__placeholder {
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

.home-map-placeholder + .ozk-section-divider--seam + .home-yc.home-yc--topo {
  padding-bottom: clamp(4.5rem, 10vw, 7rem);
  min-height: clamp(420px, 58vh, 580px);
  align-items: flex-start;
  justify-content: flex-start;
}

@media (max-width: 767px) {
  .home-map-placeholder + .ozk-section-divider--seam + .home-yc.home-yc--topo {
    min-height: calc(clamp(420px, 58vh, 580px) + 0.625rem);
    padding-top: 0.625rem;
  }
}

/* ── Footer (koyu zemin — topo üstte, belirgin kontur) ── */
.footer--topo .footer__backdrop .ozk-topo {
  z-index: 3;
  opacity: 1;
  mix-blend-mode: screen;
  --ozk-topo-stroke: rgba(227, 6, 19, 0.62);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.footer--topo .footer__backdrop .ozk-topo__svg {
  transform: scale(1.12);
  transform-origin: center center;
}

.footer--topo .footer__backdrop .ozk-topo__cluster ellipse {
  stroke-width: 1.45;
  opacity: 0.82;
}

.footer--topo .footer__backdrop .ozk-topo__cluster ellipse:nth-child(2) { opacity: 0.74; stroke-width: 1.35; }
.footer--topo .footer__backdrop .ozk-topo__cluster ellipse:nth-child(3) { opacity: 0.66; stroke-width: 1.25; }
.footer--topo .footer__backdrop .ozk-topo__cluster ellipse:nth-child(4) { opacity: 0.56; stroke-width: 1.15; }
.footer--topo .footer__backdrop .ozk-topo__cluster ellipse:nth-child(5) { opacity: 0.46; stroke-width: 1.05; }

.footer--topo .footer__backdrop .ozk-topo__flow {
  stroke-width: 1.25;
  opacity: 0.52;
}

.footer--topo .footer__backdrop .ozk-topo__flow--2 { opacity: 0.44; }
.footer--topo .footer__backdrop .ozk-topo__flow--3 { opacity: 0.36; }

.footer--topo .footer__circuit {
  opacity: 0.08;
}

.footer--topo .footer__mesh {
  opacity: 0.52;
}

.footer--topo .footer__orb {
  opacity: 0.38;
}

.footer--topo .footer__noise {
  opacity: 0.025;
}
