@charset "UTF-8";

/* --- SLİDER --- */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1rem;
}

.slider-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    margin: 0 auto !important;
    background: none !important;
    border: none !important;
    width: 100%;
    max-width: 1200px;
}

/* --- SWIPER ALANI --- */
.swiper {
    width: 100%;
    height: 680px;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    background: none;
    border: none;
    box-shadow: none;
    position: relative;
}

.swiper-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0 !important;
    width: 100%;
    position: relative;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0 !important;
}

.swiper-slide,
.hslider-image {
    height: 100%;
    min-height: 0;
}


    .swiper-slide a {
        text-decoration: none;
        color: black;
    }

        .swiper-slide a:hover {
            text-decoration: none;
        }

/* --- SLIDER GÖRSELİ --- */
.hslider-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hslider-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(0.7);
    z-index: 1;
    opacity: 0.94;
    transform: translate3d(0,0,0);
}

.hslider-image img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Ortalamak için flex kullanıyoruz yukarıda */
    box-shadow: 0 2px 24px rgba(0,0,0,0.06);
    border-radius: 8px; /* Hafif kıvrım */
    background: none;
    margin: auto;
    display: block;
}



/* --- SLIDER YAZI VE BAŞLIK --- */
.hslider-content {
    position: absolute;
    left: 15px;
    bottom: 10px;
    width: 98%;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    z-index: 3;
}

.hslider-tur {
    font-size: 14px;
    background-color: #007aff;
    color: #fff;
    width: fit-content;
    padding: 3px 11px;
    margin-bottom: 0;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(44,44,44,0.08);
    font-weight: 600;
    margin-left: 5px;
    letter-spacing: 0.2px;
}

.hslider-title,
.hslider-sub-title {
    background: rgba(255,255,255,0.94);
    color: #222;
    border-radius: 2px; /* Kıvrım eşit */
    box-shadow: 0 2px 14px rgba(44,44,44,0.13);
    padding: 8px 18px;
    display: block;
    text-align: left;
    margin: 0 0 0 5px;
    max-width: 920px;
    white-space: normal;
    line-height: 1.22;
    overflow: hidden;
    font-weight: 600;
    font-size: 25px; /* Masaüstü için öneri */
    text-decoration: none;
}
    .hslider-title span {
        color: inherit;
        background: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

.hslider-title {
    margin-bottom: 2px;
}
.hslider-sub-title {
    font-size: 18px; /* Alt başlık için biraz daha küçük */
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 2px;
    padding-top: 5px;
    padding-bottom: 6px;
}

    .hslider-sub-title p {
        margin: 0;
        padding: 0;
        color: inherit;
        font-size: inherit;
        background: none;
        border-radius: 0;
    }


/* --- SWIPER OKLARI --- */
.swiper-button-next, .swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: none;
    color: #222;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: color 0.2s;
    z-index: 9999;
    position: absolute !important;
    pointer-events: auto;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next:after {
    content: "›";
    font-size: xxx-large;
}

.swiper-button-prev:after {
    content: "‹";
    font-size: xxx-large;
}

.slider-counter {
    position: absolute;
    bottom: 18px; /* sağ alt için */
    right: 24px;
    z-index: 5;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 6px 16px;
    font-size: 15px;
    border-radius: 1px;
    font-weight: 600;
    letter-spacing: 1px;
    user-select: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    opacity: 0.92;
}



/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hslider-image img {
        height: 320px;
        z-index: 2;
    }
    .swiper {
        height: 320px; /* Tablet */
    }

    .hslider-title,
    .hslider-sub-title {
        font-size: 16px;
        padding: 6px 10px;
        border-radius: 8px;
        max-width: 92vw;
    }

    .hslider-tur {
        font-size: 11px;
        border-radius: 4px;
    }
}

@media (max-width: 767px) {
    .swiper {
        height: 250px; /* Mobil */
    }

    .hslider-image {
        height: 250px;
        min-height: 250px;
        width: 100%;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .hslider-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 8px;
            z-index: 2;
        }

    .hslider-bg-blur {
        z-index: 1;
    }

    .hslider-content {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        padding: 0 7px 7px 7px;
        z-index: 3;
        /* background: transparent; Gerekirse */
    }

    .hslider-title, .hslider-sub-title {
        font-size: 13px;
        padding: 4px 7px;
        border-radius: 5px;
        margin-left: 0;
        margin-right: 0;
        max-width: 98vw;
    }

    .hslider-title {
        margin-bottom: 2px;
    }

    .hslider-sub-title {
        margin-bottom: 2px;
    }

    .hslider-tur {
        font-size: 9.5px;
        padding: 2px 6px;
        border-radius: 4px;
        margin-left: 0;
        margin-bottom: 3px;
    }
    .slider-counter {
        bottom: 10px;
        right: 10px;
        font-size: 12px;
        padding: 4px 9px;
        border-radius: 1px;
    }

}

