/* Proje detay sayfası */
.mk-proje-sayfa .by-page-hero-plain .by-breadcrumb-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 0;
    margin-top: 0;
}

.mk-proje-sayfa .by-breadcrumb-sep {
    margin: 0 18px;
    color: #999 !important;
}

.mk-proje-sayfa .by-page-hero-plain .by-hero-plain-gap {
    padding-top: 36px !important;
    padding-bottom: 28px !important;
}

.mk-proje-sayfa .by-page-hero-plain .pg-tp-wrp.style2 {
    padding-bottom: 0;
    gap: 12px;
}

.mk-proje-sayfa .by-page-hero-plain .pg-tp-wrp > h1 {
    font-size: clamp(28px, 4vw, 42px) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    margin: 0 0 4px !important;
    text-align: left;
}

.mk-proje-sayfa .by-page-hero-plain .by-breadcrumb-nav {
    margin-top: 0;
}

.mk-proje-detay {
    padding-bottom: 80px;
}

.mk-proje-detay__media {
    width: 100%;
}

/* Üst görsel — slider ile fade senkron */
.mk-proje-cover-fade {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 560px;
    border-radius: 16px;
    overflow: hidden;
    background: #eee;
}

.mk-proje-cover-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.mk-proje-cover-layer.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.mk-proje-cover-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mk-proje-detay .main-title {
    font-weight: 400;
    line-height: 1.15;
    color: #111;
    font-size: clamp(28px, 4vw, 42px) !important;
}

.mk-proje-detay .mk-proje-lead {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    border-left: 3px solid var(--cr-green1, #2d6a4f);
    padding-left: 20px;
    margin-bottom: 28px;
}

.mk-proje-detay .mk-proje-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.mk-proje-detay .mk-proje-content p {
    margin-bottom: 1em;
}

.mk-proje-detay .mk-proje-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Proje görselleri slider — ana resmin altında */
.mk-proje-galeri-slider {
    position: relative;
    padding-bottom: 36px;
}

.mk-proje-galeri-slider .swiper-slide {
    height: auto;
}

.mk-proje-galeri-slide {
    display: block;
    width: 100%;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: none;
    cursor: pointer;
    transition: border-color 0.25s ease, opacity 0.25s ease;
    opacity: 0.65;
}

.mk-proje-galeri-slide.is-active,
.mk-proje-galeri-slide:hover {
    border-color: var(--cr-green1, #2d6a4f);
    opacity: 1;
}

.mk-proje-galeri-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.mk-proje-galeri-pagination {
    bottom: 0 !important;
}

.mk-proje-galeri-prev,
.mk-proje-galeri-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    color: #111;
}

.mk-proje-galeri-prev::after,
.mk-proje-galeri-next::after {
    font-size: 16px;
    font-weight: 700;
}

.mk-proje-detay .widget-box {
    position: sticky;
    top: 24px;
}

.mk-proje-detay .mk-proje-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.mk-proje-detay .mk-proje-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: opacity 0.2s ease;
}

.mk-proje-detay .mk-proje-cta a:hover {
    opacity: 0.9;
}

.mk-proje-detay .mk-proje-cta-wa {
    background: #25d366;
    color: #fff !important;
}

.mk-proje-detay .mk-proje-cta-tel {
    background: #111;
    color: #fff !important;
}

.mk-proje-detay .mk-proje-back {
    margin-top: 40px;
}

.mk-proje-ilgili {
    background: #f9f9f9;
}

.mk-proje-ilgili .section-title h2 {
    font-weight: 400;
}

@media (max-width: 991px) {
    .mk-proje-detay .widget-box {
        position: static;
    }

    .mk-proje-cover-fade {
        aspect-ratio: 16 / 10;
        max-height: none;
    }

    .mk-proje-sayfa .by-breadcrumb-sep {
        margin: 0 12px;
    }
}
