/* ===== FULL WIDTH IMAGE CAROUSEL ===== */

.custom-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 1s ease-in-out;
}

.carousel-item {
    min-width: 100%;
}

.carousel-item img {
    width: 100%;
    height: 80vh; /* altura grande elegante */
    object-fit: cover;
    display: block;
}
/* ===== OVERLAY TEXTO FIJO ===== */

.carousel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
}

.carousel-overlay h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.carousel-overlay p {
    font-size: 1.3rem;
    font-weight: 300;
}

/* Sombra elegante para que se lea mejor */
.carousel-overlay h2,
.carousel-overlay p {
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.custom-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.7)
    );
    z-index: 5;
}