
/**
 * ===================================================
 * © 2025 YUYAY Ltda. - yuyay.fin.ec
 * Sistema: Pagína Web
 * Versión: 2.5
 * Desarrollador: [Leonardo Verdugo Crespo - Sistemas]
 * Última modificación: 24/06/2024
 * ===================================================
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}
:root{
    --color_text-primary: #0464b4;
    --color_text-secundary: #101E2C;
    --color-text-tertiary: #485663;
    --main_color-primary:  #0067B1;
    --main_color-secundary: #0067B1;
    --background-color: #FAFBFE;
    --lowText_font_size: 16px;
    --text_size_title: 40px;
    --text_title_card: 24px;
    --text_title_card2:20px;
    --text_paragraph:16px;
    --box_shadow-primary:0px 6px 50px -20px rgba(0,0,0,0.2);
}
	
header{
	width: 100%;
	position: fixed; 
	top:0;
	left: 0;
	/*background:var(--main_color-primary);*/
	background: url(../../images/Conocenos/fondo-gris.png);
	z-index: 10;
	height: 185px;
	/*overflow: hidden;*/
	transition: all 0.5s ease;

	
}
/* Parte superior del header */
.top-header {
    display: flex; /* Usamos Flexbox para distribuir los elementos */
    justify-content: space-between; /* Distribuye los elementos a los extremos */
    align-items: center; /* Centra los elementos verticalmente */
    padding: 0 20px; /* Agrega espacio a los lados de la pantalla */
    width: 100%; /* Asegura que el contenedor ocupe el ancho completo */
	height: 100px;

}

.logo__header {
    display: flex;
    align-items: center;
	
}

.text_header h3{
    flex-grow: 1; /* Hace que el texto ocupe el espacio restante */
    text-align: right; /* Alinea el texto a la derecha */
	padding-right: 100px;
}

header  .logo__header{
    height: 90px; /* o el tamaño que desees */
    display: flex;
    align-items: center;
    justify-content: center;
	width: auto;
}
.logo__header img {
    height: 50PX;
    width: auto; /* mantiene la proporción */
    object-fit: contain; /* se asegura de que no se deforme */

}
  header .text_header h3{
	align-items: center;
	color: var(--background-color);
  }
  
  header  .logo__header img{
	
	align-items: center;
	justify-content: center;
	width: 230px;
	height: 105px;
	
  }


/*Contenedor en el que alinea tanto el logo como el menú*/
  .container {
    max-width: 1300px;
    margin: 0 240px;
    padding: 0 0px;
    width: 100%;
}

/* Estilos base del menú */
.container__menu {
    position: absolute;
    bottom: 0px;
    height: 90px;
    width: 100%;
    background: var(--main_color-primary);
    
}

.menu {
    max-width: 1300px;
    margin-left: 50px;
    height: 60%;
    display: flex;
    gap: 20px;
   
    margin-top: 20px;
}

/* Animación al pasar el cursor sobre las opciones del menú */
.menu nav ul li a {
    display: inline-block;
    padding: 10px 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu nav ul li a:hover {
    transform: scale(1.1); /* Acercamiento */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}



.menu nav ul li a:hover {
    animation: bounce 0.3s;
}


nav{
	height: 100%;
	
}

nav > ul{
	height: 100%;
	display: flex;

}
nav   ul  li{
	height: 100%;
	list-style: none;
	position: relative;
	
}

nav > ul > li:first-child > a{
	background-image: url(../..//images/Conocenos/casa.png) ;
	background-size: 24px;
	background-repeat:  no-repeat;
	background-position: center center;
	padding: 20px 40px;
} 
nav > ul > li:first-child:hover > a{
	background-image: url(../..//images/Conocenos/casa.png) ;
	background-size: 24px;
	background-repeat:  no-repeat;
	background-position: center center;
} 

nav > ul > li > a{
	width: 100%;
	height: 100%;
	display: flex;
	color: white;
	align-items: center;
	padding: 14px;
	text-transform: uppercase;
	font-size: 14px;
	transition: all 300ms ease;
	
}
nav > ul > li > a:hover{
	transform: scale(1.1);
	background: #0074c7;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
	
}
#selected{
	transform: scale(1.1);
	background-color: #0074c7;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
	
}
/* sub menu*/
nav  ul  li ul{
	width: 200px;
	display: flex;
	flex-direction: column;
	background: white;
	position: absolute;
	top: 90px;
	left: -5px;
	padding: 14px 0px; 
	visibility: hidden;
	opacity: 0;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
	z-index: 10;
	transition: all 300ms ease;
	
}
nav  ul  li:hover ul{
	visibility: visible;
	opacity: 1;
	top: 70px;
}
 nav ul li ul::before{
	content: '';
	width: 0;
	height: 0;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-bottom: 12px solid white;
	position: absolute;
	top: -12px;
	left: 20px;


 }
 .menu nav > ul{
	gap:13px;
 }

 nav ul li ul li a{
	display: block;
	color: #0099E9;
	padding: 6px;
	padding-left: 14px;
	margin-top: 10px;
	font-size: 14px;
	text-transform: uppercase;
	transition: all 300ms ease;
 }
 nav ul li ul li a:hover{
	background: #0074c7;
	color: white;
	transform: scale(1.1);
	padding-left: 30px;
	font-size: 14px;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
	
 }

/*Estilos para ocultar/mostrar el logo*/
.menu-logo {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
	margin-right: 30px; /* o el valor que prefieras */
    transform: translateY(0);
}

.menu-logo.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.menu-logo img {
    height: 40px; /* ajusta según lo que necesites */
}
/*ELEMENTOS RESPONSIVOS*/
.icon__menu{
	font-size: 26px;
	color:white;
	cursor: pointer;
	width: 26px;
	height: 100%;
	display: flex;
	align-items: center;

}
#label__check{
	width: 26px;
	height: 100%;
	display: none;
}
#check__menu{
	display: none;
}
 @media screen and (max-width:720px) {

	nav > ul{
		flex-direction: column;
		background-color: #023877;
		position: fixed;
		left: 0;
		top: 158px;
		width: 100%;
		height: 0px;
		transition: all 300ms ease;
		z-index: 100;
		opacity: 0;
		visibility: hidden;

	}
	nav > li > a:hover{
		transform: scale(1);

	}
	nav ul li ul{
		left: 90px;

	}
	nav > ul > li:hover ul{
		top: 50px;

	}
	nav>ul>li :first-child a{
		background-position: 20px;
	}
	#selected{
		transform: scale(1);
	}
	#label__check{
		display: block;
	}
	.icon__menu{
		display: flex;
	}
	#check__menu:checked ~nav > ul{
		height: 300px;
		visibility: visible;
		opacity: 1;
	}

 }
 /* Responsive menú y hamburguesa */
@media screen and (max-width: 1024px) {
    .menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
        height: auto;
    }

    #label__check {
        display: block;
        font-size: 28px;
        cursor: pointer;
        margin-bottom: 10px;
    }

    #check__menu {
        display: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    #check__menu:checked ~ .nav-links {
        display: flex;
    }

    .menu-logo {
        margin-bottom: 15px;
    }
}