/* Hero Animation */

.hero-animation {
    animation: heroFadeUp 1s ease;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Görsel */

#header-carousel .carousel-item img {
    height: 75vh;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
}


/* Caption alanı */

#header-carousel .carousel-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}


/* Başlık — Bootstrap'ten bağımsız */

.banner-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.banner-desc {
    font-size: 1.2rem;
    line-height: 1.6;
}


/* Tablet (768px - 991px) */

@media (max-width: 991.98px) {
    .banner-title {
        font-size: 2.2rem;
    }
    .banner-desc {
        font-size: 1rem;
    }
}


/* Geniş mobil (576px - 767px) */

@media (max-width: 767.98px) {
    #header-carousel .carousel-item img {
        height: 60vh;
        min-height: 320px;
    }
    .banner-title {
        font-size: 1.6rem;
    }
    .banner-desc {
        font-size: 0.9rem;
    }
}


/* Küçük mobil (575px altı) */

@media (max-width: 575.98px) {
    #header-carousel .carousel-item img {
        height: 55vh;
        min-height: 280px;
    }
    .banner-title {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 0.4rem;
    }
    .banner-desc {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    #header-carousel .carousel-caption .p-3 {
        padding: 0.5rem !important;
    }
}