*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background:#111;
    color:#fff;
}

header{
    background:#000;
    padding:15px;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

nav ul{
    list-style:none;
    display:flex;
    gap:15px;
}

nav a{
    color:gold;
    text-decoration:none;
}

.hero{
    background:url('https://images.unsplash.com/photo-1503376780353-7e6692767b70') center/cover;
    height:80vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.btn{
    background:gold;
    color:black;
    padding:10px 20px;
    margin-top:15px;
    text-decoration:none;
}

section{
    padding:40px 20px;
}

.cards{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.card{
    background:#222;
    padding:15px;
    width:300px;
}

.card img{
    width:100%;
}

footer{
    background:#000;
    text-align:center;
    padding:15px;
}

/* ========== ESTILOS DEL CARRUSEL ========== */

.carousel-section {
    background: #0a0a0a;
    padding: 60px 20px;
    text-align: center;
}

.carousel-section h2 {
    font-size: 2.5em;
    color: gold;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
}

.carousel {
    position: relative;
    width: 100%;
    height: 600px;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

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

.carousel-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.carousel-caption h3 {
    font-size: 2em;
    color: gold;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 1.2em;
    color: #fff;
}

/* Botones de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.8);
    color: #000;
    border: none;
    font-size: 2em;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 5px;
}

.carousel-btn:hover {
    background: gold;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

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

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 215, 0, 0.7);
}

.indicator.active {
    background: gold;
    width: 40px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel {
        height: 400px;
    }
    
    .carousel-section h2 {
        font-size: 1.8em;
    }
    
    .carousel-caption h3 {
        font-size: 1.5em;
    }
    
    .carousel-caption p {
        font-size: 1em;
    }
    
    .carousel-btn {
        font-size: 1.5em;
        padding: 10px 15px;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .carousel {
        height: 300px;
    }
    
    .carousel-caption {
        padding: 15px 20px;
    }
    
    .carousel-caption h3 {
        font-size: 1.2em;
    }
    
    .carousel-caption p {
        font-size: 0.9em;
    }
}