/* SLİDER */

.slider {
    width: 100%;
    max-width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    margin: auto;
    user-select: none; /* Metin seçimini engelle */
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    height: 100%; /* Yüksekliği tam slider yüksekliğine ayarla */
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 0px;
}

.category-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: white;
    color: #333 !important;
    padding: 5px 15px;
    font-size: 1em;
    font-weight: normal !important;

}



.category-label a {
    color: #222;
}

.category-label a:hover {
 
    text-decoration: none !important;
    color:#d20f0f !important;
    
}

.category-label-two {
    position: absolute;
    bottom: 150px;
    left: 0;
    background-color: white;
    color: #fff !important;
    padding: 5px 15px;
    
    font-size: 1em;
    font-weight: normal !important;
}


.category-label-two-title {
    position: absolute;
    bottom: 30px;
    left: 10px;
   
    color: #fff !important;
    padding: 5px 15px;
    line-height: 30px;
    font-size: 1.5em;
    font-weight: normal !important;
}

.category-label-3 {
    position: absolute;
    bottom: 60px;
    left: 10px;
   
    color: #fff !important;
    padding: 5px 15px;
    line-height: 22px !important;
    font-size: 1em;
    font-weight: normal !important;
}


.category-label-3-title {
    position: absolute;
    bottom: 10px;
    left: 20px;
   
    color: #fff !important;
    padding: 5px 15px;
    line-height: 20px !important;
    font-size: 1em;
    font-weight: normal !important;
}


.bg-image-gradient {
    background-size: cover; width:100%;height:calc(75vh - 84px);object-fit:cover;display:block;
}

.bg-image-gradient-bottom {
    background-size:contain;
background-position:center; width:100%;height:calc(50vh - 84px);object-fit:contain;display:block;
}

.bg-image-gradient-bottom:hover {
    opacity: 0.95;
}
.card-bg-hover {
    padding: 10px;
}

.card-bg-hover.aktif {
    background: #ddd;
}

.card-bg-hover:hover {
    background: #ddd;
}

.card-footer a {
    font-weight: bold;
    color: #580000;
}

.pagination-container {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    padding: 5px;
    border-radius: 5px;
}

.pagination {
    display: flex;
    justify-content: center;
}

.page {
    display: inline-block;
    margin: 0 5px;
    padding: 5px 10px;
    cursor: pointer;
    background: #eee;
    border-radius: 5px;
    user-select: none; /* Metin seçimini engelle */
}

.page.active {
    background: #d20f0f;
    color: white;
}

.nav-icons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* Sadece ikonları tıklanabilir yap */
}

.nav-icon {
    pointer-events: auto;
    font-size: 2em;
    cursor: pointer;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0 10px;
}

.slide-title-container {
    position: relative;
    width: 100%;
    text-align: left;
    margin-top: 10px; /* Slider ile başlık arasında boşluk bırakmak için */
}

.slide-title {
    font-size: 1.6em;
    font-weight:bolder;
    margin-bottom: 10px;
    color: #222;
    line-height: 30px !important;
    display: none;
}

.slide-title.active {
    display: block;
}

@media (max-width: 768px) {
    .slider {
        height: 300px; /* Mobilde slider yüksekliğini düşür */
    }

    .slide {
        background-size: cover;
        background-position: center;
    }
}

/* Alternatif daha fazla responsive ayarı */
@media (max-width: 480px) {
    .slider {
        height: 200px; /* Daha küçük ekranlar için yükseklik ayarı */
    }

    .slide-title-container {
        font-size: 0.875em;
        line-height: 30px !important;
        font-weight: bold; /* Başlıkların boyutunu küçült */
    }

    .bg-image-gradient {
        background-size: cover; width:100%;height:calc(100vh - 84px);object-fit:cover;display:block;
    }
    
    .bg-image-gradient-bottom {
        background-size: cover; width:100%;height:calc(100vh - 84px);object-fit:cover;display:block;
    }

    .category-label-two-title {
        left:5px;
        line-height: 27px;
        font-size: 1.2em;
        bottom: 15px ;
       
    }
    
    .category-label-3-title {
        left:5px;
        line-height: 25px;
        font-size: 1.1em;
        bottom: 15px ;

    }

    .fsize-2 {
        font-size: 1.1rem !important;
        line-height: 21px;
    }

    .card-footer a {
        font-size: 0.9rem !important;
    }
}

/* SLİDER BİTİŞ */