/* --- Manga Hero Slider Stilleri --- */

.manga-hero-slider-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.manga-hero-swiper {
    width: 100%;
    height: 400px;
}

.manga-hero-slide {
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.manga-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(10px) brightness(0.4);
    transform: scale(1.1);
    transition: all 0.5s ease;
}

.manga-hero-slide-active .manga-hero-background {
    filter: blur(0px) brightness(0.6);
}

.manga-hero-content-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 10;
}

.manga-hero-text {
    flex: 1;
    max-width: 55%;
}

.manga-hero-pretitle {
    font-size: 0.9em;
    font-weight: 600;
    color: #ffc107;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.manga-hero-title {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.manga-hero-excerpt {
    font-size: 1em;
    line-height: 1.6;
    color: #ccc;
    margin: 0 0 20px;
}

.manga-hero-chapters h4 {
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 10px;
}

.manga-hero-chapters .chapter-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.manga-hero-chapters .chapter-links a,
.manga-hero-chapters .no-chapters {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.manga-hero-chapters .chapter-links a:hover {
    background-color: #ffc107;
    color: #1e1e1e;
    border-color: #ffc107;
}

.manga-hero-button {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background-color: #ffc107;
    color: #1e1e1e;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.manga-hero-button:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.manga-hero-image-container {
    flex-shrink: 0;
    width: 250px;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    transform: perspective(1000px) rotateY(15deg);
    transition: all 0.5s ease;
}

.manga-hero-slide-active .manga-hero-image-container {
    transform: perspective(1000px) rotateY(0deg);
}

.manga-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigasyon Okları - Masaüstü görünümünde sağ alt köşe */
.manga-hero-swiper .swiper-button-prev,
.manga-hero-swiper .swiper-button-next {
    position: absolute;
    bottom: 30px;
    top: auto;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin: 0;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.manga-hero-swiper .swiper-button-prev:hover,
.manga-hero-swiper .swiper-button-next:hover {
    background: #ffc107;
    color: #1e1e1e;
}

.manga-hero-swiper .swiper-button-prev {
    right: 80px;
    left: auto;
}
.manga-hero-swiper .swiper-button-next {
    right: 30px;
    left: auto;
}

/* Ok simgelerini ortalamak için */
.manga-hero-swiper .swiper-button-prev:after,
.manga-hero-swiper .swiper-button-next:after {
    font-size: 16px;
}

/* Sayfalama Noktalarını Tamamen Kaldırmak için */
.manga-hero-swiper .swiper-pagination {
    display: none;
}

/* --- Mobil için Responsive Ayarlar (992px ve altı) --- */
@media (max-width: 992px) {
    .manga-hero-swiper {
        height: 550px; /* Mobil yükseklik biraz artırıldı */
    }

    .manga-hero-content-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .manga-hero-text {
        max-width: 100%;
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
        padding-bottom: 20px;
    }

    .manga-hero-image-container {
        display: block; /* Mobil görünümde görseli tekrar görünür yap */
        width: 180px; /* Görsel boyutu daha da küçültüldü */
        height: 240px; /* Görsel boyutu daha da küçültüldü */
        transform: none; /* Görsel efekti kaldırıldı */
        margin-bottom: 20px;
    }

    .manga-hero-background {
        filter: blur(10px) brightness(0.25); /* Arka plan tekrar bulanıklaştırıldı */
    }

    .manga-hero-title {
        font-size: 1.8em;
        margin-bottom: 5px;
    }

    .manga-hero-excerpt {
        display: block; /* Özet tekrar görünür yapıldı */
        font-size: 0.9em;
        margin-bottom: 10px; /* Marjlar düşürüldü */
    }

    .manga-hero-chapters {
        display: none; /* Bölüm linkleri mobil görünümde gizli kalsın */
    }
    
    .manga-hero-pretitle {
        display: none; /* Üst başlık mobil görünümde gizlendi */
    }

    .manga-hero-button {
        margin-top: 15px;
        font-size: 0.9em;
    }

    /* Mobil görünümde okları slider'ın yanlarına, dikey olarak ortalamak için */
    .manga-hero-swiper .swiper-button-prev,
    .manga-hero-swiper .swiper-button-next {
        position: absolute;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background-color: rgba(0, 0, 0, 0.4);
        box-shadow: none;
        color: #fff;
    }
    .manga-hero-swiper .swiper-button-prev {
        left: 10px;
        right: auto;
    }
    .manga-hero-swiper .swiper-button-next {
        right: 10px;
        left: auto;
    }
}

/* --- Dark Mode (Koyu Mod) Ayarları --- */

body.dark-mode .manga-hero-background {
    filter: blur(10px) brightness(0.25);
}

body.dark-mode .manga-hero-slide-active .manga-hero-background {
    filter: blur(0px) brightness(0.4);
}

body.dark-mode .manga-hero-slide {
    color: #fff;
}

body.dark-mode .manga-hero-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

body.dark-mode .manga-hero-excerpt {
    color: #ccc;
}

body.dark-mode .manga-hero-chapters .chapter-links a,
body.dark-mode .manga-hero-chapters .no-chapters {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .manga-hero-swiper .swiper-button-prev,
body.dark-mode .manga-hero-swiper .swiper-button-next {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

body.dark-mode .manga-hero-swiper .swiper-button-prev:hover,
body.dark-mode .manga-hero-swiper .swiper-button-next:hover {
    background-color: #ffc107;
    color: #1e1e1e;
}

