.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1a1a1a;
}

.carousel-container {
    position: relative;
    width: 100%;
    /* Aspect ratio 1920:800 = 2.4:1 = 41.67% */
    padding-bottom: 41.67%;
}

.carousel-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide.active,
.carousel-slide[style*="display: block"] {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cubre todo manteniendo proporción */
    object-position: center;
    display: block;
}

.carousel-content {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 35px;
    text-align: center;
    color: white;
    max-width: 85%;
    z-index: 5;
}

.carousel-content h2 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 3px;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 0, 0, 0.5);
}

.carousel-content h2 strong,
.carousel-content h2 b {
    display: block;
    font-weight: 800;
    font-size: 3rem;
    color: #fff;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.9),
        5px 5px 15px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    margin: 12px 0 0;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        3px 3px 10px rgba(0, 0, 0, 0.6);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.carousel-control:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-indicators {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

.carousel-empty {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
    background: #f5f5f5;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .carousel-content {
        bottom: 8%;
        padding: 15px 20px;
        max-width: 90%;
    }
    
    .carousel-content h2 {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    
    .carousel-content h2 strong,
    .carousel-content h2 b {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 0.9rem;
        margin-top: 8px;
    }
    
    .carousel-control {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 2%;
        gap: 10px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-content {
        bottom: 6%;
        padding: 12px 15px;
        max-width: 95%;
    }
    
    .carousel-content h2 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .carousel-content h2 strong,
    .carousel-content h2 b {
        font-size: 1.5rem;
    }
    
    .carousel-content p {
        font-size: 0.75rem;
        margin-top: 6px;
        letter-spacing: 1px;
    }
    
    .carousel-control {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .carousel-prev {
        left: 8px;
    }
    
    .carousel-next {
        right: 8px;
    }
    
    .carousel-indicators {
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
        border-width: 1px;
    }
}