/*
 * Ana sayfa stilleri (Views/Home/Index.cshtml)
 * Bölümler, Views/Home/Partials altındaki partial'larla aynı sıradadır.
 */

/* =====================================================================
   Slider (Views/Home/Components/HomeSlider)
   ---------------------------------------------------------------------
   flexslider tüm slaytları JS yüklenene kadar gizler (display: none).
   Bu yüzden slider açılışta 0 px yüksekliğindeydi; sayfa yüklenince
   açılıyor ve altındaki her şeyi aşağı itiyordu (CLS).
   - İlk slayt JS beklenmeden gösterilir.
   - Görsel yüklenmeden önce yüksekliği 1920x760 oranıyla ayrılır;
     görsel gelince kendi gerçek oranı kullanılır.
   ===================================================================== */
.page_mainslider .flexslider .slides > li:first-child {
    display: block;
}

.page_mainslider .flexslider .slides img {
    height: auto;
    aspect-ratio: auto 1920 / 760;
}

/* =====================================================================
   Güç Hesaplayıcı (_PowerCalculatorPartial)
   ===================================================================== */
.home-calculator > .container {
    padding-top: 55px !important;
    padding-bottom: 43px !important;
}

.gh-desc {
    text-align: center;
}

/* ── Adım geçişleri ── */
.gh-step {
    display: none;
}

    .gh-step.active {
        display: block;
    }

/* ── Kategori ── */
.gh-kat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

@media (max-width: 540px) {
    .gh-kat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gh-kat-card {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    font-size: 12px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

    .gh-kat-card:hover {
        background: #e0e0e0;
        border-color: #bbb;
        color: #333;
    }

    .gh-kat-card.active {
        background: #fcca03;
        border-color: #c9a000;
        color: #333;
    }

/* ── Üst bar (2. adım) ── */
.gh-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.gh-back-btn {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #555;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    cursor: pointer;
    transition: 0.18s;
}

    .gh-back-btn:hover {
        background: #e0e0e0;
        border-color: #bbb;
        color: #333;
    }

.gh-kat-tag {
    background: #1f839f;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 4px;
}

/* ── Cihaz kartları ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
    margin-bottom: 15px;
}

.product-card {
    position: relative;
    width: 80px;
    height: 80px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    background: #f0f0f0;
    border-radius: 4px;
    color: #555;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}

    .product-card:hover {
        background: #e0e0e0;
    }

    .product-card.selected {
        background: #fcca03;
        color: #333;
        font-weight: bold;
    }

    /* ── Adet rozeti ── */
    .product-card .qty-badge {
        position: absolute;
        top: -10px;
        right: -10px;
        background: #1f839f;
        color: #fff;
        border-radius: 20px;
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 2px 6px;
        font-size: 11px;
        font-weight: bold;
        cursor: default;
        border: 2px solid #fff;
    }

.qty-minus, .qty-plus {
    cursor: pointer;
    padding: 0 3px;
    font-size: 13px;
    line-height: 1;
    border-radius: 3px;
}

    .qty-minus:hover, .qty-plus:hover {
        background: rgba(255,255,255,0.3);
    }

.qty-value {
    min-width: 14px;
    text-align: center;
}

/* ── Özel cihaz ekleme ── */
.gh-custom-device {
    margin: 5px 0 10px;
    padding: 14px;
    border: 1px dashed #d5d5d5;
    border-radius: 4px;
    background: #fafafa;
    text-align: left;
}

.gh-custom-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: #444;
    font-size: 12px;
    font-weight: 700;
}

    .gh-custom-title i {
        color: #dba128;
        font-size: 14px;
    }

.gh-custom-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gh-custom-input {
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 13px;
}

    .gh-custom-input:focus {
        outline: none;
        border-color: #fcca03;
    }

    .gh-custom-input.is-invalid {
        border-color: #d9534f;
    }

.gh-custom-input-name {
    flex: 1 1 180px;
    min-width: 0;
}

.gh-custom-input-power {
    flex: 0 1 110px;
    min-width: 80px;
}

.gh-custom-input-unit {
    flex: 0 0 70px;
}

.gh-custom-add-btn {
    flex: 0 0 auto;
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: 4px;
    background: #1f839f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: 0.18s;
}

    .gh-custom-add-btn:hover {
        background: #186b82;
    }

.gh-custom-hint {
    margin-top: 8px;
    color: #888;
    font-size: 11px;
}

.gh-custom-error {
    display: none;
    margin-top: 6px;
    color: #d9534f;
    font-size: 12px;
    font-weight: 600;
}

    .gh-custom-error.show {
        display: block;
    }

@media (max-width: 540px) {
    .gh-custom-input-name {
        flex-basis: 100%;
    }

    .gh-custom-input-power {
        flex: 1 1 auto;
    }

    .gh-custom-add-btn {
        flex: 1 1 100%;
    }
}

/* Kullanıcının eklediği cihaz kartı */
.product-card.gh-custom-card {
    flex-direction: column;
    gap: 2px;
    border: 1px dashed #1f839f;
}

.product-card .gh-card-power {
    font-size: 10px;
    font-weight: 400;
    color: #777;
}

.product-card .gh-custom-remove {
    position: absolute;
    top: 2px;
    left: 4px;
    width: 16px;
    height: 16px;
    line-height: 15px;
    border-radius: 50%;
    background: transparent;
    color: #555;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
}

    .product-card .gh-custom-remove:hover {
        background: #d9534f;
        color: #fff;
    }

/* ── Toplam güç / uygun jeneratörler ── */
.gh-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.total-power-card {
    margin-top: 15px;
    background: #fcca03;
    color: #555;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: bold;
    width: fit-content;
    font-size: 14px;
}

.gh-actions .total-power-card {
    margin-top: 0;
}

a.total-power-card {
    color: #555 !important;
    text-decoration: none !important;
    cursor: pointer;
}

    a.total-power-card:hover {
        background: #e5b800 !important;
        color: #333 !important;
        text-decoration: none !important;
    }

/* Toplam güç 0'dan büyük olunca JS "is-visible" ekler */
.gh-recommend-btn {
    display: none;
}

    .gh-recommend-btn.is-visible {
        display: inline-block;
    }

/* ── Bilgilendirme notu ── */
.gh-power-note {
    margin-top: 35px;
    padding: 17px 0 0;
    border-top: 1px solid #e9e9e9;
    text-align: left;
}

.gh-power-note-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    color: #444;
    font-size: 13px;
    font-weight: 700;
}

    .gh-power-note-title i {
        color: #dba128;
        font-size: 15px;
    }

.gh-power-note p {
    margin: 0;
    color: #777;
    font-size: 12px;
    line-height: 1.8;
}

/* =====================================================================
   Jeneratör kategori kartları (_GeneratorCategoriesPartial)
   ===================================================================== */
.custom-bg-section {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

    .custom-bg-section::before {
        display: none;
    }

/* 3 parçalı arka plan */
.bg-split-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 0;
}

    .bg-split-wrapper .bg-segment {
        flex: 1;
        background-size: cover;
        background-position: center;
        transition: none !important;
    }

        .bg-split-wrapper .bg-segment:nth-child(1) {
            background-image: url('/images/dizel-jenerator-bos-arkaplan.jpg');
        }

        .bg-split-wrapper .bg-segment:nth-child(2) {
            background-image: url('/images/portatif-benzinli-jenerator-bos-arkaplan.jpg');
        }

        .bg-split-wrapper .bg-segment:nth-child(3) {
            background-image: url('/images/portatif-dizel-jenerator-bos-arka.jpg');
        }

    /* Tema hover'da arka plana blur uyguluyor; burada istenmiyor */
    .bg-split-wrapper .bg-segment,
    .custom-bg-section .bg-segment,
    .custom-bg-section:hover .bg-segment,
    .gen-card:hover ~ .bg-split-wrapper .bg-segment {
        filter: none !important;
        -webkit-filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

.custom-bg-section > .bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    filter: none !important;
    backdrop-filter: none !important;
}

/* Container tam genişlikte */
.custom-bg-section > .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

    .custom-bg-section > .container > .row {
        margin: 0;
        display: flex;
    }

        .custom-bg-section > .container > .row > [class*="col-"] {
            padding: 0;
            float: none;
            flex: 1;
        }

/* ── Kart ── */
.gen-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 420px;
    padding: 30px 20px 35px;
    cursor: pointer;
    filter: none !important;
    backdrop-filter: none !important;
}

    .gen-card:hover {
        filter: none !important;
        backdrop-filter: none !important;
    }

    /* Ürün görseli ortada; hover'da yukarı kayar */
    .gen-card > img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.55);
        filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4)) !important;
        transition: top 0.4s ease, transform 0.4s ease;
        z-index: 2;
    }

    .gen-card:hover > img {
        top: 22%;
        transform: translate(-50%, -50%) scale(0.55);
    }

/* Açılır bilgi kutusu */
.gen-card-body {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 85%;
    max-width: 300px;
    padding: 20px 18px;
    background: #000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
    z-index: 3;
}

.gen-card:hover .gen-card-body {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dizel jeneratör görseli diğerlerinden büyük olduğu için küçültülür */
.gen-card-small:hover > img {
    top: 35%;
    transform: translate(-50%, -50%) scale(0.45) !important;
}

@media (max-width: 767px) {
    .gen-card-small > img {
        transform: translate(-50%, -50%) scale(0.70) !important;
    }

    .gen-card-small:hover > img {
        transform: translate(-50%, -50%) scale(0.55) !important;
    }
}

.gen-card-title {
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 8px;
    text-shadow: none !important;
    background: transparent !important;
}

.gen-card-divider {
    width: 35px;
    height: 2px;
    background: #feb324 !important;
    border: none;
    margin: 0 auto 10px;
}

.gen-card-desc {
    color: #ccc !important;
    font-size: 11px;
    line-height: 1.55;
    margin: 0 0 14px;
    text-shadow: none !important;
    background: transparent !important;
}

.gen-card-btn {
    display: inline-block;
    background: #feb324 !important;
    color: #000 !important;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 9px 20px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.25s, transform 0.25s;
}

    .gen-card-btn:hover {
        background: #ffd454 !important;
        transform: translateY(-2px);
        color: #000 !important;
        text-decoration: none !important;
    }

/* Tablet */
@media (max-width: 991px) {
    .custom-bg-section {
        padding: 0;
    }

        .custom-bg-section > .container,
        .custom-bg-section > .container > .row {
            height: 100%;
        }

    .bg-split-wrapper {
        position: relative;
        flex-direction: column;
        height: auto;
    }

        .bg-split-wrapper .bg-segment {
            flex: none;
            height: 450px;
            background-size: cover;
            background-position: center;
        }

    .custom-bg-section > .container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
    }

        .custom-bg-section > .container > .row {
            flex-direction: column;
            height: 100%;
        }

            .custom-bg-section > .container > .row > [class*="col-"] {
                width: 100% !important;
                max-width: 100% !important;
                flex: none;
                height: 450px;
                padding: 0 !important;
                margin: 0 !important;
            }

    .gen-card {
        min-height: 450px;
        height: 450px;
    }

        .gen-card > img {
            transform: translate(-50%, -50%) scale(0.7);
        }

        .gen-card:hover > img {
            top: 20%;
            transform: translate(-50%, -50%) scale(0.7);
        }
}

/* Mobil */
@media (max-width: 767px) {
    .bg-split-wrapper .bg-segment {
        height: 420px;
    }

    .custom-bg-section > .container > .row > [class*="col-"] {
        height: 420px;
    }

    .gen-card {
        min-height: 420px;
        height: 420px;
        padding: 20px 15px;
    }

        .gen-card > img {
            transform: translate(-50%, -50%) scale(1);
        }

        .gen-card:hover > img {
            top: 18%;
            transform: translate(-50%, -50%) scale(0.75);
        }

    .gen-card-body {
        width: 90%;
        max-width: none;
        padding: 18px 16px;
        bottom: 15px;
    }

    .gen-card-title {
        font-size: 13px;
    }

    .gen-card-desc {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .gen-card-btn {
        font-size: 10px;
        padding: 8px 18px;
    }
}

/* Küçük mobil */
@media (max-width: 480px) {
    .bg-split-wrapper .bg-segment {
        height: 400px;
    }

    .custom-bg-section > .container > .row > [class*="col-"] {
        height: 400px;
    }

    .gen-card {
        min-height: 400px;
        height: 400px;
    }

        .gen-card > img {
            transform: translate(-50%, -50%) scale(0.9);
        }

        .gen-card:hover > img {
            top: 15%;
            transform: translate(-50%, -50%) scale(0.65);
        }
}

/* =====================================================================
   Tamamlanan projeler (_CompletedProjectsPartial)
   ===================================================================== */
.projects-intro {
    color: #e5e5e5;
}

/* Karuseldeki küçük görseller */
.projects-carousel .item-media {
    width: 100%;
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 6px;
}

    .projects-carousel .item-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.3s ease;
    }

    .projects-carousel .item-media:hover img {
        transform: scale(1.05);
    }

/* Sağdaki büyük görsel alanı */
.projects-content {
    position: relative;
    width: 100%;
}

    .projects-content .tab-pane,
    .projects-content .vertical-item,
    .projects-content article {
        width: 100%;
    }

    .projects-content .item-media {
        width: 100%;
        height: 450px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border-radius: 8px;
        position: relative;
    }

        .projects-content .item-media img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            display: block;
            margin: 0 auto;
        }

        .projects-content .item-media a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
        }

    .projects-content .item-content {
        padding: 20px 0;
    }

    .projects-content .item-meta .project-title {
        display: block;
        font-size: 18px;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .projects-content .item-meta p {
        color: #ccc;
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
    }

    .projects-content .media-links {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,0.4);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .projects-content .item-media:hover .media-links {
        opacity: 1;
    }

@media (max-width: 991px) {
    .projects-content .item-media {
        height: 380px;
    }
}

@media (max-width: 767px) {
    .projects-carousel .item-media {
        height: 100px;
    }

    .projects-content .item-media {
        height: 300px;
    }

        .projects-content .item-meta .project-title {
            font-size: 16px;
        }

        .projects-content .item-meta p {
            font-size: 13px;
        }
}

@media (max-width: 480px) {
    .projects-carousel .item-media {
        height: 80px;
    }

    .projects-content .item-media {
        height: 250px;
    }
}

/* =====================================================================
   Motor teknolojileri (_EngineTechnologiesPartial)
   ===================================================================== */
.engine-technologies {
    padding-bottom: 70px;
}

/* Sol hizalı başlık bloğu */
.ms-header-row {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 8px;
}

.ms-header-left {
    flex-shrink: 0;
}

.ms-header-right {
    flex: 1;
    padding-top: 6px;
}

@media (max-width: 991px) {
    .ms-header-row {
        display: block;
    }

    .ms-header-left,
    .ms-header-right {
        width: 100%;
        padding-top: 0;
    }
}

/* ── Motor kartı ── */
.ms-motor-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 36px;
    padding: 18px 16px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
    background: #fff;
    cursor: default;
}

    .ms-motor-card:hover {
        border-color: #f0a500;
        box-shadow: 0 4px 18px rgba(240,165,0,0.10);
        transform: translateY(-2px);
    }

    .ms-motor-card .ms-logo-wrap {
        flex-shrink: 0;
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        padding: 6px;
        box-sizing: border-box;
    }

        .ms-motor-card .ms-logo-wrap img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

    .ms-motor-card .ms-card-body h5 {
        font-size: 12px;
        font-weight: 700;
        color: #1a2b3c;
        margin: 0 0 5px;
        letter-spacing: 0.07em;
    }

    .ms-motor-card .ms-card-body p {
        font-size: 13px;
        line-height: 1.6;
        color: #888;
        margin: 0;
    }

    .ms-motor-card .ms-card-body a.read-more {
        display: inline-block;
        margin-top: 8px;
        font-size: 11px;
        font-weight: 700;
        color: #f0a500;
        text-decoration: none;
        letter-spacing: 0.06em;
        border-bottom: 1px solid transparent;
        transition: border-color 0.2s;
    }

        .ms-motor-card .ms-card-body a.read-more:hover {
            border-bottom-color: #f0a500;
        }

.read-more {
    font-size: 12px;
    cursor: pointer;
}

/* ── Güven satırı ── */
.ms-trust-bar {
    text-align: center;
    margin-top: 48px;
}

    .ms-trust-bar p span {
        color: #f0a500;
        margin: 0 8px;
    }

/* ── Detay penceresi ── */
.motor-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

    .motor-modal.active {
        display: block;
    }

.motor-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.motor-modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 700px;
    margin: 80px auto;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    z-index: 2;
    animation: modalFade .25s ease;
}

    .motor-modal-content h3 {
        margin-top: 0;
        margin-bottom: 16px;
        font-size: 28px;
        font-weight: 700;
        color: #111;
    }

    .motor-modal-content p {
        margin: 0;
        font-size: 16px;
        line-height: 1.8;
        color: #555;
    }

.motor-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #222;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================================
   Hizmetler (_ServicesPartial)
   ===================================================================== */
.home-services {
    padding-bottom: 0;
}

/* Float kolonlar farklı yükseklikte olunca (ör. EN'de iki satırlık başlık) alt satır kayıyordu;
   flex ile her satırdaki kutular eşit yükseklikte dizilir */
.service-teasers-row {
    display: flex;
    flex-wrap: wrap;
}

    .service-teasers-row::before,
    .service-teasers-row::after {
        display: none;
    }

    .service-teasers-row > [class*="col-"] {
        display: flex;
        float: none;
    }

        .service-teasers-row > [class*="col-"] > .service-teaser {
            width: 100%;
        }

.services-help {
    border-top: 1px solid #aaa;
    padding-top: 28px;
    padding-bottom: 10px;
    margin-top: 30px;
}

.services-help-inner {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.services-help-text {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
    color: #e5e5e5;
    letter-spacing: 1px;
}

.services-help-btn {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =====================================================================
   Basında Biz karuseli (Components/HomeNews/Press + PressBox/Gallery)
   ===================================================================== */
.home-press {
    background-color: #1f839f !important;
}

    .home-press .cornered-heading h2 {
        color: #ffffff !important;
    }

.media-gallery-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

    .media-gallery-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }

.media-gallery-card .item-title {
    color: #ffffff;
}

.media-gallery-card p {
    color: #e5e5e5;
}

/* =====================================================================
   Tanıtım filmi (_PromoVideoPartial)
   ===================================================================== */
.rs-promo {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-promo-heading {
    width: 100% !important;
    margin-bottom: 30px;
    text-align: center;
}

.rs-promo-title {
    display: inline-block;
    width: auto !important;
    max-width: none !important;
    margin: 0;
    white-space: nowrap !important;
    word-break: keep-all !important;
}

.rs-promo-button-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rs-promo-ring {
    position: absolute;
    border: 1.5px solid rgba(254, 179, 36, 0.35);
    border-radius: 50%;
    animation: rsPromoRing 2.4s ease-out infinite;
    pointer-events: none;
}

    .rs-promo-ring:nth-child(1) {
        width: 90px;
        height: 90px;
    }

    .rs-promo-ring:nth-child(2) {
        width: 124px;
        height: 124px;
        animation-delay: .7s;
    }

    .rs-promo-ring:nth-child(3) {
        width: 158px;
        height: 158px;
        animation-delay: 1.4s;
    }

.rs-promo-play {
    position: relative;
    z-index: 2;
    width: 68px;
    height: 68px;
    padding: 0 0 0 4px;
    border: 0;
    border-radius: 50%;
    background: #feb324;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: .2s;
}

    .rs-promo-play:hover {
        background: #e7a00f;
        transform: scale(1.08);
    }

.rs-promo-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(0, 0, 0, .9);
}

    .rs-promo-modal.open {
        display: flex;
    }

.rs-promo-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
}

.rs-promo-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    border-radius: 6px;
}

    .rs-promo-player iframe,
    .rs-promo-player video {
        width: 100%;
        height: 100%;
        border: 0;
        object-fit: contain;
    }

.rs-promo-close {
    position: absolute;
    top: -32px;
    right: -44px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .rs-promo > div {
        max-width: 100%;
    }

    .rs-promo-heading {
        width: calc(100% - 44px) !important;
    }

    .rs-promo-title {
        max-width: 100% !important;
        white-space: normal !important;
    }
}

@media (max-width: 480px) {
    .rs-promo-title {
        font-size: 34px !important;
    }
}

@keyframes rsPromoRing {
    0% {
        opacity: .8;
        transform: scale(.7);
    }

    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

/* =====================================================================
   Belgeler (_CertificatesPartial)
   ---------------------------------------------------------------------
   Tema belge görsellerini .partner1...7 sınıflarıyla arka plan olarak
   basıp <img>'i gizliyordu (aynı görsel iki kez tanımlıydı). Artık
   görsel doğrudan <img> ile gösteriliyor.
   ===================================================================== */
.partners-carousel .partner-image img.certificate-image {
    visibility: visible;
    width: 150px;
    height: 150px;
    object-fit: cover;
}
