/* (2026-10-01) Montserrat yüklemesi kaldırıldı: hero artık sitenin kendi yazı tipini kullanıyor */

/* Kaynak: temalar/efsaneweb/anasayfa.php — otomatik ayıklandı */

.dual-banner-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 700px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    overflow: hidden;
}

.banner-item {
    position: relative;
    overflow: hidden;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Resimlerin üzerine hafif zoom efekti (opsiyonel, şıklık katar) */
.banner-item:hover img {
    transform: scale(1.03);
}

/* Yazıların okunması için alt kısma hafif siyah geçiş */
.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%; /* Sadece alt yarıda etkili */
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.content-box {
    position: absolute;
    bottom: 60px;
    left: 60px;
    right: 60px;
    color: #ffffff; /* Yazılar beyaz */
    z-index: 2;
}

.content-box h3 {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1;
    letter-spacing: -1px;
    text-transform: none;
    /* Okunurluk için hafif gölge */
    color:white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.content-box p {
    font-size: 18px;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .dual-banner-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    .banner-item {
        height: 500px;
    }
    .content-box {
        bottom: 40px;
        left: 30px;
        right: 30px;
    }
    .content-box h3 {
        font-size: 36px;
    }
}

    /* Masaüstü Ayarları */
    .order-steps-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 25px;
        margin-bottom: 50px;
        justify-content: center;
    }

    .step-card {
        flex: 1;
        min-width: 250px; /* Kartların çok daralmasını önler */
        text-align: center;
        padding: 40px 25px;
        background: #f8f9fa;
        border-radius: 12px;
        border: 2px solid #e9ecef;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }

    .step-card:hover {
        border-color: #6c757d;
        transform: translateY(-5px);
    }

    .step-number {
        width: 60px;
        height: 60px;
        background: #fff;
        border: 2px solid #dee2e6;
        border-radius: 50%;
        margin: 0 auto 25px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* MOBİL AYAR (768px altı cihazlar için) */
    @media only screen and (max-width: 767px) {
        .order-steps-wrapper {
            display: block !important; /* Grid/Flex yapısını iptal eder */
        }
        
        .step-card {
            width: 100% !important;
            display: block !important;
            margin-bottom: 20px; /* Kartlar arasına boşluk */
            min-width: unset !important;
        }
    }

    /* Slider Wrapper: Taşan kısımları gizler */
    .dealer-slider-wrapper {
        overflow: hidden;
        position: relative;
        padding: 10px 0;
        /* Yanlardan yumuşak geçiş efekti */
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    /* Track: Elemanları yan yana dizer */
    .dealer-track {
        display: flex;
        gap: 24px;
        width: max-content;
    }

    /* Animasyonlar */
    .scroll-left {
        animation: scrollLeft 35s linear infinite;
    }
    .scroll-right {
        animation: scrollRight 38s linear infinite;
    }

    @keyframes scrollLeft {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
    
    @keyframes scrollRight {
        0% { transform: translateX(-50%); }
        100% { transform: translateX(0); }
    }

    /* Hover durumunda durdurma */
    .dealer-slider-wrapper:hover .dealer-track {
        animation-play-state: paused;
    }

    /* Kart Tasarımı */
    .dealer-card {
        background: #fff;
        border: 1px solid #eef0f3;
        border-radius: 12px;
        padding: 20px 25px;
        min-width: 280px; /* Sabit genişlik kartların düzenli durmasını sağlar */
        display: flex;
        align-items: center;
        gap: 15px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: default;
    }

    .dealer-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
        border-color: #dbe0e6;
    }

    /* İkon Tasarımı */
    .card-icon {
        background: #f1f5f9;
        color: #2c3e50;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .dealer-card:hover .card-icon {
        background: #2c3e50;
        color: #fff;
    }

    /* Yazı Alanları */
    .card-info h4 {
        margin: 0 0 4px 0;
        font-size: 16px;
        font-weight: 700;
        color: #1e293b;
        white-space: nowrap;
    }

    .card-info p {
        margin: 0;
        font-size: 14px;
        color: #64748b;
        font-weight: 500;
    }

    /* Buton Tasarımı */
    .dealer-btn {
        display: inline-flex;
        align-items: center;
        padding: 14px 32px;
        background-color: #2c3e50;
        color: #ffffff;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        font-size: 15px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(44, 62, 80, 0.2);
    }

    .dealer-btn:hover {
        background-color: #1a252f;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(44, 62, 80, 0.3);
        color: #fff;
    }

    /* Mobil Düzenleme */
    @media (max-width: 768px) {
        .dealer-card {
            min-width: 240px;
            padding: 15px 20px;
        }
        
        .card-info h4 {
            font-size: 15px;
        }
    }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
        }
    

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 48px !important;
    }
    h2 {
        font-size: 40px !important;
    }
    
    /* Grid'leri tek sütun yap */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    [style*="order: 1"],
    [style*="order: 2"] {
        order: 0 !important;
    }
}

/* ============================================================================================
   SLIDER — 2026-10-02: video hero'nun yerine. Kaydırma scroll-snap ile (parmakla doğal kayar), oklar/noktalar anasayfa.php'deki betikte.
   Çerçevenin oranı ilk slaytın görselinden gelir (--oran / --oran-m), böylece sayfa yüklenirken zıplama olmaz.
   ============================================================================================ */
.auk-gizli-baslik { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.auk-slider { padding: 18px 0 8px; }
.auk-slider-cerceve { position: relative; overflow: hidden; aspect-ratio: var(--oran, 5 / 2); background: #f2f2f2; border-radius: 16px; }
.auk-slider-serit { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.auk-slider-serit::-webkit-scrollbar { display: none; }
.auk-slider-oge { display: block; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.auk-slider-oge picture { display: block; width: 100%; height: 100%; }
.auk-slider-oge img { display: block; width: 100%; height: 100%; object-fit: cover; }
.auk-slider-ok { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; color: #111111; cursor: pointer; background: rgba(255, 255, 255, .92); border: 0; border-radius: 50%; box-shadow: 0 2px 12px rgba(0, 0, 0, .16); opacity: 0; transform: translateY(-50%); transition: opacity .2s ease, background-color .2s ease; }
.auk-slider-cerceve:hover .auk-slider-ok, .auk-slider-ok:focus-visible { opacity: 1; }
.auk-slider-ok:hover { color: #ffffff; background: #E43131; }
.auk-slider-ok--geri { left: 14px; }
.auk-slider-ok--ileri { right: 14px; }
.auk-slider-noktalar { position: absolute; right: 0; bottom: 14px; left: 0; z-index: 2; display: flex; gap: 7px; justify-content: center; pointer-events: none; }
.auk-slider-noktalar button { width: 8px; height: 8px; padding: 0; pointer-events: auto; cursor: pointer; background: rgba(255, 255, 255, .65); border: 0; border-radius: 999px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); transition: width .25s ease, background-color .25s ease; }
.auk-slider-noktalar button.aktif { width: 24px; background: #ffffff; }
@media (max-width: 640px) {
    .auk-slider { padding: 10px 0 2px; }
    .auk-slider-cerceve { aspect-ratio: var(--oran-m, var(--oran, 5 / 2)); border-radius: 12px; }
    .auk-slider-ok { display: none; }
    .auk-slider-noktalar { bottom: 10px; }
}

/* (2026-10-04) İkili tanıtım kutusu görseli sunucuda yoksa: koyu zemin üstünde yalnızca yazı (kırık görsel simgesi çıkmaz) */
.banner-item--gorselsiz { min-height: 260px; background: linear-gradient(135deg, #0a0a0a 0%, #2a2a2a 100%); }
.dual-banner-container:has(.banner-item--gorselsiz) { height: 340px; }   /* görsel yokken 700px'lik boş koyu alan olmasın */
