

* {
    box-sizing: border-box;
}

/* Definimos la animación */
@keyframes entradaSuave {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html,
body {
    width: 100%;
    overflow-x: hidden; /* Bloquea el movimiento lateral */
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}





/*Barra*/
/* --- ESTILOS DE LA BARRA (NAVBAR) --- */
.navbar {
    width: 100%;
    height: 90px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0056B3;
    padding: 0 22px;
    margin: 0;
}


.navbar1 {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    position: absolute;      /* ← Posicionado sobre la imagen */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;           /* ← Por encima del hero */
    border-bottom: none !important;
}



.logo-img {
    width: 100px;
    height: 90px;
 
}





.menu-btn {
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
    background-color: transparent;
    border: none;
    cursor: pointer;
    margin: 0;
  
}

.avion_logo{
 
  width: 200px;
}



.menu-btn span {
    display: block;
    width: 25px;
    height: 5px;
    background-color: #ffffff;
    border-radius: 5px;
}



/*MENU 2*/

.menu-btn2 {
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
    background-color: transparent;
    border: none;
    cursor: pointer;
    margin-bottom: 35px;
   
  
}


.menu-btn2 span {
    display: block;
    width: 25px;
    height: 5px;
    background-color: #ffffff;
    border-radius: 5px;
}



.menu-btn3 {
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
    background-color: transparent;
    border: none;
    cursor: pointer;
    margin: 45px;
}


.menu-btn3 span {
    display: block;
    width: 25px;
    height: 5px;
    background-color: #ffffff;
    border-radius: 5px;
}






/*titulos de los menus desplegables*/
    .sistema-registro-box {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #495057;
        font-size: 16px;
        font-weight: 600;
        margin: 10px 0;
        padding: 8px 15px;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        cursor: default;
        transition: all 0.3s ease;
    }

    /* Estilo para el icono */
    .sistema-registro-box i {
        color: #007bff;
        font-size: 1.2rem;
    }

    /* Efecto sutil al pasar el mouse aunque no sea un link */
    .sistema-registro-box:hover {
        background-color: #e9ecef;
        border-color: #adb5bd;
    }


.menu-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    height: 100vh;
    background: linear-gradient(135deg, #0056B3);
    backdrop-filter: blur(15px);
    box-shadow: 10px 0 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    padding: 33px 23px;
    gap: 15px;

    /* Animación del menú más rápida (0.4s en lugar de 0.6s) */
    clip-path: circle(0% at 90% 5%);
    transition: clip-path 0.4s ease-out; 
    overflow-y: auto;
    z-index: 500;
}

.menu-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 500;
    
    /* Animación al pasar el mouse: mucho más rápida (0.15s) */
    transition: all 0.15s ease-out; 
    border: 1px solid transparent;
    
    opacity: 0;
    transform: translateX(-20px);
}

.menu-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px); /* Menos desplazamiento es más rápido */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.menu-links a.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    pointer-events: none;
}

.menu-links.active {
    clip-path: circle(150% at 90% 5%);
}

.menu-links.active a {
    opacity: 1;
    transform: translateX(0);
}

/* Delays reducidos a la mitad para que la entrada sea veloz */
.menu-links.active a:nth-child(1) { transition-delay: 0.05s; }
.menu-links.active a:nth-child(2) { transition-delay: 0.10s; }
.menu-links.active a:nth-child(3) { transition-delay: 0.15s; }
.menu-links.active a:nth-child(4) { transition-delay: 0.20s; }
.menu-links.active a:nth-child(5) { transition-delay: 0.25s; }











/* El contenedor de los botones pequeños */
.sub-menu {
    display: flex;
    flex-direction: column;
    margin-left: 30px; /* Sangría a la derecha para que parezca jerarquía */
    gap: 5px;          /* Espacio corto entre los dos hijos */
    margin-top: 5px;
    margin-bottom: 15px;
}

/* Usamos tus mismos estilos pero más pequeños */
.botoon-hijo {
    display: inline-block;
    padding: 10px 10px;     /* Menos padding que el original */
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 12px;        /* Letra más pequeña */
    font-weight: 600;
    width: fit-content;     /* Para que no ocupe todo el ancho si no quieres */
    transition: all 0.3s ease;
    opacity: 0.9;           /* Un poco más claro para diferenciar */
}

.botoon-hijo:hover {
    transform: translateX(1px); /* Se mueve a la derecha en lugar de subir */
    opacity: 1;
}

/* Línea divisoria opcional */
.divisor {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 0;
    width: 100%;
}




@media (max-width: 480px) {
 




.menu-links {

  width: 70%;
  height: 100%;

  

 
}


.avion_logo{
 
  width: 150px;
}


}











