/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/main.webp');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Secciones generales */
.about, .carousel-section {
    padding: 5rem 0;
    text-align: center;
}

.about h2, .carousel-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #7f8c8d;
    line-height: 1.8;
}

/* Carrusel */
.carousel {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-control.prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.carousel-control.next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

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

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

.indicator.active {
    background: white;
}

/* Responsive para index */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .carousel-item img {
        height: 300px;
    }
    
    .about, .carousel-section {
        padding: 3rem 0;
    }
    
    .about h2, .carousel-section h2 {
        font-size: 2rem;
    }
}