/* ----- SECCIÓN A PANTALLA COMPLETA ----- */
.full-screen-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupa toda la pantalla */
    background: url('../img/foto3.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}

/* Capa oscura fija sobre la imagen para más dramatismo */
.full-screen-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Más oscuro para resaltar texto */
    z-index: 1;
}

/* Asegurar que el contenido esté por encima de la capa oscura */
.full-screen-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 1);
    animation: fadeIn 2s ease-in-out;
}

/* Efecto de glitch para hacer más impactante el título */
@keyframes glitch {
    0% { text-shadow: 2px 2px 5px rgba(255, 0, 0, 0.75), -2px -2px 5px rgba(0, 0, 255, 0.75); }
    50% { text-shadow: -2px -2px 5px rgba(255, 0, 0, 0.75), 2px 2px 5px rgba(0, 0, 255, 0.75); }
    100% { text-shadow: 2px 2px 5px rgba(255, 0, 0, 0.75), -2px -2px 5px rgba(0, 0, 255, 0.75); }
}

/* Título en rojo con glitch y efecto de vibración sutil */
.full-screen-title {
    color: #ffffff !important; /* Rojo intenso */
    font-size: 3rem;
    font-weight: bold;
}

.muertos {
    color: #cb0000 !important; /* Rojo intenso */
    font-size: 3rem;
    font-weight: bold;
    font-style: italic;
    animation: glitch 0.1s infinite alternate;
}

/* Subtítulo en blanco con un leve resplandor */
.full-screen-subtitle {
    color: #e8e8e8 !important; /* Blanco menos brillante */
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.5);
    opacity: 0.95;
}

.full-screen-small-text {
    color: #e8e8e8 !important; /* Blanco puro */
    font-size: 1rem;
    font-style: italic;
    animation: fadeBlink 2s infinite;
    opacity: 0.8;
}

/* Animación de aparición para el contenido */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.full-screen-content {
    animation: fadeIn 2s ease-in-out;
}

/* Efecto Parallax para la imagen de fondo */
.full-screen-section {
    background-attachment: fixed;
}

@keyframes shake {
    0% { transform: translate(0px, 0px); }
    25% { transform: translate(-1px, 1px); }
    50% { transform: translate(1px, -1px); }
    75% { transform: translate(-1px, -1px); }
    100% { transform: translate(1px, 1px); }
}

#videoContainer {
    position: fixed; /* Fijar el video en toda la pantalla */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2; /* Asegurar que se muestre sobre otros elementos */
    display: flex;
    justify-content: center;
    align-items: center;
    background: black; /* Evitar bordes blancos en diferentes resoluciones */
}

#playableVideo {
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Asegurar que el video cubra toda la pantalla */
}

.container {
    position: relative;
    z-index: 3; /* Asegurar que esté sobre el video */
}

.slider-scroll-button {
    bottom: 20px !important; /* Asegurar que no se corte */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}
/* ======================= */
/*  Ajustes del modal del video */
/* ======================= */
/* Estilo del modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

/* Contenedor del video más grande */
.video-modal-content {
    position: relative;
    width: 90vw;  /* Aumentamos el ancho */
    max-width: 1400px; /* Máximo tamaño en pantallas grandes */
    height: 85vh;  /* Aumentamos la altura */
    background: black;
    padding: 0;
    border-radius: 15px; /* Bordes redondeados */
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3); /* Sombra más visible */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ajuste del video dentro del modal */
.video-modal video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover; /* Asegurar que se ajuste correctamente */
}

/* Estilo del botón de Play */
.btn-play {
    background: rgba(255, 255, 255, 0.2); /* Botón transparente */
    border: 2px solid white;
    color: white;
    font-size: 2rem; /* Tamaño del icono */
    width: 70px;
    height: 70px;
    border-radius: 50%; /* Botón circular */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Efecto hover */
.btn-play:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Ajustar la posición del botón */
.btn-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Evitar la barra de desplazamiento horizontal */
body, html {
    overflow-x: hidden; /* Oculta el scroll horizontal en toda la página */
    margin: 0;
    padding: 0;
}

/* Asegurar que el contenedor del video no genere scroll */
.video-background-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Evita el desplazamiento no deseado */
}

/* Ajuste del video para que no sobrepase los límites */
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

/* Capa de oscurecimiento */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75); /* Ajustar opacidad si es necesario */
}

/* Botón de Play */
.btn-play {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-size: 2rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Efecto hover */
.btn-play:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Animación de aparición suave para el video */
@keyframes fadeInVideo {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.background-video {
    animation: fadeInVideo 1.5s ease-in-out;
}

/* Efecto de pulsación en el botón de Play */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    }
}

.btn-play {
    animation: pulse 2s infinite;
}

html {
    scroll-behavior: smooth;
}

@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Reducir toda la sección de datos de guerra al 90% */
.seccion-datos-guerra {
    transform: scale(0.9);
    transform-origin: center;
}

/* Ajuste opcional: reducir márgenes para mantener alineación */
.seccion-datos-guerra {
    margin-top: -20px;
    margin-bottom: -20px;
}

.separador {
    width: 80%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3); /* Gris oscuro translúcido */
    margin: 20px auto;
}

/* Reducir los márgenes entre secciones */
.section {
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Espacio entre la barra y el porcentaje */
}

.progress-bar {
    background: #333;
    border-radius: 5px;
    height: 20px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    background: red;
    height: 100%;
    border-radius: 5px;
}

.progress-percentage {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.789);
    font-weight: bold;
    min-width: 35px; /* Mantiene alineación */
    text-align: left;
    margin-left: 12px; /* Espacio entre la barra y el porcentaje */
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 90vw; /* Ajusta según el tamaño deseado */
    max-height: 90vh; /* Mantiene márgenes respecto a la pantalla */
    overflow: visible; /* Permite que los subtítulos sean visibles */
    border-radius: 15px; /* Mantiene el estilo redondeado */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.video-container video {
    width: 100%;
    height: auto;
    object-fit: contain; /* Evita que el video se recorte */
}

.video-modal-content {
    width: 98%; /* Casi toda la pantalla */
    max-width: 1200px; /* Permite mayor tamaño en pantallas grandes */
    height: auto;
     background: black;
    padding: 8px; /* Pequeño margen negro para el efecto */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px; /* Mantiene bordes suaves */
}

.video-modal-content video {
    width: 100%;
    height: auto; /* Mantiene la proporción del video */
}
