/*
Theme Name:     Newspaper Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

/* Haber Slider - Demo Tasarımı */
/* CSS önceliğini artır ve tema çakışmalarını önle */
.slider-container {
    position: relative !important;
    width: 100% !important;
    max-width: 800px !important;
    height: 500px !important;
    margin: 50px auto !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    z-index: 100 !important;
    background: #000 !important;
}

.slider-container .slide {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease-in-out !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    top: 0 !important;
    left: 0 !important;
}

.slider-container .slide.active {
    opacity: 1 !important;
}

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.top-section {
    padding: 20px;
}

.category-tag {
    background-color: rgba(139, 0, 0, 0.9);
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
}

.bottom-section {
    position: relative;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 20px 80px;
}

.main-title {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px 0;
    border-radius: 8px;
    margin: 0;
}

.pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.pagination span {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.pagination .active {
    background-color: white;
    color: #8B0000;
}

.pagination span:not(.active) {
    color: rgba(255, 255, 255, 0.7);
}

.pagination span:not(.active):hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.nav-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow.prev {
    left: 20px;
}

.nav-arrow.next {
    right: 20px;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .slider-container {
        margin: 20px;
        height: 400px;
    }

    .main-title {
        font-size: 24px;
    }

    .pagination {
        bottom: 10px;
        padding: 8px 12px;
    }

    .pagination span {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 12px;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .nav-arrow.prev {
        left: 10px;
    }

    .nav-arrow.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        margin: 10px;
        height: 300px;
    }

    .main-title {
        font-size: 18px;
        padding: 15px 0;
    }

    .top-section {
        padding: 15px;
    }

    .bottom-section {
        padding: 30px 15px 60px;
    }

    .category-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
}
