.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #f0f0f0;
}

.carousel {
    display: flex;
    width: calc(100% * 3);
    transition: transform 0.5s ease-in-out;
}

.carousel img {
    width: 100vw;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(139, 0, 0, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Responsive para tablets */
@media (max-width: 1024px) {
    .carousel img {
        max-height: 400px;
    }

    .carousel-btn {
        padding: 10px 14px;
        font-size: 20px;
    }

    .prev {
        left: 15px;
    }

    .next {
        right: 15px;
    }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .carousel img {
        max-height: 300px;
    }

    .carousel-btn {
        padding: 8px 12px;
        font-size: 18px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}

/* Responsive para móvil pequeño */
@media (max-width: 480px) {
    .carousel img {
        max-height: 200px;
    }

    .carousel-btn {
        padding: 6px 10px;
        font-size: 16px;
    }

    .prev {
        left: 8px;
    }

    .next {
        right: 8px;
    }
}