/*############################# estilos slider ######################################*/

.slider-container {
    width: 99vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.content {
    position: absolute;
    z-index: 20;
    text-align: left;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
    max-width: 600px;
}

h1 {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 25px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1.5px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 45px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.cta-button {
    display: inline-block;
    padding: 20px 55px;
    background: linear-gradient(to right, #ff8a00, #da1b60);
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(218, 27, 96, 0.4);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards, pulse 2s infinite 2.5s;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(218, 27, 96, 0.6);
}

.cta-button:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.6s;
    z-index: -1;
}

.cta-button:hover:after {
    left: 100%;
}

/* Avión de papel estático */
.paper-plane {
    position: absolute;
    top: 35%;
    right: 15%;
    z-index: 15;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    transform-origin: center;
    animation: float 5s ease-in-out infinite, slightRotate 8s linear infinite;
}

.plane {
    width: 300px;
    height: 300px;
    position: relative;
}

.plane-body {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 110px solid transparent;
    border-right: 110px solid transparent;
    border-bottom: 90px solid #f8f8f8;
    top: 0;
    left: 0;
    transform: perspective(120px) rotateX(30deg);
    box-shadow: inset -8px -8px 15px rgba(0, 0, 0, 0.1);
}

.plane-wing {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 105px solid #f0f0f0;
    top: 79px;
    left: 24px;
    transform: perspective(120px) rotateX(30deg);
    box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.08);
}

/* Efectos de viento moviéndose */
.wind-line {
    position: absolute;
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.8), transparent);
    height: 2px;
    border-radius: 50%;
    opacity: 0;
    filter: blur(1px);
    z-index: 5;
}

.wind-line:nth-child(1) {
    top: 42%;
    right: 30%;
    width: 70px;
    animation: wind 4s infinite 0.1s;
}

.wind-line:nth-child(2) {
    top: 46%;
    right: 28%;
    width: 100px;
    animation: wind 4s infinite 0.7s;
}

.wind-line:nth-child(3) {
    top: 44%;
    right: 26%;
    width: 60px;
    animation: wind 4s infinite 1.3s;
}

/* Animaciones */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px);
    }
}

@keyframes slightRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

@keyframes wind {
    0% {
        opacity: 0;
        transform: translateX(0);
    }
    10% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateX(-100px);
    }
}

/* Nubes moviéndose de derecha a izquierda */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    filter: blur(30px);
    z-index: 10;
    animation: drift 40s linear infinite;
}

.cloud-1 {
    width: 300px;
    height: 100px;
    top: 20%;
    right: -300px;
    animation-delay: 0s;
}

.cloud-2 {
    width: 250px;
    height: 80px;
    top: 40%;
    right: -250px;
    animation-delay: 10s;
    animation-duration: 50s;
}

.cloud-3 {
    width: 200px;
    height: 70px;
    top: 60%;
    right: -200px;
    animation-delay: 5s;
    animation-duration: 45s;
}

.cloud-4 {
    width: 350px;
    height: 120px;
    top: 30%;
    right: -350px;
    animation-delay: 15s;
    animation-duration: 60s;
}

@keyframes drift {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-150vw);
    }
}

/* Partículas flotantes */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatParticle 12s infinite ease-in-out;
    z-index: 1;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.8;
    }
    50% {
        transform: translate(50px, -40px);
        opacity: 0.3;
    }
}

/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 138, 0, 0.6);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 138, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 138, 0, 0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .paper-plane {
        right: 10%;
    }
    
    h1 {
        font-size: 3.8rem;
    }
}

@media (max-width: 992px) {
    .content {
        left: 5%;
        max-width: 500px;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .paper-plane {
        right: 5%;
        top: 40%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }
    
    .cta-button {
        padding: 16px 45px;
        font-size: 1.2rem;
    }
    
    .plane {
        width: 140px;
        height: 95px;
    }
    
    .plane-body {
        border-left: 70px solid transparent;
        border-right: 70px solid transparent;
        border-bottom: 45px solid #f8f8f8;
    }
    
    .plane-wing {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-top: 60px solid #f0f0f0;
        top: 40px;
        left: 30px;
    }
}

@media (max-width: 576px) {
    .content {
        left: 5%;
        right: 5%;
        padding: 0 20px;
        text-align: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .paper-plane {
        top: 5%;
        right: 25%;
        transform: translateX(50%);
    }

    
    .cta-button {
        padding: 14px 40px;
        font-size: 1.1rem;
    }
    
    .wind-line {
        display: none;
    }
}
/*############################# fin estilos slider ######################################*/