/**
Theme Name: Astra Child
Text Domain: astra-child
Template: astra
*/

/* 🔧 Mobil görünümde taşma düzeltmesi */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
}

/* Header ve logo hizalama */
.ast-header-break-point .ast-builder-grid-row-container,
.ast-header-break-point .ast-container {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Logo ve menü ikonunun taşmasını engelle */
.site-header img,
.ast-header-break-point .ast-site-identity {
  max-width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
}

/* Smart Slider zoom düzeltme */
.smart-slider, 
.smart-slider img,
div[id*="n2-ss"] img {
    object-fit: contain !important;
    width: 100% !important;
    height: auto !important;
}

/* 📌 LOGO TAŞMA / HİZALAMA – SAFE MODE */
.ast-site-identity img {
    max-width: 180px !important;
    height: auto !important;
    object-fit: contain !important;
}

/* 📱 Mobil Logo Boyutu */
@media (max-width: 767px){
  .ast-site-identity img {
      max-width: 140px !important;
  }
}

/* 💨 Elementor Slider CLS – Görüntü Bozulmasını Önle */
.elementor-image-carousel .swiper-container,
.elementor-image-carousel .swiper {
    min-height: 250px !important;
}
/* MorgenCraft TR Hero Alanı */
#hero-morgencraft {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px;
}
#hero-morgencraft * {
    position: relative;
    z-index: 5 !important;
}
