/* ===== SLIDER MODERNO ===== */
.slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
}

.slides {
    display: flex;
    width: 300%;
    transition: transform 0.6s ease-in-out;
}

.slide {
    width: 100%;
    position: relative;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(70%);
}

/* Texto */
.caption {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 500px;
}

.caption h2 {
    font-size: 40px;
    margin-bottom: 15px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.6);
}

.caption p {
    font-size: 18px;
}

/* Botones */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 25px;
    border-radius: 50%;
    transition: 0.3s;
}

.prev:hover, .next:hover {
    background: #00d4ff;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Indicadores */
.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #00d4ff;
}

/* Responsive */
@media (max-width: 768px) {
    .slider {
        height: 350px;
    }

    .slide img {
        height: 350px;
    }

    .caption h2 {
        font-size: 25px;
    }

    .caption p {
        font-size: 14px;
    }
}