﻿body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif; /* Sayfanın genel yazı tipi */
}

#header, #ana, #stats {
    background: url(/Content/Resim/bg2.png) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}
@media (max-width: 600px) {
    #stats .stats-row {
        width: 100% !important;
    }
        #stats .stats-row > * {
            flex: 0 0 auto !important;
            width: 50% !important;
        }
}
#header::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: -1;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    opacity:0
}
.scrolled #header::after {
    opacity:1
}
#ana {
    min-height: 350px;
    height: 150px; /* Ekranın geri kalanını kaplayacak */
}
@media (max-width: 991px) {
    #ana {
        min-height: auto;
        height: auto; /* Ekranın geri kalanını kaplayacak */
        padding: 40px 0 0px 0;
    }
}
@media (max-width: 600px) {
    #ana .hero-img{
        display:none;
    }
}
.dark-background {
    background-color: #082A5E;  /* Eski arka plan rengi */
    /*background-image: url('/Content/Resim/dark2.png');*/ /* Resmi arka plan olarak ekle */
    /*background-size: cover;*/ /* Resmin alanı dolduracak şekilde boyutlandır */
    /*background-position: center center;*/ /* Resmi ortala */
    /*background-repeat: no-repeat;*/ /* Resmi tekrarlama */
}





@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

/* Select Kutusu Stili */
.custom-select-style {
    appearance: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNSIgdmlld0JveD0iMCAwIDEwIDUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iIzA5ODllYSIgZD0iTTAgMGwxMCA1SDB6Ii8+PC9zdmc+'); /* Select için ok işareti */
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 10px;
    padding-right: 30px;
    height: 45px;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
    border-radius: 0px; /* Keskin kenarlık */
}

.home-select-style {
    appearance: none;
    padding-right: 30px;
    height: 45px;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
    border-radius: 0px; /* Keskin kenarlık */
}

/* Input alanı (sağında ok işareti yok) */
.input-style {
    height: 45px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    border-radius: 5px !important; /* Keskin kenarlık */
}
.input-btn-style {
    height: 45px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    border-radius: 5px !important; /* Keskin kenarlık */
    background-color: var( --accent-color);
    border: 0;
    color: #FFF;
}
    .input-btn-style:hover {
        background-color: var( --orange-color);
        color: #FFF;
    }
.input-style:focus,
.input-btn-style:focus{
    box-shadow:none
}
/* Form Kontrollerinde Keskin Kenarlıklar */
.form-control {
    border-radius: 0px; /* Tüm form elemanlarında keskin kenarlıklar */
}

/* Ara butonu stili */
.ara-btn-custom {
    letter-spacing: 0.15rem;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 12px 0;
    border-width: 2px;
    transition: all 0.3s ease;
}


    /* Ara buton hover efekti */
    .ara-btn-custom:hover {
        background-color: #0989ea;
        color: #fff;
    }

.rehber-btn-custom {
    letter-spacing: 0.1rem;
    font-weight: 500;
    font-size: .86rem;
    padding: 10px 20px;
    border-width: 0px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: #DF922F;
}

    .rehber-btn-custom:hover {
        background-color: #0989ea;
        color: #fff;
        transform: scale(1.05);
    }

/* Custom select görünümünü ayarlamak için wrapper */
.custom-select-wrapper {
    position: relative;
}

    .custom-select-wrapper select {
        width: 100%;
    }

/* Responsive genişlik */
@media (max-width: 576px) {
    .ara-btn-custom {
        width: 100%; /* Küçük ekranlarda tam genişlikte olsun */
    }
}




.features-item {
    height: 130px; /* Tüm öğelerin yüksekliğini belirle */
    width: 95%; /* Ögeleri daralt */
    display: flex;
    flex-direction: column;
    justify-content: center; /* İçeriği dikeyde ortala */
    align-items: center; /* İçeriği yatayda ortala */
    border: 1px solid #ccc; /* Kenarlık ekle */
    border-radius: 0; /* Kenar yuvarlamayı kaldır */
    padding: 20px; /* İçerik için padding */
    position: relative; /* Tooltip için */
    overflow: hidden; /* Taşma durumunu gizle */
    transition: box-shadow 0.3s; /* Hover için geçiş efekti */
    margin: 0 auto; /* Her öğeyi ortala */
}

    .features-item:hover {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Hoverda gölge efekti */
    }

    .features-item h3 {
        text-transform: capitalize; /* İlk harfleri büyük yap */
        overflow: hidden; /* Taşmaları önlemek için */
        white-space: nowrap; /* Taşmaları önlemek için */
        text-overflow: ellipsis; /* Taşmalar için '...' kullan */
        width: 100%; /* Sabit genişlik ver */
        display: block; /* Block elementi */
        max-width: 220px; /* Maksimum genişlik 220px */
        text-align: center; /* Başlığı ortala */
        font-size: 16px; /* Başlık boyutunu küçült */
        margin-bottom: 10px; /* Başlık ile açıklama arasına boşluk */
    }

    .features-item p {
        margin: 0; /* Alt başlık için varsayılan margin'i kaldır */
        font-weight: bold; /* Kalın metin */
        color: #666; /* Metin rengi */
        font-size: 14px; /* Metin boyutu */
        height: 20px; /* İndirme sayısı için belirli bir yükseklik */
        overflow: hidden; /* Taşma durumunu gizle */
        text-overflow: ellipsis; /* Taşan metin için elips göster */
        text-align: center; /* Metni ortala */
    }

    .features-item i {
        font-size: 40px; /* İkon boyutunu küçült */
        margin-bottom: 10px; /* İkon ile başlık arasında boşluk */
    }




/* Küçük ekranlarda hücre içi boşluk ve yazı boyutunu küçültün */
@media (max-width: 768px) {
    .table th, .table td {
        font-size: 14px;
        padding: 8px;
    }

    .btn-sm i {
        font-size: 12px;
    }
}

/* Çok küçük ekranlar için (576px ve altı) metni daha küçük yapın */
@media (max-width: 576px) {
    .table th, .table td {
        font-size: 12px;
        padding: 5px;
    }
}


.pagination-container ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.pagination-container li {
    display: inline-block;
}

    .pagination-container li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        font-size: 16px;
        font-weight: bold;
        text-decoration: none;
        color: #333;
        background-color: #f8f9fa;
        border-radius: 8px;
        transition: all 0.3s ease-in-out;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

        .pagination-container li a:hover {
            background-color: #007bff;
            color: white;
            transform: scale(1.1);
        }

    .pagination-container li.active a {
        background-color: #007bff;
        color: white;
        font-weight: bold;
        border-radius: 8px;
        transform: scale(1.1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .pagination-container li.disabled a {
        color: #ccc;
        pointer-events: none;
        background-color: #e9ecef;
    }





.client-logo {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* Tooltip'in kesilmemesi için */
}

.client-link {
    position: relative; /* Tooltip konumlandırmak için gerekli */
    display: inline-block;
    background-color: #1363DF; /* Turkuaz tonunda arka plan */
    padding: 20px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    color: #FFF; 
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%; /* Sabit genişlik */
    text-align: center; /* Metni ortalar */
}

    .client-link:hover {
        background-color: #DF922F; /* Turkuazın koyu tonu */
        color: #ffffff;
        transform: scale(1.1); /* Hoverda biraz büyüme */
    }

.tooltip {
    position: absolute;
    bottom: 100%; /* Butonun üstünde olacak */
    left: 50%;
    transform: translateX(-50%) translateY(-10px); /* Tooltip'i biraz yukarıya kaydır */
    background-color: #082A5E;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: normal; /* Metni birden fazla satıra böler */
    width: 250px; /* Tooltip genişliği sabit olacak */
    text-align: center; /* Metni ortalar */
    z-index: 1000; /* Tooltip'in üstte olmasını sağlar */
}




/* Toast mesajı için stil */
.toast-message {
    position: fixed;
    top: 20px; /* Sayfanın üstünden boşluk */
    left: 20px; /* Sayfanın sağından boşluk */
    background-color: #082A5E; /* Turkuaz rengi */
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-20px); /* Başlangıçta biraz yukarıda */
    z-index: 1000; /* Diğer elementlerin üstünde olmasını sağlar */
    max-width: 300px; /* Maksimum genişlik */
    word-wrap: break-word; /* Uzun metinleri satırlara böler */
}

    /* Toast mesajı görünür olduğunda */
    .toast-message.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0); /* Yerine kayarak gelsin */
    }




/* Driver.js varsayılan popover sınıfı */
#driver-popover-item {
    background-color: #2c3e50 !important; /* Arka plan koyu mavi */
    color: #082A5E !important; /* Yazı rengi açık gri */
    border-radius: 30px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    
}

/* Başlık rengi */
.driver-popover-title {
    color: #f39c12 !important; /* Turuncu başlık */
}

/* Açıklama metni */
.driver-popover-description {
    color: #ecf0f1 !important;
}

/* Butonların özelleştirilmesi */
.driver-popover button {
    background-color: #e74c3c !important; /* Buton arka planı kırmızı */
    color: white !important; /* Buton yazı rengi beyaz */
    border-radius: 5px !important;
    padding: 6px 12px !important;
    border: none !important;
}

    .driver-popover button:hover {
        background-color: #c0392b !important; /* Buton hover rengi */
    }


