/* Contenedor general de portada */
.portada {
    width: 100%;
    height: calc(80vh - 80px);
    position: relative;
    margin-top: 80px;
    overflow: hidden;
    background-color: #fff9f0;
}

/* Contenedor del video */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Video de fondo */
.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Texto centrado sobre el video */
.video-container .slider-text {
    position: absolute;
    top:52%; /* un poco m¨¢s arriba para dar espacio visual */
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 1;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6); /* mejora legibilidad sin overlay */
    animation: fadeInText 2s forwards 0.5s;
    opacity: 0;
}

/* Animaci¨®n de aparici¨®n */
@keyframes fadeInText {
    to { opacity: 1; }
}

/* T¨ªtulo */
.video-container .slider-text h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 3em;
    line-height: 1.2;
    margin: 0;
}

/* P¨¢rrafo */
.video-container .slider-text p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.1em;
    line-height: 1.6;
    margin: 0;
}

/* Botones */
.video-container .slider-buttons {
    margin-top: 10px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.video-container .portada-btn {
    font-family: 'Poppins', sans-serif;
    padding: 12px 28px;
    font-size: 1em;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.video-container .portada-btn:first-child {
    background-color: #ff7a5c;
    color: white;
    box-shadow: 0 6px 12px rgba(255, 122, 92, 0.4);
}

.video-container .portada-btn:first-child:hover {
    background-color: #ff4e2c;
    box-shadow: 0 8px 16px rgba(255, 78, 44, 0.5);
    transform: translateY(-2px);
}

.video-container .portada-btn:last-child {
    background-color: #3ebca3;
    color: white;
    box-shadow: 0 6px 12px rgba(62, 188, 163, 0.4);
}

.video-container .portada-btn:last-child:hover {
    background-color: #2a7e6f;
    box-shadow: 0 8px 16px rgba(42, 126, 111, 0.5);
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .video-container .slider-text h1 {
        font-size: 2.4em;
    }
    .video-container .slider-text p {
        font-size: 1em;
    }
    .video-container .slider-buttons {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    /* Ocultar texto en m¨®viles, solo mostrar botones */
    .video-container .slider-text h1,
    .video-container .slider-text p {
        display: none;
    }

    .video-container .slider-text {
        top: 50%; /* centrar solo los botones */
        max-width: 90%;
    }

    .portada {
        height: 50vh;
    }
}
