/* Kuru Hukuk performance and layout-stability patch — 2026-10-23 */

/* The loader postpones visible content even when the document is ready. */
.preload.preload-container {
  display: none !important;
}

/* Reserve header and hero geometry before theme JavaScript runs. */
#header,
.header.style-1,
.header.style-1 .header-content {
  min-height: 84px;
}

.page-title-home,
.page-title-home > .swiper,
.page-title-home .swiper-wrapper,
.page-title-home .swiper-slide,
.page-title-home .page-title-inner {
  min-height: 450px;
}

.page-title-home .swiper-wrapper {
  transform: none !important;
}

.page-title-home .swiper-slide:first-child {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Avoid LCP text waiting for animation libraries. */
.page-title-home .tf-fade-top {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}

/* Keep floating controls on compositor-friendly properties. */
.call-container .call-button,
.whatsapp-container .whatsapp-button {
  animation: none !important;
  box-shadow: 0 8px 20px rgba(16, 36, 61, .18) !important;
  will-change: transform;
}

.call-container .call-tooltip,
.whatsapp-container .whatsapp-tooltip {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s !important;
  pointer-events: none;
}

.call-container.show-tooltip .call-tooltip,
.whatsapp-container.show-tooltip .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s !important;
}

.logo-mobile img {
  width: 150px;
  height: auto;
  aspect-ratio: 240 / 102;
}

@media (max-width: 1199px) {
  #header,
  .header.style-1,
  .header.style-1 .header-content {
    min-height: 76px;
  }
}

@media (max-width: 767px) {
  .page-title-home,
  .page-title-home > .swiper,
  .page-title-home .swiper-wrapper,
  .page-title-home .swiper-slide,
  .page-title-home .page-title-inner {
    min-height: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
