.SeccionPrincipal {
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;

    background: linear-gradient(270deg, #0f1a14, #1f3d2b, #0f1a14);
    background-size: 400% 400%;
    animation: fondoAnimado 14s ease infinite;
}

/* CAPA DE PARTÍCULAS SUAVES */
.SeccionPrincipal::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: moverParticulas 40s linear infinite;
}

/* FORMAS ORGÁNICAS DE COLOR */
.SeccionPrincipal::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(122,176,65,0.25), transparent 70%);
    filter: blur(120px);
    top: -200px;
    left: -200px;
    animation: flotar 10s ease-in-out infinite alternate;
}

/* CONTENEDOR */
.seccionPrincipal-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transform: translateY(-40px);
    position: relative;
    z-index: 2;
}

/* TEXTO */
.text {
    max-width: 50%;
    animation: aparecerTexto 1.2s ease;
}

.text h1 {
    font-size: 46px;
    margin-bottom: 20px;
    text-align: center;
}

.text p {
    font-size: 23px;
    margin-bottom: 50px;
    color: #ccc;
    text-align: center;
}

/* IMAGEN */
.image img {
    width: 420px;
    border-radius: 12px;
    animation: flotarImagen 6s ease-in-out infinite;
}

/* BOTÓN */
.text button {
    padding: 15px 35px;
    background-color: #7bb041;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.text button:hover {
    transform: scale(1.05);
}

/* ANIMACIÓN FONDO */
@keyframes fondoAnimado {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

/* PARTÍCULAS MOVIÉNDOSE */
@keyframes moverParticulas {
    from {transform: translate(0,0);}
    to {transform: translate(-200px,-200px);}
}

/* FORMA VERDE FLOTANTE */
@keyframes flotar {
    from {transform: translateY(0);}
    to {transform: translateY(60px);}
}

/* IMAGEN FLOTANDO */
@keyframes flotarImagen {
    0% {transform: translateY(0);}
    50% {transform: translateY(-15px);}
    100% {transform: translateY(0);}
}

/* APARICIÓN TEXTO */
@keyframes aparecerTexto {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .seccionPrincipal-content {
        gap: 30px;
    }
    
    .text {
        max-width: 45%;
    }
    
    .text h1 {
        font-size: 36px;
    }
    
    .text p {
        font-size: 18px;
    }
    
    .image img {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .SeccionPrincipal {
        height: auto;
        padding: 60px 0;
    }
    
    .seccionPrincipal-content {
        flex-direction: column;
        align-items: center;
        transform: none;
    }
    
    .text {
        max-width: 100%;
        text-align: center;
    }
    
    .text h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .text p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .image {
        width: 100%;
        max-width: 350px;
    }
    
    .image img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .SeccionPrincipal {
        padding: 40px 0;
    }
    
    .text h1 {
        font-size: 20px;
    }
    
    .text p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .image img {
        width: 100%;
        max-width: 280px;
    }
}