/* ================================================================
   ELİTAŞ YAPI PEYZAJ — Shared Design System
   Tüm sayfalar bu dosyayı yükler.
   ================================================================ */

/* ── CSS Değişkenleri ─────────────────────────────────────────── */
:root, body.theme-dark {
  --soft-black:       #0c0e0c;
  --forest:           #1d2a22;
  --sage:             #3d5443;
  --beige:            #d8c9b0;
  --beige-soft:       #ebe2d2;
  --stone:            #8b8a83;
  --stone-light:      #b8b3a8;
  --line:             rgba(216,201,176,0.14);
  --line-strong:      rgba(216,201,176,0.28);

  --glass-bg:         rgba(12,14,12,0.42);
  --glass-strong-bg:  rgba(12,14,12,0.55);
  --glass-light-bg:   rgba(216,201,176,0.06);
  --card-bg:          rgba(20, 28, 22, 0.55);

  --shade-top:        rgba(0,0,0,0.55);
  --halftone-dot:     #000;
  --halftone-blend:   multiply;

  --stripe-line-a:    rgba(216,201,176,0.05);
  --stripe-line-b:    rgba(216,201,176,0.02);
  --stripe-base-a:    #161a16;
  --stripe-base-b:    #0e1310;

  --featured-bg:      rgba(157, 192, 139, 0.14);
  --featured-fg:      #bdd2ad;
  --featured-line:    rgba(157, 192, 139, 0.30);

  --contact-overlay:  rgba(10,14,18,0.78);
  --contact-photo-filter: brightness(0.35) saturate(0.6) hue-rotate(220deg);
  --contact-photo-opacity: 0.45;
}

body.theme-light {
  --soft-black:       #f1eadb;
  --forest:           #2d4234;
  --sage:             #5d7c5d;
  --beige:            #2d4234;
  --beige-soft:       #1c241d;
  --stone:            #6f6c63;
  --stone-light:      #3a4538;
  --line:             rgba(45, 66, 52, 0.16);
  --line-strong:      rgba(45, 66, 52, 0.32);

  --glass-bg:         rgba(247, 243, 232, 0.62);
  --glass-strong-bg:  rgba(247, 243, 232, 0.78);
  --glass-light-bg:   rgba(45, 66, 52, 0.05);
  --card-bg:          rgba(247, 243, 232, 0.72);

  --shade-top:        rgba(0, 0, 0, 0.18);
  --halftone-dot:     rgba(45, 66, 52, 0.6);
  --halftone-blend:   multiply;

  --stripe-line-a:    rgba(45, 66, 52, 0.07);
  --stripe-line-b:    rgba(45, 66, 52, 0.03);
  --stripe-base-a:    #e7dec9;
  --stripe-base-b:    #d9cfb5;

  --featured-bg:      rgba(45, 66, 52, 0.10);
  --featured-fg:      #2d4234;
  --featured-line:    rgba(45, 66, 52, 0.25);

  --contact-overlay:  rgba(241, 234, 219, 0.78);
  --contact-photo-filter: brightness(1.05) saturate(0.85);
  --contact-photo-opacity: 0.35;
}

/* ── Reset & Base ─────────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--soft-black); color: var(--beige-soft); }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Tipografi Yardımcıları ───────────────────────────────────── */
.serif  { font-family: 'Instrument Serif', 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; }
.mono   { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 400;
}
.hairline   { height: 1px; background: var(--line); }
.v-hairline { width: 1px;  background: var(--line); }
::selection { background: var(--beige); color: var(--soft-black); }

/* ── Hero / Medya Sınıfları ───────────────────────────────────── */
.hero-photo {
  background-image: url('hero-poster.png');
  background-size: cover;
  background-position: center 40%;
}
.contact-bg {
  background-image: url('contact-bg.png');
  background-size: cover;
  background-position: center 60%;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}

/* Hero metin okunabilirliği */
.hero-text-shadow {
  text-shadow:
    0 2px 14px rgba(0,0,0,0.55),
    0 1px 3px rgba(0,0,0,0.35);
}
.hero-text-wash {
  position: absolute; pointer-events: none; z-index: 6;
  inset: auto 0 0 0; height: 70%;
  background:
    radial-gradient(ellipse 70% 60% at 20% 90%, rgba(0,0,0,0.55), rgba(0,0,0,0) 70%),
    radial-gradient(ellipse 50% 50% at 80% 95%, rgba(0,0,0,0.35), rgba(0,0,0,0) 70%);
  mix-blend-mode: multiply;
}
body.theme-light .hero-text-wash {
  background:
    radial-gradient(ellipse 70% 60% at 20% 90%, rgba(0,0,0,0.35), rgba(0,0,0,0) 70%),
    radial-gradient(ellipse 50% 50% at 80% 95%, rgba(0,0,0,0.20), rgba(0,0,0,0) 70%);
}

.hero-bottom-gradient {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 360px; pointer-events: none; z-index: 7;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    var(--soft-black) 80%,
    var(--soft-black) 100%);
}
body.theme-light .hero-bottom-gradient {
  background: linear-gradient(180deg,
    rgba(241,234,219,0) 0%,
    var(--soft-black) 80%,
    var(--soft-black) 100%);
}

/* Proje kartları çizgili zemin */
.stripe-placeholder {
  background:
    repeating-linear-gradient(135deg,
      var(--stripe-line-a) 0 12px,
      var(--stripe-line-b) 12px 24px),
    linear-gradient(180deg, var(--stripe-base-a) 0%, var(--stripe-base-b) 100%);
}

/* ── Animasyonlar ─────────────────────────────────────────────── */
@keyframes scroll-down {
  0%   { transform: translateY(-100%); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}
@keyframes role-rise {
  from { opacity: 0; transform: translateY(10px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(157, 192, 139, 0.55); }
  70%      { box-shadow: 0 0 0 8px rgba(157, 192, 139, 0); }
}
@keyframes light-flicker {
  0%, 100% { opacity: 1; }
  47% { opacity: 0.85; }
  50% { opacity: 0.65; }
  53% { opacity: 0.95; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes shimmer-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Çizgisi ───────────────────────────────────────────── */
.scroll-line { position: relative; width: 1px; height: 56px; background: var(--line); overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0;
  height: 30%; background: linear-gradient(180deg, transparent, var(--beige), transparent);
  animation: scroll-down 2.2s ease-in-out infinite;
}

/* ── Butonlar ─────────────────────────────────────────────────── */
.btn-base {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 13px; letter-spacing: 0.04em; font-weight: 500;
  min-height: 44px;
  transition: transform .35s ease, background .35s ease, color .35s ease, border-color .35s ease;
  cursor: pointer; white-space: nowrap;
}
.btn-base:hover { transform: translateY(-2px); }
.btn-light { background: var(--beige); color: var(--soft-black); border: 1px solid var(--beige); }
.btn-light:hover { background: var(--beige-soft); box-shadow: 0 12px 36px rgba(216,201,176,0.28); }
.btn-ghost { background: transparent; color: var(--beige-soft); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--beige); color: var(--beige); box-shadow: 0 12px 36px rgba(216,201,176,0.10); }

/* ── Glass ────────────────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line-strong);
}
.glass-light {
  background: var(--glass-light-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
}

/* ── Fade-up Gözlemci ─────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(40px) scale(0.975);
  filter: blur(6px);
  transition:
    opacity 1.7s cubic-bezier(.16,1,.3,1),
    transform 1.7s cubic-bezier(.16,1,.3,1),
    filter 1.3s cubic-bezier(.16,1,.3,1);
  will-change: transform, opacity;
}
.fade-up.in { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

/* ── Proje Kartları ───────────────────────────────────────────── */
.proj-card {
  position: relative; overflow: hidden; border-radius: 22px;
  border: 1px solid var(--line); background: var(--soft-black);
  transition: box-shadow .7s cubic-bezier(.16,1,.3,1), border-color .7s ease;
}
.proj-card:hover { box-shadow: 0 32px 72px rgba(0,0,0,0.50); border-color: var(--line-strong); }
.proj-card .proj-img { transition: transform 2.4s cubic-bezier(.16,1,.3,1), filter 1.2s ease; }
.proj-card:hover .proj-img { transform: scale(1.09); filter: brightness(1.1) saturate(1.1); }
.proj-card .proj-overlay { transition: opacity .7s cubic-bezier(.16,1,.3,1); opacity: 0; }
.proj-card:hover .proj-overlay { opacity: 1; }

/* ── Kaydırma Çubuğu ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--soft-black); }
::-webkit-scrollbar-thumb { background: var(--forest); border-radius: 8px; }

/* ── Logo ─────────────────────────────────────────────────────── */
.logo-img { filter: brightness(0) invert(1); display: block; }
body.theme-light .logo-img { filter: brightness(0); }

/* ── Tema Geçişi ──────────────────────────────────────────────── */
body, .glass, .glass-light, .hairline, .v-hairline, .btn-base {
  transition: background-color .6s ease, color .6s ease, border-color .6s ease;
}

/* ── Sahne Katmanları (SPA'ya özgü) ──────────────────────────── */
#scene-tint {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  mix-blend-mode: multiply; transition: opacity .2s linear;
}
#scene-cool {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  mix-blend-mode: screen; opacity: 0; transition: opacity .2s linear;
}
#scene-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.65) 100%);
  opacity: 0.45;
}

/* ── Bahçe Işıkları (SPA'ya özgü) ────────────────────────────── */
.lamp {
  position: absolute; width: 8px; height: 8px; border-radius: 999px;
  background: #ffd9a0;
  box-shadow: 0 0 20px 6px rgba(255, 200, 120, 0.55), 0 0 60px 18px rgba(255, 170, 80, 0.18);
  animation: light-flicker 4s ease-in-out infinite;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.lamp.on { opacity: var(--lamp-strength, 1); }

/* ── İç Sayfa Navigasyon ──────────────────────────────────────── */
.page-nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 32px;
  padding-top: max(20px, env(safe-area-inset-top));
  pointer-events: none;
}
.page-nav-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px; border-radius: 999px;
  pointer-events: auto;
}
.page-nav-link {
  background: transparent; color: var(--stone);
  border: none; cursor: pointer;
  padding: 12px 18px; border-radius: 999px; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  display: inline-flex; align-items: center;
  min-height: 44px;
  transition: color .3s ease, background .3s ease;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.page-nav-link:hover,
.page-nav-link.active { color: var(--beige-soft); background: var(--glass-light-bg); }

/* ── Hamburger Menü ───────────────────────────────────────────── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 999px;
  margin-left: 4px;
}
.hamburger-btn span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--beige-soft);
  border-radius: 2px;
  transition: opacity .2s ease;
}

.mobile-backdrop {
  position: fixed; inset: 0; z-index: 58;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 59;
  width: min(320px, 85vw);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  padding: 24px 16px 48px;
  padding-top: max(24px, env(safe-area-inset-top));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-right: none;
  border-radius: 0;
  border-top: none;
  border-bottom: none;
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-close {
  position: absolute; top: 20px; right: 20px;
  background: var(--glass-light-bg);
  border: 1px solid var(--line);
  color: var(--beige-soft);
  width: 36px; height: 36px; min-height: 36px;
  border-radius: 999px;
  cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.drawer-close:hover { background: var(--line); }

/* ── İletişim Formu ───────────────────────────────────────────── */
.form-field {
  width: 100%; padding: 16px 20px; border-radius: 16px;
  background: var(--glass-light-bg);
  border: 1px solid var(--line);
  color: var(--beige-soft);
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 300;
  outline: none; resize: none;
  transition: border-color .3s ease, background .3s ease;
  min-height: 44px;
}
.form-field::placeholder { color: var(--stone); }
.form-field:focus {
  border-color: var(--line-strong);
  background: var(--glass-bg);
}

/* ── İç Sayfa Ortak Bölüm ────────────────────────────────────── */
.inner-page { padding-top: 120px; min-height: 100vh; }
.inner-section { padding: 80px 6vw; max-width: 1320px; margin: 0 auto; }
.inner-section-full { padding: 80px 0; }

/* ── Proje Detay Galerisi ─────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 18px;
  overflow: hidden;
  background: var(--soft-black);
  border: 1px solid var(--line);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.8s cubic-bezier(.16,1,.3,1);
}
.gallery-item:hover img { transform: scale(1.04); }

/* ── Zaman Çizelgesi (Hakkımızda) ────────────────────────────── */
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; letter-spacing: 0.12em;
  color: var(--featured-fg); padding-top: 4px;
}

/* ── Arka Plan Gradyan Animasyonu ──────────────────────────────── */
.bg-gradient-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.bg-gradient-canvas .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  will-change: transform;
}
body.theme-dark .bg-gradient-canvas .blob {
  opacity: 0.28;
}
body.theme-light .bg-gradient-canvas .blob {
  opacity: 0.18;
  filter: blur(100px);
}

.blob-1 {
  width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(180,160,120,0.5) 0%, transparent 70%);
  top: -20%; left: -15%;
  animation: blob-float-1 28s ease-in-out infinite;
}
.blob-2 {
  width: 50vw; height: 50vw; max-width: 650px; max-height: 650px;
  background: radial-gradient(circle, rgba(157,192,139,0.45) 0%, transparent 70%);
  top: 50%; right: -10%;
  animation: blob-float-2 32s ease-in-out infinite;
}
.blob-3 {
  width: 45vw; height: 45vw; max-width: 550px; max-height: 550px;
  background: radial-gradient(circle, rgba(140,160,180,0.4) 0%, transparent 70%);
  bottom: -15%; left: 30%;
  animation: blob-float-3 35s ease-in-out infinite;
}
body.theme-light .blob-1 { background: radial-gradient(circle, rgba(200,180,150,0.35) 0%, transparent 70%); }
body.theme-light .blob-2 { background: radial-gradient(circle, rgba(180,210,170,0.3) 0%, transparent 70%); }
body.theme-light .blob-3 { background: radial-gradient(circle, rgba(170,190,210,0.3) 0%, transparent 70%); }

@keyframes blob-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(8vw, 6vh) scale(1.12) rotate(3deg); }
  50% { transform: translate(4vw, 12vh) scale(0.94) rotate(-2deg); }
  75% { transform: translate(-3vw, 4vh) scale(1.06) rotate(1deg); }
}
@keyframes blob-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(-6vw, -8vh) scale(1.15) rotate(-4deg); }
  66% { transform: translate(5vw, -4vh) scale(0.9) rotate(2deg); }
}
@keyframes blob-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  20% { transform: translate(-7vw, -5vh) scale(1.08) rotate(2deg); }
  50% { transform: translate(3vw, -10vh) scale(0.92) rotate(-3deg); }
  70% { transform: translate(8vw, -3vh) scale(1.05) rotate(1deg); }
}

/* ── Selamlama / Zaman İfadesi ─────────────────────────────────── */
.greeting-text {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--stone);
  opacity: 0.6;
  white-space: nowrap;
  transition: opacity .8s ease, color .8s ease;
}
body.theme-light .greeting-text {
  opacity: 0.5;
}

/* ── Premium Animasyonlar ──────────────────────────────────────── */
@keyframes subtle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes gentle-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.85; }
}
.animate-float {
  animation: subtle-float 5s ease-in-out infinite;
}
.animate-shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(216,201,176,0.08) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
.animate-gentle-pulse {
  animation: gentle-pulse 4s ease-in-out infinite;
}

/* ── Sayfa geçişleri için ─────────────────────────────────────── */
.page-enter {
  animation: fade-in-up 1s cubic-bezier(.16,1,.3,1) forwards;
}

/* ── Işık huzmesi efekti ──────────────────────────────────────── */
.light-ray {
  position: fixed; pointer-events: none; z-index: 0;
  width: 1px; height: 100vh;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(216,201,176,0.07) 40%,
    rgba(216,201,176,0.03) 60%,
    transparent 100%);
  transform: rotate(15deg);
  opacity: 0.5;
}
.light-ray:nth-child(1) { left: 15%; animation: ray-drift 18s ease-in-out infinite; }
.light-ray:nth-child(2) { left: 45%; animation: ray-drift 22s ease-in-out infinite 5s; opacity: 0.35; }
.light-ray:nth-child(3) { left: 75%; animation: ray-drift 20s ease-in-out infinite 10s; opacity: 0.3; }
body.theme-light .light-ray { opacity: 0.15; }

@keyframes ray-drift {
  0%, 100% { transform: rotate(15deg) translateX(0); opacity: 0.5; }
  50% { transform: rotate(17deg) translateX(40px); opacity: 0.25; }
}

/* ── Kart Hover Efekti ────────────────────────────────────────── */
.premium-card {
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease, border-color .5s ease;
}
.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  border-color: var(--line-strong);
}

/* ── ===== MOBİL UYUMLULUK ===== ─────────────────────────────── */
@media (max-width: 900px) {
  .proj-grid { grid-template-columns: repeat(6, 1fr) !important; }
  .proj-card { grid-column: span 6 !important; aspect-ratio: 4/3 !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 36px !important; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr) !important; }
  .gallery-item { grid-column: span 6 !important; }
  .timeline-item { grid-template-columns: 60px 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  /* Navbar */
  .nav-link, .nav-divider { display: none !important; }
  .nav-cta { display: none !important; }
  .hamburger-btn { display: flex !important; }

  /* Logo */
  .logo-img { height: 48px !important; }

  /* Hero */
  .hero-content { padding-top: 88px !important; padding-bottom: 48px !important; }

  /* Projeler */
  .proj-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .proj-card { grid-column: span 1 !important; aspect-ratio: 4/3 !important; }

  /* Galeri */
  .gallery-grid { grid-template-columns: 1fr !important; }
  .gallery-item { grid-column: span 1 !important; aspect-ratio: 4/3 !important; }

  /* Journal */
  .jrn-row {
    grid-template-columns: auto 1fr !important;
    gap: 6px 14px !important;
    padding: 14px 18px !important;
    border-radius: 20px !important;
  }
  .jrn-row > span:nth-child(2),
  .jrn-row > span:nth-child(4),
  .jrn-row > span:nth-child(5) { display: none !important; }

  /* İstatistikler */
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* Bölüm padding */
  section { padding-left: 5vw !important; padding-right: 5vw !important; }
  .inner-section { padding-left: 5vw !important; padding-right: 5vw !important; }

  /* Zaman çizelgesi */
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .timeline-year { padding-top: 0; }

  /* İç sayfa nav */
  .page-nav-wrap { padding: 16px 20px; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr !important; }
  .logo-img { height: 40px !important; }
}

/* ── iOS Çentik Desteği ───────────────────────────────────────── */
@supports (padding-top: env(safe-area-inset-top)) {
  .logo-wrap-fixed {
    top: max(24px, env(safe-area-inset-top)) !important;
  }
}
