/* MT Mühendislik (mtm2) - ortak davranış ve görsel düzeltmeler */
/* WordPress preloader ve Elementor JS animasyon gizlemelerini kaldır */
.preloader-plus {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#page {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

.elementor-invisible {
  visibility: visible !important;
  opacity: 1 !important;
}

.mtm-video-unavailable {
  padding: 1.5rem;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #374151;
  text-align: center;
  border-radius: 6px;
}

.mtm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.mtm-lightbox.is-open {
  display: flex;
}

.mtm-lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 4px;
}

.mtm-lightbox-close,
.mtm-lightbox-prev,
.mtm-lightbox-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

.mtm-lightbox-close { top: 18px; right: 20px; }
.mtm-lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.mtm-lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.mtm-form-status {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  display: none;
  flex: 0 0 100%;
  width: 100%;
  clear: both;
  box-sizing: border-box;
}

.mtm-form-status.is-visible { display: block; }
.mtm-form-status.is-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.mtm-form-status.is-ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

.mtm-recaptcha-slot {
  margin: 1rem 0;
  flex: 0 0 100%;
  width: 100%;
  clear: both;
}

.mtm-recaptcha-note {
  padding: 0.65rem 0.9rem;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 0.875rem;
  border-radius: 4px;
}

/* Mobil menü açık durumu */
.ast-mobile-popup-drawer.active {
  visibility: visible;
  opacity: 1;
}

/* Hero arka plan slayt gösterisi */
.mtm-bg-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.mtm-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.mtm-bg-slide.is-active {
  opacity: 1;
}
