.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

section {
  padding: 100px 0;
}

.hero-section {
  padding: 180px 0 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: 0;
  border: none;
  /* Arka plan rengi body ile birebir aynı — sub-pixel sızmayı gizler */
  background-color: #0a0a0a;
}

/* Video arka plan */
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  /* Inline baseline gap kesin çözümü */
  display: block;
  vertical-align: bottom;
  /* Safari: ayrı compositor katmanı — donma/first-frame sorunlarını azaltır */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Lüks karartma katmanı */
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    to top,
    #0a0a0a 0%,                   /* Alt kenar: body rengiyle birebir aynı opak siyah */
    rgba(0, 0, 0, 0.60) 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 1;
}

.grid {
  display: grid;
  gap: var(--space-2xl);
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  section {
    padding: 60px 0;
  }
  .hero-section {
    padding: 140px 0 80px;
    min-height: 80vh;
  }
}
