/* =========================================
   ANA SAYFA (index.html) ÖZEL STİLLERİ
========================================= */

/* --- SLIDER MASAÜSTÜ STİLLERİ --- */
.slider-section {
    position: relative;
    width: 100%;
    height: 700px; 
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center center;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px 40px;
    border-left: 5px solid var(--yesil);
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slide-content h2 {
    color: var(--koyu-mavi);
    font-size: 36px;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 16px;
    color: #444;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 119, 182, 0.8);
    color: var(--beyaz);
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    transition: background-color 0.3s;
    border-radius: 5px;
    z-index: 10;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--yesil);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* --- NEDEN BİZ? KARTLARI --- */
.features-section {
    padding: 60px 12%;
    background-color: var(--beyaz);
    margin-top: -50px; 
    position: relative;
    z-index: 10;
}

.features-container {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--beyaz);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    border-bottom: 4px solid var(--mavi);
    transition: transform 0.4s ease, border-bottom-color 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--yesil);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background-color: var(--acik-gri);
    border-radius: 50%;
    color: var(--mavi);
}

.feature-card h3 {
    color: var(--koyu-mavi);
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* --- INOVANCE & MARKALAR YAN YANA --- */
.integrated-services-section {
    padding: 80px 12%;
    background-color: var(--acik-gri);
}

.integrated-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
    flex-wrap: wrap;
}

.inovance-side {
    flex: 1;
    min-width: 350px;
    background: linear-gradient(145deg, #ffffff 0%, #f4f9fb 100%);
    padding: 50px 45px; 
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.1);
    border-top: 5px solid var(--yesil);
    
    /* EN ÖNEMLİ KISIM: Dev boşluğu siler, içeriği kutunun tam ortasında toplar */
    display: flex;
    flex-direction: column;
    justify-content: center; 
    position: relative;
}

.inovance-badge {
    position: absolute;
    top: -16px; 
    right: 30px;
    background-color: var(--yesil);
    color: var(--beyaz);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 15px; /* Rozet büyüdü */
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(32, 201, 151, 0.3);
}

.section-title {
    color: var(--koyu-mavi);
    font-size: 34px; /* BAŞLIK DEV GİBİ OLDU */
    margin-bottom: 25px;
    font-weight: 900;
}

.inovance-desc {
    color: #333;
    line-height: 1.8;
    font-size: 18px; /* YAZILAR BÜYÜTÜLDÜ VE ÇOK DAHA OKUNAKLI OLDU */
    margin-bottom: 20px;
    text-align: justify;
}

/* O KÖTÜ DURAN ÇİZGİYİ ÖZEL BİR AYIRICI YAPTIK */
.inovance-divider {
    width: 100%;
    border-top: 2px dashed rgba(0, 119, 182, 0.3);
    margin: 20px 0 40px 0; /* Üstten ve alttan eşit, estetik bir boşluk bırakır */
}

.inovance-logo-box {
    text-align: center;
}

/* 200x200 LOGOYU ZORLA BÜYÜTÜP İHTİŞAMLI HALE GETİRİYORUZ */
.inovance-logo-box img {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply; 
    /* Bu kod resmi sınırlarının dışına taşırarak %60 büyütür, boşluğu harika doldurur! */
    transform: scale(1.6); 
}

.brands-side {
    flex: 1.5;
    min-width: 400px;
}

.brands-title {
    color: var(--koyu-mavi);
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.brands-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--mavi);
    border-radius: 2px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}

.brand-item {
    background-color: var(--beyaz);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: scale(1.05);
    border-color: var(--yesil);
    box-shadow: 0 8px 15px rgba(32, 201, 151, 0.15);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* =========================================
   MOBİL UYUM (ANA SAYFA ÖZEL)
========================================= */
@media (max-width: 900px) {
    
    .features-section {
        margin-top: 0; 
        padding: 40px 5%;
    }
    .brands-side {
        min-width: 100%;
    }
    .integrated-services-section {
        padding: 40px 5%;
    }

    /* MOBİLDE SLIDERIN YATAY DİKDÖRTGEN (BANNER) GİBİ GÖRÜNMESİ İÇİN KESİN AYAR */
    .slider-section {
        height: 220px !important; /* Slider boyunu iyice kısaltıp banner formuna soktuk */
    }

    /* Yazı kutusu resmin önüne geçmesin diye mobilde küçültüldü ve şeffaflaştı */
    .slide-content {
        width: 85%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        padding: 10px 15px;
        background-color: rgba(255, 255, 255, 0.7); /* Arkadaki resim net gözüksün diye daha şeffaf */
        text-align: center;
        border-left: none; /* Mobilde ortalı durduğu için solu sildik */
        border-bottom: 3px solid var(--yesil); /* Altına zarif çizgi çektik */
    }

    .slide-content h2 {
        font-size: 16px !important;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    .slide-content p {
        font-size: 12px !important;
        display: none; /* Telefondaki dar alanda resmi kapatmaması için p etiketini gizliyoruz, sadece başlık kalıyor */
    }

    /* Okları kibarlaştırıp ekranın kenarlarına yapıştırdık */
    .prev-btn, .next-btn {
        padding: 8px 12px;
        font-size: 14px;
        background-color: rgba(0, 119, 182, 0.5);
    }
    
    .prev-btn { left: 5px; }
    .next-btn { right: 5px; }
}