/* ===================================================
   Hero Slider - Ana Sayfa Hero Alanı Slider CSS
   =================================================== */

/* Genel wrapper */
.hero-slider-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Carousel */
.hero-carousel {
    border-radius: 20px;
    overflow: hidden;
}

.hero-carousel-inner {
    border-radius: 20px;
    overflow: hidden;
}

/* Slide görsel sarmalayıcı */
.hero-slide-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    display: block;
}

.carousel-item.active .hero-slide-img {
    transform: scale(1.02);
}

/* Gradient overlay */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

/* Caption */
.hero-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.75rem;
    color: #fff;
    z-index: 2;
}

.hero-slide-subtitle {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--primary-color, #8a356a);
    color: #fff;
    padding: 0.2rem 0.65rem;
    border-radius: 30px;
    margin-bottom: 0.5rem;
}

.hero-slide-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 0.4rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-slide-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.hero-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--primary-color, #8a356a);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 1.1rem;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.hero-slide-btn:hover {
    background: var(--primary-dark, #6f2a56);
    color: #fff;
    transform: translateY(-1px);
}

/* Göstergeler (noktalar) */
.hero-carousel-indicators {
    bottom: 0.5rem;
    margin-bottom: 0;
}

.hero-carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    margin: 0 3px;
    transition: background 0.3s, transform 0.3s;
}

.hero-carousel-indicators .active {
    background: #fff;
    transform: scale(1.3);
}

/* Ok butonları */
.carousel-control-prev.hero-carousel-prev,
.carousel-control-next.hero-carousel-next {
    width: 40px;
    opacity: 1;
}

.hero-carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    color: #fff;
    font-size: 0.85rem;
    transition: background 0.25s, transform 0.2s;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-carousel-prev:hover .hero-carousel-arrow,
.hero-carousel-next:hover .hero-carousel-arrow {
    background: rgba(255,255,255,0.35);
    transform: scale(1.1);
}

/* Geçiş animasyonu */
.carousel-item {
    transition: transform 0.65s ease-in-out;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-slide-image-wrapper {
        height: 300px;
    }
    .hero-slide-title {
        font-size: 1.1rem;
    }
    .hero-slide-caption {
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-slide-image-wrapper {
        height: 240px;
    }
    .hero-slide-title {
        font-size: 1rem;
    }
}
