/*--------------------------------------------------------------
# BİL LOJİSTİK & YATIRIM - ANA STİL DOSYASI
#
# İÇİNDEKİLER
# 1. TEMEL VE KURUMSAL KİMLİK
# 2. HEADER ve NAVİGASYON
# 3. HERO (ANA SAYFA GİRİŞ)
# 4. ÇÖZÜM PLATFORMU (HOVER EFEKTLİ GRİD)
# 5. İÇERİK VE LİSTELEME (KURUMSAL SAYFASI)
# 6. COUNTER (SAYILAR) BÖLÜMÜ
# 7. MÜŞTERİ YORUMLARI (3'lü SLİDER)
# 8. HABER / ANALİZ BÖLÜMÜ
# 9. REFERANS LOGO BÖLÜMÜ
# 10. FOOTER (ALT BİLGİ)
# 11. ANİMASYON STİLLERİ (ÇAKIŞMA ÇÖZÜLDÜ)
# 12. İÇ SAYFA HERO (KURUMSAL, ÇÖZÜMLER, İLETİŞİM)
# 13. ÇÖZÜMLER SAYFASI SEKMELERİ
# 14. İLETİŞİM SAYFASI FORMU VE HARİTA
# 15. SABİT İKONLAR (WHATSAPP, TELEFON) (YENİ - MUTLAK POZİSYON)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# 1. TEMEL VE KURUMSAL KİMLİK
--------------------------------------------------------------*/
:root {
    --bil-primary: #0a2b4c;
    --bil-green: #198754;
    --bil-bg-light: #f8f9fa;
    --bil-text: #555;
    --bil-heading: #222;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--bil-text);
    background-color: #fff;
    line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--bil-heading);
}

/*--------------------------------------------------------------
# 2. HEADER ve NAVİGASYON
--------------------------------------------------------------*/
.header-space { height: 74px; }
.navbar { padding-top: 1rem; padding-bottom: 1rem; transition: padding 0.3s ease; }
.navbar-brand { font-size: 1.7rem; font-weight: 800; }
.navbar-nav .nav-link { font-weight: 600; color: #444; margin-left: 1rem; margin-right: 1rem; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--bil-primary); }
.btn-primary { background-color: var(--bil-primary); border-color: var(--bil-primary); font-weight: 600; transition: all 0.3s ease; }
.btn-primary:hover { background-color: #071f37; border-color: #071f37; transform: translateY(-2px); }




/* Yeni SVG Logo Ayarı */
.navbar-logo {
    height: 40px; /* Logoyu header yüksekliğine uygun şekilde sınırlar */
    width: auto;  /* Genişliği, yüksekliğe orantılı olarak otomatik ayarlar */
    transition: all 0.3s ease; /* Yumuşak geçiş efekti (opsiyonel) */
}

 

/*--------------------------------------------------------------
# 3. HERO (ANA SAYFA GİRİŞ)
--------------------------------------------------------------*/
.hero-section.with-bg {
    position: relative; padding: 140px 0; min-height: 80vh;
    background-image: url('../img/slideralani.webp');
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; align-items: center;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(10, 43, 76, 0.85), rgba(10, 43, 76, 0.7));
}
.hero-section.with-bg .container { position: relative; z-index: 2; }
.hero-title { line-height: 1.2; }
.hero-subtitle { font-size: 1.25rem; }
.text-white-75 { color: rgba(255, 255, 255, 0.75) !important; }

/*--------------------------------------------------------------
# 4. ÇÖZÜM PLATFORMU (HOVER EFEKTLİ GRİD)
--------------------------------------------------------------*/
.service-grid-section { background-color: var(--bil-bg-light); border-top: 1px solid #e9ecef; border-bottom: 1px solid #e9ecef; }
.section-subtitle { font-weight: 700; color: var(--bil-heading); border-bottom: 2px solid var(--bil-primary); padding-bottom: 10px; display: inline-block; margin-bottom: 2rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 992px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; text-decoration: none;
    transition: all 0.4s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    position: relative; overflow: hidden; min-height: 220px;
}
.service-card-front, .service-card-back {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 20px; transition: all 0.4s ease-in-out;
}
.service-card-front { opacity: 1; transform: translateY(0); }
.service-card-icon { font-size: 3rem; color: var(--bil-primary); margin-bottom: 15px; }
.service-card-title { font-weight: 700; font-size: 1.1rem; color: var(--bil-heading); }
.service-card-back { opacity: 0; transform: translateY(50px); color: #fff; }
.service-card-back p { font-size: 0.95rem; margin-bottom: 20px; }
.service-card:hover { background: var(--bil-primary); border-color: var(--bil-primary); transform: translateY(-8px); box-shadow: 0 10px 25px rgba(10, 43, 76, 0.1); }
.service-card.service-card-yatirim:hover { background: var(--bil-green); border-color: var(--bil-green); box-shadow: 0 10px 25px rgba(25, 135, 84, 0.1); }
.service-card-yatirim .service-card-icon { color: var(--bil-green); }
.service-card:hover .service-card-front { opacity: 0; transform: translateY(-50px); }
.service-card:hover .service-card-back { opacity: 1; transform: translateY(0); }

/*--------------------------------------------------------------
# 5. İÇERİK VE LİSTELEME (KURUMSAL SAYFASI)
--------------------------------------------------------------*/
.content-section { padding: 80px 0; }
.custom-list { padding-left: 0; list-style: none; }
.custom-list li { font-size: 1.1rem; padding-bottom: 15px; display: flex; align-items: center; }
.custom-list .bi-check-circle-fill { color: var(--bil-primary); font-size: 1.5rem; margin-right: 10px; }
.features-section .feature-item .feature-icon {
    width: 70px; height: 70px; margin: 0 auto 20px auto; border-radius: 50%;
    background-color: var(--bil-bg-light); color: var(--bil-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; transition: all 0.3s ease;
}
.features-section .feature-item:hover .feature-icon { background-color: var(--bil-primary); color: #fff; }

/*--------------------------------------------------------------
# 6. COUNTER (SAYILAR) BÖLÜMÜ
--------------------------------------------------------------*/
.counter-section { background: linear-gradient(90deg, #0a2b4c, #1a4a7c); padding: 60px 0; }
.counter-section h2 { color: #fff; font-weight: 700; }
.counter-section p { color: rgba(255, 255, 255, 0.7); font-size: 1.1rem; font-weight: 500; }

/*--------------------------------------------------------------
# 7. MÜŞTERİ YORUMLARI (3'lü SLİDER)
--------------------------------------------------------------*/
.testimonial-section { background-color: #fff; padding: 60px 0; }
.testimonial-card {
    background-color: var(--bil-bg-light); border: 1px solid #e9ecef; border-radius: 12px;
    padding: 40px; text-align: center; position: relative; height: 100%;
    display: flex; flex-direction: column; justify-content: center;
}
.testimonial-quote-icon {
    font-size: 3.5rem; color: rgba(10, 43, 76, 0.1);
    position: absolute; top: 15px; left: 20px; z-index: 0;
}
.testimonial-card .testimonial-quote {
    font-size: 1.1rem; font-style: italic; color: #444;
    margin-bottom: 25px; position: relative; z-index: 1; flex-grow: 1;
}
.testimonial-name { font-weight: 700; color: var(--bil-primary); margin-bottom: 5px; font-size: 1.1rem; }
.testimonial-title { font-size: 0.9rem; color: #777; display: block; }
.testimonial-section .carousel-control-prev, .testimonial-section .carousel-control-next { width: 8%; opacity: 0.7; }
.testimonial-section .carousel-control-prev { left: -8%; }
.testimonial-section .carousel-control-next { right: -8%; }
@media (max-width: 992px) {
    .testimonial-section .carousel-control-prev, .testimonial-section .carousel-control-next { left: 0; right: 0; width: 15%; }
}
.testimonial-section .carousel-control-prev-icon, .testimonial-section .carousel-control-next-icon {
    background-color: var(--bil-primary); background-size: 50%;
    width: 45px; height: 45px; border-radius: 50%;
}
.testimonial-section .carousel-indicators button {
    background-color: var(--bil-primary); width: 12px; height: 12px;
    border-radius: 50%; margin: 0 8px; opacity: 0.5;
}
.testimonial-section .carousel-indicators .active { opacity: 1; }
.testimonial-section .carousel-indicators { position: static; margin-top: 25px; }

/*--------------------------------------------------------------
# 8. HABER / ANALİZ BÖLÜMÜ
--------------------------------------------------------------*/
.news-section { background-color: var(--bil-bg-light); }
.news-card {
    background-color: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s ease;
    height: 100%; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.news-card-img { width: 100%; height: 220px; object-fit: cover; }
.news-card-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.news-card-category {
    font-size: 0.85rem; font-weight: 700; color: var(--bil-primary);
    text-transform: uppercase; margin-bottom: 10px;
}
.news-card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; flex-grow: 1; }
.news-card-text { font-size: 0.95rem; color: #666; margin-bottom: 15px; }
.news-card-link { text-decoration: none; font-weight: 600; color: var(--bil-primary); }
.news-card-link .bi { transition: transform 0.2s ease; }
.news-card-link:hover .bi { transform: translateX(5px); }

/*--------------------------------------------------------------
# 9. REFERANS LOGO BÖLÜMÜ
--------------------------------------------------------------*/
.client-logo-section { background-color: #fff; border-top: 1px solid #e9ecef; }
.client-logo-grid {
    display: flex; flex-wrap: wrap; justify-content: space-around;
    align-items: center; gap: 20px;
}
.client-logo-grid img { max-height: 50px; filter: grayscale(100%); opacity: 0.6; transition: all 0.3s ease; }
.client-logo-grid img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }

/*--------------------------------------------------------------
# 10. FOOTER
--------------------------------------------------------------*/
.footer-section { background-color: #212529; color: #adb5bd; }
.footer-brand { font-size: 1.25rem; font-weight: 700; color: #fff; }
.footer-heading {
    font-size: 1rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: #fff;
}
.footer-desc { font-size: 0.9rem; }
.footer-link { text-decoration: none; color: #adb5bd; font-size: 0.9rem; transition: all 0.3s; }
.footer-link:hover { color: #fff; padding-left: 5px; }
.footer-contact li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-divider { border-top: 1px solid #444; }
.social-icon { color: #adb5bd; font-size: 1.25rem; margin-left: 15px; transition: color 0.3s; }
.social-icon:hover { color: #fff; }

/*--------------------------------------------------------------
# 11. ANİMASYON STİLLERİ (ÇAKIŞMA ÇÖZÜLDÜ)
--------------------------------------------------------------*/
.reveal-on-scroll {
    opacity: 0;
    /* ÇÖZÜM: 'transform: translateY(30px)' özelliği, 'position: fixed'
    kuralını bozduğu için kaldırıldı. Artık animasyon sadece 'belirme'
    (fade-in) olacak, 'kayma' (slide-in) olmayacak.
    Bu, FAB ikonunun yerini bozan hatayı %100 çözecektir.
    */
    transition: opacity 0.8s ease-out;
}
.revealed {
    opacity: 1;
}

/*--------------------------------------------------------------
# 12. İÇ SAYFA HERO (KURUMSAL, ÇÖZÜMLER, İLETİŞİM)
--------------------------------------------------------------*/
.page-hero-section { background-color: var(--bil-bg-light); padding: 80px 0; border-bottom: 1px solid #e9ecef; }

/*--------------------------------------------------------------
# 13. ÇÖZÜMLER SAYFASI SEKMELERİ
--------------------------------------------------------------*/
.nav-tabs { border-bottom: 2px solid var(--bil-primary); }
.nav-tabs .nav-link {
    border: 0; padding: 15px 20px; font-size: 1.1rem; font-weight: 600;
    color: var(--bil-text); border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-link:hover {
    color: var(--bil-primary); background-color: transparent; border-bottom: 2px solid var(--bil-primary);
}
.nav-tabs .nav-link i { margin-right: 8px; }
.tab-content { border: 1px solid #dee2e6; border-top: 0; }
.tab-pane .row { margin-bottom: 1rem; padding-bottom: 1rem; }
.tab-pane .row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.tab-pane hr:last-of-type { display: none; }

/*--------------------------------------------------------------
# 14. İLETİŞİM SAYFASI FORMU VE HARİTA
--------------------------------------------------------------*/
.form-label { font-weight: 600; }
.map-section { padding: 0; margin: 0; }
.map-section iframe { display: block; }

/*--------------------------------------------------------------
# 15. SABİT İKONLAR (WHATSAPP, TELEFON) (YENİ - MUTLAK POZİSYON)
--------------------------------------------------------------*/
.fab-container {
    /* Bu ana konteyner tüm sistemi tutar. 'position: fixed' kuralı 
    animasyonlardan etkilenmemesi için '!important' ile korunmuştur.
    */
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 1050;
    
    /* Bu, içindeki elemanları (menü, buton) mutlak konumlandırmak 
       için bir referans noktası (anchor) görevi görür.
    */
    position: relative;
    width: 60px; /* Ana buton genişliği */
    height: 60px; /* Ana buton yüksekliği */
}

/* Ana Buton (Toggle) */
.fab-toggle {
    /* Ana buton, konteynerin tam üstüne oturur */
    position: absolute;
    bottom: 0;
    right: 0;
    
    background-color: var(--bil-primary);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2; /* Menünün üstünde */
}
.fab-toggle .icon-open { opacity: 1; transform: rotate(0deg) scale(1); transition: all 0.3s ease; }
.fab-toggle .icon-close { opacity: 0; transform: rotate(-45deg) scale(0.5); transition: all 0.3s ease; position: absolute; }

/* AÇILDIĞINDA ANA BUTON (AKTİF DURUM) */
.fab-container.active .fab-toggle { background-color: #dc3545; transform: rotate(360deg); }
.fab-container.active .fab-toggle .icon-open { opacity: 0; transform: rotate(45deg) scale(0.5); }
.fab-container.active .fab-toggle .icon-close { opacity: 1; transform: rotate(0deg) scale(1); }

/* 1 Saniye Sonra Çıkan Yazı */
.fab-label {
    position: absolute;
    right: 80px; 
    bottom: 10px;
    background-color: #fff;
    color: var(--bil-heading);
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    animation: fabLabelFadeIn 0.5s ease-out forwards;
    animation-delay: 1s; /* 1 saniye bekle */
    z-index: 1;
}
/* Menü açılınca yazıyı gizle */
.fab-container.active .fab-label { display: none; }
@keyframes fabLabelFadeIn {
    to { opacity: 1; transform: translateX(0); }
}

/* Açılır Menü (WhatsApp Listesi) */
.fab-menu {
    /* BU KURAL SORUNU ÇÖZER:
    Menüyü, ana konteynerin 80px YUKARISINA konumlandırır
    (60px buton + 20px boşluk).
    */
    position: absolute;
    bottom: 80px; /* <-- YUKARI AÇILMAYI GARANTİLER */
    right: 0; /* Sağa hizalı */
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9); /* Aşağıdan geliyormuş gibi başlar */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1;
}
/* AÇILDIĞINDA MENÜ (AKTİF DURUM) */
.fab-container.active .fab-menu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0) scale(1); /* Orijinal pozisyonuna (bottom: 80px) gelir */
}

/* Menü Elemanları (Kişi Kartı) */
.fab-menu-item {
    display: flex; align-items: center; background-color: #fff;
    padding: 10px 15px; border-radius: 30px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    text-decoration: none; color: var(--bil-heading); font-weight: 600;
    transition: all 0.3s ease; width: 280px;
}
.fab-menu-item:hover { transform: translateX(-10px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.fab-menu-item img { width: 40px; height: 40px; border-radius: 50%; margin-right: 10px; object-fit: cover; }
.fab-menu-item span { margin-right: auto; padding-right: 10px; }
.fab-menu-item i { font-size: 1.5rem; color: #25D366; }

/* Menü Elemanlarının Gecikmeli Gelme Animasyonu */
.fab-container.active .fab-menu-item { opacity: 0; animation: fadeInMenuItem 0.3s ease forwards; }
.fab-container.active .fab-menu-item:nth-child(1) { animation-delay: 0.1s; }
.fab-container.active .fab-menu-item:nth-child(2) { animation-delay: 0.2s; }
.fab-container.active .fab-menu-item:nth-child(3) { animation-delay: 0.3s; }
@keyframes fadeInMenuItem {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}


/*--------------------------------------------------------------
# YENİ HİZMETLER BÖLÜMÜ TASARIMI
--------------------------------------------------------------*/

/* Genel Kart Yapısı */
.new-service-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px; /* Köşeleri yuvarlat */
    padding: 30px;
    display: flex; /* İkon ve metni yan yana getir */
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

/* Hover Efekti */
.new-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--bil-primary);
}

/* İkon Kutusu */
.new-service-card .icon-box {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa; /* Açık gri arka plan */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* İkonun sıkışmasını engelle */
    font-size: 1.5rem;
    color: #555;
    transition: all 0.3s ease;
}

/* Aktif (Mavi) Kart Tasarımı */
.new-service-card.active {
    background-color: #ecf3ff; /* Çok açık mavi arka plan */
    border-color: #cce0ff;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.1);
}

.new-service-card.active .icon-box {
    background-color: #dbeafe; /* İkon arka planı biraz daha koyu mavi */
    color: var(--bil-primary);
}

.new-service-card.active .text-box h5 {
    color: var(--bil-primary);
}

/* Kart İçindeki Metinler */
.new-service-card .text-box h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--bil-heading);
}

.new-service-card .text-box p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Buton Düzenlemesi */
.btn-primary.rounded-pill {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
    font-size: 1.1rem;
}
/*--------------------------------------------------------------
# KURUMSAL SAYFASI - YENİ KART TASARIMLARI
--------------------------------------------------------------*/

/* Genel Kart Stili (Hafif gölgeli, yuvarlak köşeli) */
.ankasan-card {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.ankasan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}

/* Hizmet Alanları İkonu (Dolu Mavi Daire) */
.ankasan-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto; /* Ortala */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--bil-primary), #0d6efd); /* Hafif gradyan */
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* Değerlerimiz İkonu (Çerçeveli/Outline) */
.ankasan-icon-outline {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto; /* Ortala */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: 2px solid #e9ecef; /* İnce gri çerçeve */
    background-color: #f8f9fa; /* Çok açık gri arka plan */
    color: var(--bil-primary);
}

.ankasan-card h5, .ankasan-card h6 {
    color: #333;
    line-height: 1.4;
}

/* Değerler bölümündeki başlıklar biraz daha küçük olsun */
.values-area-section h6 {
    font-size: 1.1rem;
}
/*--------------------------------------------------------------
# YENİ KART TASARIMLARI (Kurumsal ve Çözümler İçin)
--------------------------------------------------------------*/
.ankasan-card {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}
.ankasan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}
.ankasan-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--bil-primary), #0d6efd);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}   