/* --- Carousel Home --- */
.home-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 0;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    z-index: 5;
    max-width: 600px;
}

.carousel-content h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
}

.carousel-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.carousel-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-carousel-gray {
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-main);
    padding: 0.8rem 2.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-carousel-blue {
    background: var(--primary-light);
    color: white;
    padding: 0.8rem 2.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-carousel-gray:hover, .btn-carousel-blue:hover, .btn-carousel-orange:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* Overlay sutil para mejorar contraste */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.3), transparent);
}

/* Arrows */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel-control:hover {
    background: var(--primary-light);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev { left: 20px; }
.carousel-control.next { right: 20px; }

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

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: white;
    width: 30px;
    border-radius: 10px;
}
