/* inicio.css - Estilos para la sección principal de bienvenida (Hero), incluyendo diseño de texto, llamadas a la acción y contenedor de imágenes */

.hero.section,
.hero {
    padding-top: 40px;
}

.hero {
    padding: 80px 0;
    background-color: #f4eee8;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    flex: 0 0 45%;
}

.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 0 0 50%;
}

.hero-carousel-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    background-color: #ffffff;
    border-radius: 15px;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 20px;
    background-size: 50%, 50%;
}

#heroCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#heroCarousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }

    .hero-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }

    .hero-text, .hero-image {
        flex: 0 0 100%;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-carousel-img {
        height: 250px;
        object-fit: contain;
        background-color: #f4eee8;
    }
}