/* Estilos específicos para la sección principal */
.main-section {
    min-height: 100vh;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.main-section .image-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.main-section h1 {
    position: relative;
    opacity: 1;
    color: #ffffff;
    transform: translateY(0);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.main-section .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.main-section .main-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

.main-section .hero-content {
    position: absolute;
    top: 55%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    z-index: 2;
    max-width: 600px;
    padding-top: 20px;
}

.main-section .hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.main-section .hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
}

.main-section .cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #f20784;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.main-section .cta-button:hover {
    background-color: #e60679;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 7, 132, 0.4);
}

.main-section .cta-button:hover::before {
    left: 100%;
}

/* Clase para la animación de entrada */
.main-section .animate-in {
    animation: slideIn 1.5s ease-out forwards;
}

/* Clase para la animación de salida */
.main-section .animate-out {
    animation: slideOut 1.5s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-50px);
        opacity: 0;
    }
}

/* Estilos responsivos */
@media (max-width: 1024px) {
    .main-section .image-container,
    .main-section .main-image {
        height: 80vh;
    }
    
    .main-section .hero-content {
        left: 5%;
        padding-right: 5%;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .main-section .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .main-section .hero-content p {
        font-size: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .main-section .image-container,
    .main-section .main-image {
        height: 70vh;
    }
    
    .main-section .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 0.8rem;
    }
    
    .main-section .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .main-section .cta-button {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .main-section .image-container,
    .main-section .main-image {
        height: 100vh;
        min-height: 100%;
        width: 100%;
        object-fit: cover;
    }
    
    .main-section .hero-content {
        left: 5%;
        right: 5%;
        text-align: center;
        top: 50%;
        transform: translateY(-50%);
        padding: 20px;
    }
    
    .main-section .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .main-section .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}