
/* Sección de hero */
#hero {
    padding-top: 80px;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.contenedor {
    width: 100%;
    height: 100%;
    padding: 20px;
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 1;
}
.contenedor.svg-background {
    position: absolute;
    width: 100vw;
    height: 100%;
    bottom: 0;
    left: 0;
    z-index: 0;
    background: url('../img/ondas.svg') no-repeat bottom center;
    background-size: cover; 
}
.contenedor p{
    font-weight: bolder;
}
.contenedor .menu-whatsapp{
    z-index: 2;
    margin-top: 2rem;
    padding: 15px;
    background: var(--color-fondo-seccion-naranja);
    border: 5px solid var(--color-whatsapp);
    border-radius: 15px;
    color: var(--color-whatsapp);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-weight: bolder;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.contenedor .menu-whatsapp:hover {
    color: var(--color-whatsapp-hover);
    transform: scale(1.05);
    opacity: 0.9;
    border: 5px solid var(--color-whatsapp-hover);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
/* Fondo animado */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: slideBackground 15s infinite;
}
/* Animación de fondo */
@keyframes slideBackground {
    0% { background-image: url('../img/hero/carga-electrica.webp'); }
   25% { background-image: url('../img/hero/molinos_campo.webp'); }
   50% { background-image: url('../img/hero/techo_con_paneles.webp'); }
    75% { background-image: url('../img/hero/familia.webp'); }
    100% { background-image: url('../img/hero/carga-electrica.webp'); }
}