/* Configuración Global y Reset */
body {
    font-family: Arial, sans-serif;
    background-color: #0d0d0d;
    color: #f0f0f0;
    margin: 0;
    padding-top: 70px; 
    line-height: 1.6;
    scroll-behavior: smooth; 
}

/* ESTILO BASE PARA EL CONTENEDOR DE CONTENIDO */
.container { 
    max-width: 1200px; margin: 20px auto; padding: 0 15px; display: flex; gap: 20px; 
}

/* CLASE BASE PARA SECCIONES CON FONDO DE ANCHO COMPLETO */
.full-width-section {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}


/* --- 1. ENCABEZADO SUPERIOR (FIJO Y ALINEADO) --- */

.top-header {
    background-color: #000; border-bottom: 1px solid #1a1a1a; width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101; 
    height: 70px; 
}
.header-content { 
    max-width: 1400px; margin: 0 auto; 
    padding: 0 15px; 
    display: flex; justify-content: space-between; 
    align-items: center; 
    height: 100%; 
}

/* LOGO GRANDE Y CENTRADO */
.logo img { 
    height: 50px; 
    width: auto; 
    display: block; 
}

.top-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.top-nav ul li { padding: 0 10px; }
.top-nav ul li.separator { color: #444; padding: 0 5px; }
.top-nav ul li a { color: #f0f0f0; text-decoration: none; font-size: 0.9em; font-weight: bold; transition: color 0.2s; }
.top-nav ul li a:hover { color: #cc0000; }

/* CENTRADO Y ALINEACIÓN DE BOTONES */
.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}
.btn-register { color: #f0f0f0; text-decoration: none; font-size: 0.9em; padding: 5px 0; font-weight: bold; opacity: 0.8; }
.btn-register:hover { opacity: 1; color: #cc0000; }

/* BOTÓN DE ACCIÓN CON TEXTO ALINEADO */
.btn-login {
    background-color: #1c2e3a; color: #f0f0f0; text-decoration: none; 
    padding: 8px 20px; 
    font-size: 1em; font-weight: bold; border: 1px solid #366085; border-radius: 3px;
    transition: background-color 0.3s, border-color 0.3s;
}
.btn-login:hover { background-color: #2e4a60; border-color: #5a88b5; }


/* --- MENÚ FLOTANTE VERTICAL Y FIJO A LA IZQUIERDA (Añadido evento-4) --- */
.floating-menu {
    position: fixed; 
    top: 150px; 
    left: 0;
    width: auto; 
    z-index: 99; 
    background-color: rgba(0, 0, 0, 0.95);
    border: 2px solid #f2a900;
    border-left: none; 
    border-radius: 0 8px 8px 0; 
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.5); 
}

.floating-menu .menu-item {
    color: #f0f0f0; text-decoration: none; font-size: 1em; font-weight: bold; 
    padding: 10px 15px; 
    margin: 3px 0; 
    transition: background-color 0.3s, color 0.3s; 
    border-radius: 0; 
    text-align: left;
}

.floating-menu .menu-item:hover {
    background-color: #2c2c2c;
    color: #ffd700;
    border-left: 5px solid #f2a900; 
    padding-left: 10px;
}

.floating-menu .menu-home {
    color: #ffd700;
    border-top: 1px solid #333; 
    margin-top: 10px;
}
.floating-menu .menu-home:hover {
    background-color: #f2a900;
    color: #000;
}


/* --- 2. BANNER PRINCIPAL (LOGO Y TEXTO DE LLAMADA) --- */

.hero-banner { 
    padding-top: 70px; 
    max-height: 900px; height: 600px;
    background: url('../img/fondo-anubis-hero.jpg') no-repeat center bottom/cover;
    overflow: hidden; 
}
.hero-banner::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-banner::after {
    content: "";
    position: absolute; bottom: 0; left: 0; right: 0; height: 50px;
    background: linear-gradient(to top, #0d0d0d 0%, rgba(13, 13, 13, 0) 100%); 
    z-index: 2;
}

.hero-content { position: relative; z-index: 3; max-width: 800px; color: #fff; margin: 0 auto; }
.anubis-title-img { max-width: 100%; height: auto; margin-bottom: 10px; } 

.hero-callout {
    font-size: 1.6em; color: #f0f0f0; text-shadow: 1px 1px 3px #000;
    line-height: 1.3; margin: 0 auto; max-width: 90%; z-index: 4;
}


/* --- SEPARADOR DE SECCIÓN: MÁS NOTORIO --- */
.section-divider {
    border: 0; height: 3px; max-width: 1200px; margin: 0 auto; 
    background-image: linear-gradient(to right, #0d0d0d 0%, #f2a900 20%, #ffd700 50%, #f2a900 80%, #0d0d0d 100%); 
}


/* --- 3, 4, 5, 6. BLOQUES DE EVENTO (Estructura Base) --- */

/* Estilos de fondo para cada sección */
.event-block-1-main {
    background: url('../img/fondo-evento-1.jpg') no-repeat center center/cover; padding: 0; 
}
.second-event-main {
    background: url('../img/fondo-evento-2.jpg') no-repeat center center/cover; padding: 0; 
}
.third-event-main {
    background: url('../img/fondo-evento-3.jpg') no-repeat center center/cover; padding: 0; 
}
.fourth-event-main {
    /* NOTA: Define un fondo único aquí si lo deseas */
    background: url('../img/fondo-evento-4.jpg') no-repeat center center/cover; padding: 0; 
}


/* Degradado en la PARTE SUPERIOR (para fundirse con el separador) */
.event-block-1-main::before, .second-event-main::before, .third-event-main::before, .fourth-event-main::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 50px;
    background: linear-gradient(to bottom, #0d0d0d 0%, rgba(13, 13, 13, 0) 100%); z-index: 2;
}

/* --- TÍTULO SUPERIOR (Estilo Banner - Compartido) --- */
.event-title-container-top {
    background-color: rgba(0, 0, 0, 0.6); padding: 15px 40px; z-index: 10; text-align: center; max-width: 600px; 
    width: 90%; margin-top: 20px; border: 1px solid #333; border-radius: 6px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.event-title-text-top {
    font-size: 3em; color: #cc0000; text-shadow: 2px 2px 4px #000; margin: 0; text-transform: uppercase; line-height: 1.1;
}
.event-title-description-top {
    font-size: 1.5em; color: #bdbd00; margin: 5px 0 0 0; text-shadow: 1px 1px 1px #000;
}


/* --- Contenedor de la IMAGEN del evento (Compartido) --- */
.event-image-section {
    max-width: 1250px; width: 90%; margin: 20px auto; 
    display: flex; justify-content: center; 
    padding: 3px; background-color: rgba(0, 0, 0, 0.95); 
    border: 1px solid #333; box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); border-radius: 4px; z-index: 3;
}

.event-image-wrapper { line-height: 0; }
.event-image-large {
    width: 100%; height: auto; display: block; max-width: 100%;
    border: none; outline: none;
}


/* --- PIE DE PÁGINA --- */

footer {
    background-color: #000; text-align: center; padding: 10px 0; font-size: 0.9em; border-top: 1px solid #333; margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    /* Ocultamos el menú lateral en móviles */
    .floating-menu {
        display: none; 
    }
    
    body { padding-top: 50px; } 
    .top-header { height: 50px; }
    .hero-banner { padding-top: 50px; } 
    
    /* Layout de una sola columna en móviles */
    .container {
        flex-direction: column; 
    }

    /* Otros estilos responsivos */
    .header-content { flex-direction: column; gap: 10px; }
    .top-nav ul { flex-wrap: wrap; justify-content: center; }
    .top-nav ul li.separator { display: none; }
    .hero-banner { height: 400px; }
    .event-title-container-top { max-width: 95%; padding: 10px 20px; }
    .event-title-text-top { font-size: 1.8em; }
    .event-title-description-top { font-size: 1em; }
    .event-image-section { padding: 3px; } 
}