/* Ana sayfa — video vitrin + logo carousel düzeltmeleri */

/* Video bölümü tam ekran kalsın (overflow-fix h-screen override kaldırıldı ama yedek) */
section.w-full.overflow-hidden.bg-neutral-950 > .hidden.lg\:block.h-screen {
  height: 100vh !important;
  min-height: 100vh !important;
}

section.w-full.overflow-hidden.bg-neutral-950 .grid.grid-cols-4 {
  height: 100%;
}

section.w-full.overflow-hidden.bg-neutral-950 .grid.grid-cols-4 > [role="button"] {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  min-height: 100%;
  overflow: hidden;
}

section.w-full.overflow-hidden.bg-neutral-950 .grid.grid-cols-4 h2 {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  line-height: 1.15;
}

/* Açıklama metni başlığın altında kalsın */
section.w-full.overflow-hidden.bg-neutral-950 .grid.grid-cols-4 > [role="button"] > div[style*="translateY"] {
  position: relative !important;
  z-index: 1;
  width: 100%;
  flex-shrink: 0;
  transform: none !important;
  margin-top: 0.25rem;
}

/* Üstteki ek açıklama kutusu */
section.w-full.overflow-hidden.bg-neutral-950 .grid.grid-cols-4 > [role="button"] > .absolute.top-4 {
  max-height: 38%;
  overflow-y: auto;
  z-index: 3;
}

/* Birlikte Çalıştıklarımız — logo şeridi */
.bg-dark.py-4.px-5.overflow-hidden.h-40 .react-multi-carousel-list {
  overflow: hidden !important;
  width: 100%;
}

.bg-dark.py-4.px-5.overflow-hidden.h-40 .react-multi-carousel-track {
  display: flex !important;
  align-items: center !important;
  overflow: visible !important;
}

.bg-dark.py-4.px-5.overflow-hidden.h-40 .react-multi-carousel-item {
  flex-shrink: 0 !important;
}

.bg-dark.py-4.px-5.overflow-hidden.h-40 .react-multi-carousel-item img {
  width: 200px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

@keyframes karun-logo-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.bg-dark.py-4.px-5.overflow-hidden.h-40 .react-multi-carousel-track.karun-fallback-animate {
  animation: karun-logo-marquee 40s linear infinite;
}
