/* Estilo do carrossel de banners */
.custom-carousel {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    margin-top: 70px;
    /* distância do navbar */
}

.custom-carousel .carousel-inner {
    height: 100%;
}

.custom-carousel .carousel-item {
    height: 100%;
}

.banner-item {
    position: relative;
    height: 100%;
}

.banner-img {
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    color: #ffffff
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.banner-caption {
    position: absolute;
    bottom: 30%;
    left: 0;
    right: 0;
    text-align: center;
}

.banner-caption h2 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    font-size: 2rem;
    font-weight: 600;
}

.banner-caption p {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    font-size: 1rem;
}

/* Responsividade */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .custom-carousel {
        height: 40vh;
    }

    .banner-caption h2 {
        font-size: 1.5rem;
    }

    .banner-caption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .custom-carousel {
        height: 30vh;
    }

    .banner-caption h2 {
        font-size: 1.2rem;
    }

    .banner-caption p {
        font-size: 0.8rem;
    }
}