/* =========================================
   EDGE FIX CSS - bursaosbkumelenme
   ========================================= */

/* 1. ASPECT-RATIO FALLBACK */
@supports not (aspect-ratio: 1/1) {
    .pbmit-animation-style1 img,
    .project-img img,
    .service-img img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
}

/* 2. IMAGE STRETCH / OBJECT-FIT FIX */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. CARD TITLE VERTICAL ALIGN FIX */
.pbmit-service-title,
.project-title,
.card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* height varsa koru */
    min-height: 64px;
}

/* 4. FLEXBOX BUG FIX (EDGE) */
.row {
    display: flex;
    flex-wrap: wrap;
}

/* bootstrap override riskine karşı */
[class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* 5. OVERFLOW + HOVER FIX */
.pbmit-animation-style1,
.project-item,
.gallery-item {
    position: relative;
    overflow: hidden;
}

.pbmit-animation-style1 img {
    transition: transform 0.4s ease;
}

.pbmit-animation-style1:hover img {
    transform: scale(1.05);
}

/* 6. VH HEIGHT FIX (SLIDER vs) */
.slider,
.hero-section,
.banner-section {
    min-height: 100vh;
    height: auto;
}

/* 7. BUTTON CLICK FIX (EDGE bazen tıklamaz) */
a, button {
    cursor: pointer;
}

/* 8. Z-INDEX FIX (POPUP / MENU) */
.modal,
.mfp-wrap,
.navbar,
.dropdown-menu {
    z-index: 9999;
}

/* 9. MAGNIFIC POPUP FIX */
.mfp-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 10. TEXT OVERFLOW FIX */
h1, h2, h3, h4, h5 {
    word-break: break-word;
}

/* 11. LINE HEIGHT FIX (EDGE font farkı) */
body {
    line-height: 1.5;
}

/* 12. INPUT / FORM FIX */
input, textarea, select {
    border-radius: 0;
    outline: none;
}

/* 13. TRANSFORM BUG FIX */
* {
    backface-visibility: hidden;
}

/* 14. GRID FALLBACK (eğer css grid varsa) */
@supports not (display: grid) {
    .grid {
        display: flex;
        flex-wrap: wrap;
    }
}

/* 15. SAFETY FIX (GENEL) */
.container {
    overflow-x: hidden;
}