/* ============================================================
   KESİN ÇÖZÜM: TAM EKRAN VE TAM SIĞAN RESİMLER
   ============================================================ */

/* 1. MASAÜSTÜ GENİŞLETME */
@media (min-width: 1024px) {
    .container, .wrapper, #main-content, .ege-galeri-wrapper {
        max-width: 1400px !important; 
        width: 95% !important;
        margin: 0 auto !important;
    }
}

/* 2. GALERİ VE RESİM TAM SIĞDIRMA */
.ege-galeri-wrapper {
    width: 100% !important;
    overflow: hidden !important;
    padding: 40px 0 !important;
    background: #ffffff !important;
}

.ege-galeri-track {
    display: flex !important;
    align-items: stretch !important; /* Tüm kutuları aynı boya zorlar */
    animation: cokDahaYavasKay 150s linear infinite;
}

.ege-slide {
    width: 400px !important; 
    height: 300px !important; /* Kutu yüksekliği sabit */
    margin: 0 10px !important;
    flex-shrink: 0 !important;
    border-radius: 12px;
    overflow: hidden !important; /* Resmin dışarı taşmasını engeller */
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* RESİMLERİ KUTUYA HAPSEDEN KRİTİK KOD */
.ege-slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important; /* BU DEĞER RESMİ AŞAĞIYA ÇEKER */
    min-height: 100% !important; /* Bazı temalardaki 'auto' engelini kırar */
    max-height: 100% !important; 
    object-fit: cover !important; /* Resmi kutuya boşluksuz yayar */
    object-position: center !important;
}

@keyframes cokDahaYavasKay {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-420px * 15)); }
}

/* 3. MOBİL DÜZELTME VE KAYMA DURMAMASI */
@media (max-width: 768px) {
    .ege-slide {
        width: 85vw !important; 
        height: 250px !important;
        margin: 0 8px !important;
    }
    .ege-galeri-track {
        width: calc((85vw + 16px) * 30) !important;
        animation: mobilKay 60s linear infinite !important;
    }
    @keyframes mobilKay {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc((-85vw - 16px) * 15)); }
    }
    /* Sabit İletişim Çubuğu Tasarımı */
    .sticky-contact-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        padding: 10px 15px 25px 15px; /* Alt boşluk mobil cihazların alt çubuğu için verildi */
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
        z-index: 9999; /* Her şeyin üstünde görünmesi için */
        display: flex;
        gap: 10px;
        justify-content: center;
        box-sizing: border-box;
    }

    .sticky-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 55px;
        border-radius: 12px;
        text-decoration: none;
        font-family: 'Segoe UI', sans-serif;
        font-weight: 800;
        font-size: 16px;
        color: #ffffff !important;
        transition: transform 0.2s ease;
        border: none;
    }

    /* Hemen Ara - Kırmızı */
    .sticky-btn-call {
        background: #e30613;
    }

    /* WhatsApp - Yeşil */
    .sticky-btn-whatsapp {
        background: #25D366;
    }

    /* İkon Ayarları */
    .sticky-btn svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

    /* Tıklama Hissi */
    .sticky-btn:active {
        transform: scale(0.96);
    }

    /* Masaüstünde çok geniş durmaması için sınırlama */
    @media (min-width: 768px) {
        .sticky-contact-bar {
            max-width: 450px;
            left: 50%;
            transform: translateX(-50%);
            bottom: 20px;
            border-radius: 20px;
            padding: 10px;
        }
    }
}/* Tasarımın çalışması için gerekli tüm CSS buradadır */
    .insta-visit-section {
        padding: 60px 0;
        background: #ffffff;
        overflow: hidden;
        font-family: sans-serif;
    }
    .insta-visit-container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 20px;
        text-align: center;
    }
    .insta-visual-stack {
        position: relative;
        height: 420px;
        margin-bottom: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .insta-phone-card {
        position: absolute;
        width: 220px;
        height: 380px;
        border-radius: 25px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        border: 5px solid #fff;
        background: #eee;
    }
    .insta-phone-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .card-left { transform: translateX(-150px) rotate(-10deg) scale(0.85); z-index: 1; }
    .card-right { transform: translateX(150px) rotate(10deg) scale(0.85); z-index: 1; }
    .card-main { z-index: 2; transform: scale(1.05); border-color: #f0f0f0; }

    .insta-story-overlay {
        position: absolute;
        top: 15%;
        left: 10%;
        background: white;
        padding: 5px 12px;
        border-radius: 15px;
        font-size: 18px;
        z-index: 3;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .insta-title {
        font-size: 12px;
        letter-spacing: 2px;
        color: #888;
        margin-bottom: 20px;
        text-transform: uppercase;
    }
    .insta-visit-btn {
        display: inline-block;
        background: linear-gradient(45deg, #f09433, #e30613, #bc1888);
        color: white !important;
        padding: 15px 35px;
        border-radius: 50px;
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
        box-shadow: 0 8px 20px rgba(227, 6, 19, 0.3);
    }
    /* Mobil Düzenleme */
    @media (max-width: 768px) {
        .insta-visual-stack { height: 320px; }
        .insta-phone-card { width: 160px; height: 280px; }
        .card-left { transform: translateX(-80px) rotate(-10deg) scale(0.8); }
        .card-right { transform: translateX(80px) rotate(10deg) scale(0.8); }
        .insta-visit-btn { width: 85%; font-size: 16px; }
    }
    
    /* Sabit İletişim Çubuğu Tasarımı */
    .sticky-contact-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        padding: 10px 15px 25px 15px; /* Alt boşluk mobil cihazların alt çubuğu için verildi */
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
        z-index: 9999; /* Her şeyin üstünde görünmesi için */
        display: flex;
        gap: 10px;
        justify-content: center;
        box-sizing: border-box;
    }

    .sticky-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 55px;
        border-radius: 12px;
        text-decoration: none;
        font-family: 'Segoe UI', sans-serif;
        font-weight: 800;
        font-size: 16px;
        color: #ffffff !important;
        transition: transform 0.2s ease;
        border: none;
    }

    /* Hemen Ara - Kırmızı */
    .sticky-btn-call {
        background: #e30613;
    }

    /* WhatsApp - Yeşil */
    .sticky-btn-whatsapp {
        background: #25D366;
    }

    /* İkon Ayarları */
    .sticky-btn svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

    /* Tıklama Hissi */
    .sticky-btn:active {
        transform: scale(0.96);
    }

    /* Masaüstünde çok geniş durmaması için sınırlama */
    @media (min-width: 768px) {
        .sticky-contact-bar {
            max-width: 450px;
            left: 50%;
            transform: translateX(-50%);
            bottom: 20px;
            border-radius: 20px;
            padding: 10px;
        }
    }