/* =====================    CAROUSEL ORANI ===================== */
.custom-carousel {
    aspect-ratio: 4 / 1;
    position: relative;
    overflow: hidden;
}

.custom-carousel img {
    height: 100%;
    object-fit: cover;
}

/* =====================  CAPTION (ALT-ORTA + BLUR) ===================== */
.carousel-caption {
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    text-align: center;
    padding: 0.2rem 0.2rem;
    border-radius: 4px;
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(0, 255, 0, 0.3);
}

.carousel-caption h2 {
    font-size: clamp(0.8rem, 1.2vw, 1.2rem);
    color: #fff;
}

.carousel-caption p {
    font-size: clamp(0.6rem, 0.8vw, 0.8rem);
    color: #eee;
}

/* =====================   PREV / NEXT (DESKTOP) ===================== */
.carousel-control-prev,
.carousel-control-next {
    width: 6%;
}

/* =====================    CUSTOM NUMARALAR ===================== */
.custom-numbers {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2px;
    z-index: 10;
}

.custom-numbers button {
    width: 24px;
    height: 24px;
    border-radius: 2px;
    border: none;
    background-color: #666666; /* pasif */
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.custom-numbers button.active {
    background-color: #28a745; /* aktif */
}

/* =====================    MOBİL AYARLAR ===================== */
@media (max-width: 768px) {

    /* Açıklamayı gizle */
    .carousel-caption p {
        display: none;
    }

    /* Okları kaldır */
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    /* Numara boyutu */
    .custom-numbers button {
        width: 18px;
        height: 18px;
        font-size: 12px;
    }

    .carousel-caption {
        bottom: 18%;
        padding: 0.4rem 0.4rem;
    }
}
