/* =========================================
   INDEX.CSS - ANA SAYFA FİNAL (DÜZELTİLMİŞ)
   ========================================= */

/* --- 1. KESİN FONT VE RENK ZORLAMASI --- */
body, section, div, h1, h2, h3, h4, h5, h6, p, span, a, li, i, button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

:root {
    --primary-color: #d31212;
    --text-dark: #555555;
    --text-light: #7a7a7a;
}

/* --- 2. STANDART BOŞLUK AYARI --- */
section {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* =========================================
   3. GİRİŞ BÖLÜMÜ (Slider Altı - Hero)
   [MOBİLDE ORTALI, MASAÜSTÜNDE YAN YANA]
   ========================================= */

/* --- A) MOBİL İÇİN VARSAYILAN AYARLAR (ORTALI) --- */
section:first-of-type .row.align-items-center {
    justify-content: center;
    text-align: center; /* Mobilde her şeyi ortala */
}

section:first-of-type .col-lg-6.pe-lg-5 {
    padding-right: 0;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

/* Başlıklar */
.hero-main-title {
    color: #555555 !important;
    font-weight: 700 !important;
    text-transform: uppercase; 
    font-size: 1.8rem !important; /* Mobilde biraz küçük */
    line-height: 1.2;
    margin-bottom: 15px !important;
}

.hero-sub-title {
    color: #d31212 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    margin-bottom: 1.5rem !important;
}

.hero-desc {
    color: #7a7a7a !important;
    font-size: 1rem !important; 
    line-height: 1.6;
    margin-bottom: 2rem !important;
    margin-left: auto; 
    margin-right: auto;
}

.btn-outline-custom {
    color: #555555;
    border: 2px solid #555555;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 35px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
}

.btn-outline-custom:hover {
    background-color: #d31212;
    border-color: #d31212;
    color: #fff;
}

section:first-of-type img.img-fluid {
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- B) MASAÜSTÜ İÇİN ÖZEL AYARLAR (YAN YANA & SOLA YASLI) --- */
/* 992px ve üzeri ekranlarda bu kodlar çalışır */
@media (min-width: 992px) {
    
    /* Satırı tekrar sola yasla */
    section:first-of-type .row.align-items-center {
        text-align: left !important;
        justify-content: flex-start !important;
    }

    /* Sol Kolon (Yazı Kısmı) */
    section:first-of-type .col-lg-6.pe-lg-5 {
        padding-right: 3rem !important; /* Resimle arayı aç */
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }

    /* Başlık Boyutlarını Büyüt ve Sola Al */
    .hero-main-title {
        font-size: 2.5rem !important; /* Masaüstünde büyük */
        text-align: left !important;
    }

    .hero-sub-title {
        font-size: 1.3rem !important;
        text-align: left !important;
    }

    /* Açıklama Yazısını Sola Al */
    .hero-desc {
        font-size: 1.05rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
        max-width: 90%; /* Satır çok uzamasın */
    }
    
    /* Resmi biraz yukarı alalım */
    section:first-of-type img.img-fluid {
        margin-top: 0;
    }
}


/* =========================================
   4. HİZMETLER BÖLÜMÜ (NELER YAPIYORUZ)
   ========================================= */
.bg-light {
    background-color: #fcfcfc !important;
}

.section-header { 
    margin-bottom: 60px;
    text-align: center; 
    position: relative;
    z-index: 10;
}

.section-header .sub-title { 
    display: inline-block !important;
    color: #555555 !important; 
    font-weight: 700 !important; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 1.8rem !important;
    margin-bottom: 10px; 
    opacity: 1 !important;
    visibility: visible !important;
}

.section-header h2 { 
    font-size: 2.2rem; 
    color: #555555 !important; 
    font-weight: 800 !important;
    text-transform: uppercase;
}

/* Hizmet Kutuları */
.service-box {
    background: #fff; 
    padding: 40px 30px; 
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
    border: 1px solid #eee; 
    transition: all 0.3s ease;
    height: 100%; 
    border-bottom: 3px solid transparent; 
}

.service-box:hover {
    transform: translateY(-8px);
    border-color: #d31212; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.icon-circle {
    width: 70px; height: 70px; 
    background: rgba(211, 18, 18, 0.08); 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px; 
    color: #d31212; 
    font-size: 1.8rem; 
    transition: 0.3s;
    margin-left: auto; margin-right: auto;
}

.service-box:hover .icon-circle { 
    background: #d31212; color: #fff; 
}

.service-box h4 {
    color: #555555 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
}

.service-box p {
    color: #7a7a7a !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* =========================================
   5. NEDEN BİZ?
   ========================================= */
.why-us h2 { 
    color: #555555 !important; 
    font-weight: 700 !important; 
    text-transform: uppercase;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.why-us p.lead { 
    color: #7a7a7a !important;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.feature-item { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 30px; 
    background: #fff; 
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04); 
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #d31212;
}

.feature-icon { 
    min-width: 55px; height: 55px; 
    background: #d31212; 
    border-radius: 10px; 
    display: flex; align-items: center; justify-content: center; 
    margin-right: 20px; 
    font-size: 1.3rem; 
    color: #fff; 
}

.feature-item h5 { 
    color: #555555 !important; 
    margin-bottom: 8px; 
    font-weight: 700; 
    text-transform: uppercase;
    font-size: 1rem;
}

.feature-item p { 
    color: #7a7a7a !important; 
    font-size: 0.9rem; 
    margin: 0; 
    line-height: 1.5; 
}

.btn-danger-custom {
    background-color: #d31212;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 14px 35px;
    border-radius: 4px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-danger-custom:hover {
    background-color: #b30000;
    transform: translateY(-2px);
    color: #fff;
}