/* ============================================================
   ESTILO GLOBAL   
   ============================================================ */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;   /* sin scroll lateral */
    overflow-y: auto;     /* scroll vertical normal */
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
}
:root {
    --menu-height: 70px;
}

/* Fondo a pantalla completa en el body */
body {
    background-image: url('https://i.postimg.cc/d1jKGdxt/Pic-01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ============================================================
   MENÚ SUPERIOR — VERSIÓN AZUL
   ============================================================ */
.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(0, 48, 73, 0.85); /* azul translúcido */
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 9999;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

.top-menu .brand {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.8px;
}

.top-menu .menu-right a {
    margin-left: 34px;
    color: #e8e8e8;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s ease;
    text-decoration: none;
}

.top-menu .menu-right a:hover {
    color: #ffffff;
}

.top-menu .menu-right a.active {
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
}

/* ============================================================
   CORRECCIÓN DE ANCHOS (SIN MAX-WIDTH)
   ============================================================ */

html, body {
    overflow-x: hidden !important;
}

* {
    box-sizing: border-box;
}
/* ============================================================
   OVERLAY PARA INDEX — CENTRADO VERTICAL REAL
   ============================================================ */

.index-overlay {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--menu-height)); /* ocupa toda la pantalla útil */
    margin-top: var(--menu-height);           /* evita solaparse con el menú */
    display: flex;
    justify-content: center;                  /* CENTRADO VERTICAL */
    align-items: center;                      /* centrado horizontal */
    text-align: center;
}

/* Título centrado y ligeramente más grande */
.index-titulo {
    font-size: 26px;          /* subido un punto */
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(0,0,0,0.85);
    margin: 0;                /* sin márgenes que lo desplacen */
    letter-spacing: 1px;
}
