@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* ---- CONFIGURACIÓN GENERAL ---- */
body {
    
    color: #fff;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}
/* ---- VIDEO DE FONDO ---- */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1; /* Coloca el video detrás del contenido */
    overflow: hidden;

}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta el video para cubrir toda la pantalla */
    transform: translate(-50%, -50%);
    z-index: -1; /* Mantiene el video detrás del contenido */
}


/* ---- Capa semitransparente sobre el video ---- */
.video-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo negro con 50% de opacidad */
    z-index: 0; /* Debajo del contenido pero encima del video */
}


/* ---- MENÚ DE NAVEGACIÓN ---- */
nav {   
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 0;
    width: 100%;
    position: relative; /* Ya no es fixed */
    margin-top: 20px; /* Espacio entre el h1 y el menú */
    z-index: 1000;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: 0.3s;
    color: #00FF00; /* Verde neón */
    text-shadow: 0px 0px 10px #00FF00;
}

nav ul li a:hover {
    color: #FF00FF;
    text-shadow: 0px 0px 15px #FF00FF;
}

/* ---- BOTÓN DE MENÚ (SOLO PARA MÓVILES) ---- */
.menu-toggle {
    display: none;
    background: #ff00ff;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* ---- TÍTULO CON EFECTO GLITCH ---- */
h1 {
     margin-top: 30px; /* Antes estaba en 120px */
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

h1::before,
h1::after {
    content: "COSMO FILM FEST: 4 y 5 DE ABRIL 2025";
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.8;
}

h1::before {
    color: #00FFFF;
    transform: translate(-2px, -2px);
}

h1::after {
    color: #FF00FF;
    transform: translate(2px, 2px);
}

/* ---- BOTÓN DE LLAMADA A LA ACCIÓN (CTA) CON EFECTO NEÓN ---- */
.cta-button {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 15px 15px;
    background: #ff00ff;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 8px;
    box-shadow: 0px 0px 15px #ff00ff;
    transition: 0.3s;
    font-family: 'Press Start 2P', cursive;
}

.cta-button:hover {
    background: #00ffea;
    box-shadow: 0px 0px 20px #00ffea;
}

/* ---- ESTILO PARA LOS ELEMENTOS <p> ---- */
p {
    background-color: rgba(0, 0, 0, 0.7); /* Fondo negro con 70% de opacidad */
    padding: 10px 20px;                  /* Espaciado interno para mejorar legibilidad */
    border-radius: 5px;                  /* Bordes ligeramente redondeados */
    display: inline-block;               /* Ajuste para el ancho del texto */
    margin-top: 20px;
    color: #fff;                         /* Color de texto blanco para contraste */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); /* Sombra para resaltar el texto */
    font-size: 1.1rem;                   /* Tamaño de fuente ajustado */
}



/* ---- BANNER CON ANIMACIÓN NEÓN ---- */
.banner {
    padding: 30px;
    background: linear-gradient(45deg, #0ff, #f0f, #00ff00);
    background-size: 400% 400%;
    animation: neonGlow 3s infinite alternate;
}

@keyframes neonGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* ---- SECCIÓN "EL FESTIVAL" ---- */
.festival-section {
    background-color: rgba(0, 0, 0, 0.7); /* Fondo negro con 70% de opacidad */
    padding: 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: left;
}

.festival-section h2 {
    color: #ff00ff; /* Títulos en color neón */
    margin-bottom: 10px;
    text-shadow: 0px 0px 10px #ff00ff;
}

.festival-section p, .festival-section ul li {
    background-color: rgba(0, 0, 0, 0.5); /* Fondo negro suave para textos y listas */
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.festival-section ul {
    list-style-type: none;
    padding-left: 0;
}

.festival-section ul li::before {
    content: "✔ ";
    color: #00ffea; /* Iconos en color neón */
}

.festival-section a.cta-button {
    margin-top: 20px;
    display: inline-block;
    text-align: center;
}

/* ---- FOOTER CON REDES SOCIALES ---- */
.footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 0;
    text-align: center;
    color: #fff;
    margin-top: 30px;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    gap: 10px; /* Espacio entre elementos */
}

.footer h3 {
    margin-bottom: 10px;
    color: #ff00ff;
    text-shadow: 0px 0px 10px #ff00ff;
}

.social-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Permite que los iconos bajen en móviles */
    gap: 10px; /* Ajuste de espacio entre iconos */
    margin-bottom: 10px;
}

.social-links li {
    display: inline;
}

.social-links li a {
    text-decoration: none;
    color: #00ffea;
    transition: 0.3s;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.social-links li a:hover {
    color: #ff00ff;
    text-shadow: 0px 0px 10px #ff00ff;
}

.social-icon i {
    margin-right: 5px;
}

.footer p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ccc;
}
/* ---- FOOTER RESPONSIVE ---- */
@media screen and (max-width: 768px) {
    .footer-container {
        padding: 0 10px;
    }

    .social-links li a {
        font-size: 1rem; /* Reduce el tamaño de los iconos en móviles */
    }

    .footer h3 {
        font-size: 1.2rem; /* Ajuste del título en móviles */
    }

    .footer p {
        font-size: 0.8rem; /* Reduce el tamaño del texto del footer */
    }
}

@media screen and (max-width: 480px) {
    .social-links li a {
        font-size: 0.9rem; /* Ajuste más pequeño en pantallas muy pequeñas */
    }

    .footer h3 {
        font-size: 1rem; /* Ajuste adicional del título en móviles pequeños */
    }
}

/* ---- IMÁGENES DEL HORARIO ---- */
.horarios-container {
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: center;  /* Centra horizontalmente */
    align-items: center;      /* Centra verticalmente si tiene altura fija */
}

.horario-img {
    max-width: 100%;
    height: auto;
    display: none;
    margin: 0 auto;            /* Centra la imagen dentro del contenedor */
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5); /* Sombra para resaltar */
}

#horario-horizontal {
    display: block;  /* Muestra por defecto la imagen horizontal */
}


/* Muestra la imagen vertical en modo portrait (móviles) */
@media screen and (orientation: portrait) {
    #horario-horizontal {
        display: none;
    }

    #horario-vertical {
        display: block;
    }
}

/* Muestra la imagen horizontal en modo landscape (PC y tablets) */
@media screen and (orientation: landscape) {
    #horario-horizontal {
        display: block;
    }

    #horario-vertical {
        display: none;
    }
}



/* ---- RESPONSIVE DESIGN ---- */

/* 🔹 Tablets y móviles (max 980px) */
@media screen and (max-width: 980px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        display: none;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
    nav{
         margin-top: 20px; /* Un poco más de espacio en móviles */
         margin-bottom: 20px;
    }

    .container{
        margin: 20px;

    }


}

/* 🔹 Ajustes para pantallas pequeñas (max 768px) */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
        margin-top: 90px;
    }
}

/* 🔹 Ajustes para pantallas muy pequeñas (max 480px) */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.2rem;
        margin-top: 50px;
    }
}
