/**
 * Haber Slayt Gösterisi CSS
 */

/* Genel Stiller */
.krn-hs1-container {
    width: 100%;
    height: 100vh;
    position: relative;
    background: #000;
    display: flex;
    flex-direction: column;
    font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
    color: #fff;
    overflow: hidden;
}

/* Geri Sayım */
.krn-hs1-countdown {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1.5rem;
    z-index: 100;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Slayt Konteyneri */
.krn-hs1-slider-container {
    flex: 1;
    width: 100%;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    max-height: 70vh;
}

/* Slaytlar */
.krn-hs1-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.krn-hs1-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    position: relative;
}

.krn-hs1-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Haber Bilgisi */
.krn-hs1-news-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    z-index: 10;
    border-top: 3px solid #ff0000;
}

.krn-hs1-news-title {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: krn-hs1-titleAnimation 1s ease-out;
    line-height: 1.1;
}

.krn-hs1-news-description {
    font-size: 1.8rem;
    color: #ffcc00;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    animation: krn-hs1-descriptionAnimation 1.2s ease-out;
}

/* Kontroller */
.krn-hs1-controls {
    display: flex;
    justify-content: center;
    padding: 15px;
    background: #111;
    border-top: 2px solid #333;
    height: 80px;
    align-items: center;
}

/* Sayfalama */
.krn-hs1-pagination {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.krn-hs1-page-number {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1.2rem;
    user-select: none;
}

.krn-hs1-page-number:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.krn-hs1-page-number.active {
    background: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

/* Tümü Butonu */
.krn-hs1-all-button {
    padding: 12px 25px;
    background: #4CAF50;
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
    margin-left: 15px;
}

.krn-hs1-all-button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Animasyonlar */
@keyframes krn-hs1-titleAnimation {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes krn-hs1-descriptionAnimation {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes krn-hs1-countdownPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .krn-hs1-news-title {
        font-size: 2.5rem;
    }
    
    .krn-hs1-news-description {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .krn-hs1-news-title {
        font-size: 2rem;
    }
    
    .krn-hs1-news-description {
        font-size: 1.2rem;
    }
    
    .krn-hs1-page-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .krn-hs1-all-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .krn-hs1-news-title {
        font-size: 1.5rem;
    }
    
    .krn-hs1-news-description {
        font-size: 1rem;
    }
    
    .krn-hs1-page-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .krn-hs1-all-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .krn-hs1-countdown {
        font-size: 1.2rem;
    }
}