@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

color_verde {
    --main-bg-color: #094c79;
}

*{
    box-sizing: border-box;
}

body{
    font-family: 'Montserrat', sans-serif;
    background: rgb(11,17,56);
    background: linear-gradient(90deg, rgba(11,17,56,1) 0%, rgba(9,76,121,1) 50%, rgba(11,17,56,1) 100%);
    
}

.logo{
    padding: 10px;
    max-width: 100px;
    width: 100%;
}

/*NAVBAR*/

.offcanvas{
    background-color: var(--main-bg-color);
}

/* Botón del toggler */
.navbar-toggler {
  color: #ffffff !important; /* Color dorado para el ícono */
  border: 1px solid rgb(212, 212, 212) !important;
  border-radius: 5px;
  padding: 0.5rem;
}

.nav-link{
    font-weight: 600;
    color: #FFF;
}

.nav-link:hover{
    font-weight: 600;
    color: #8a8a8a;
}


.navbar-toggler:focus{
    box-shadow: none;
}

.dropdown>.dropdown-menu{
    border: none;
    border-radius: 0;
}

.lni-chevron-right-circle{
    padding: 30px;
    font-size: 30px;
}

.lni-chevron-left-circle{
    font-size: 15rem;
}


@media (min-width:992px){
    .dropdown>.dropdown-menu{
        visibility: hidden;
        opacity: 0;
        top: 100%;
        display: block;
        transition: all 0.1s ease-out;
    }

    .dropdown:hover>.dropdown-menu{
        padding: 20px 0;
        display: block;
        visibility: visible;
        opacity: 1;
        transition: all 0.3s ease-in-out;
    }

    .dropdown-item:hover{
        background-color: black;
        color: white;
    }
}


/*FOOTER*/

.contenedor-footer {
    background-color: var(--main-bg-color) ;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 4rem 8rem;
    font-family: Montserrat;
  }
  
  .footer-logo img{
    width: 300px;
    object-fit: cover;
    height: 90px;
  }
  
  .acerca , .footer-logo{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .acerca li , .footer-logo li{
    list-style: none;
    padding: 0;
  }
  
  .acerca li a , .footer-logo li a{
    color: white;
    text-decoration: none;
    font-size: medium;
  }

  .acerca li a:hover, .footer-logo li a:hover{
    color: black;
  }
  
  .acerca h4 {
    font-size: 1.5rem;
    margin: 0;
    margin-left: 1rem;
    color: white;
    text-decoration: underline;
  }
  
  .mapa {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 0 10rem;
  }
  
  .mapa iframe {
    border-radius: 2rem;
    width: 16rem;
    height: 12rem;
    padding-top: 0rem;
    margin: 0;
  }

  /*Copyright*/
.copyright {
  border-top: 1px solid black;
  justify-content: center;
  display: flex;
  background-color: var(--main-bg-color);
  align-items: center;
  padding: 0rem 8rem;
  color: white;
  font-family: Montserrat;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .navbar-nav {
      padding: 1rem 0;
  }
  
  .nav-item {
      text-align: center;
      margin: 0.5rem 0;
  }
  
  .offcanvas {
      width: 75%;
  }
}

@media (max-width: 768px) {
  .contenedor-footer {
      grid-template-columns: 1fr;
      text-align: center;
  }
  
  .mapa {
      padding: 0;
      margin-top: 1rem;
  }
  
  .footer-logo img {
      width: 200px;
  }
}

@media (max-width: 576px) {
  .logo {
      max-width: 80px;
  }
  
  .mapa iframe {
      height: 150px;
  }
}

/* NAVBAR MOBILE - OFFCANVAS - VERSIÓN MEJORADA */
@media (max-width: 991.98px) {
    .offcanvas {
        background: #095181 !important;
        backdrop-filter: blur(15px);
        border-left: 3px solid rgba(255, 255, 255, 0.1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
  
    .navbar-toggler {
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 10px;
        padding: 0.75rem 1rem;
        transition: all 0.3s ease;
    }
  
    .navbar-toggler i {
        color: #fff !important;
        font-size: 1.8rem;
        transition: transform 0.3s ease;
    }
  
    .navbar-toggler[aria-expanded="true"] i {
        transform: rotate(90deg);
    }
  
    .navbar-nav {
        padding: 1.5rem 0;
    }
  
    .nav-item {
        margin: 0.5rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
  
    .nav-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }
  
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 1.5rem !important;
        color: #fff !important;
        display: flex;
        align-items: center;
        gap: 1rem;
        position: relative;
    }
  
    .nav-link::after {
        content: '';
        position: absolute;
        right: 1.5rem;
        width: 8px;
        height: 8px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transition: all 0.3s ease;
    }
  
    .nav-link:hover::after {
        background: #fff;
        transform: scale(1.5);
    }
  
    .dropdown-menu {
        background: rgba(0, 0, 0, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0 1rem;
        border-radius: 8px;
    }
  
    .dropdown-item {
        color: #fff !important;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        position: relative;
    }
  
    .dropdown-item::before {
        content: '';
        color: rgba(255, 255, 255, 0.5);
        margin-right: 1rem;
    }
  
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.05) !important;
        padding-left: 2rem;
    }
  
    .offcanvas-header {
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
  
    .offcanvas-header .navbar-toggler {
        width: 100%;
        justify-content: space-between;
        background: none;
        border: none !important;
        padding: 0.5rem;
    }
  }
  
  /* Mejora del menú desktop */
  @media (min-width: 992px) {
    .nav-link {
        position: relative;
        overflow: hidden;
        padding: 0.5rem 1rem !important;
        margin: 0 0.5rem;
    }
  
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: #fff;
        transition: width 0.3s ease;
    }
  
    .nav-link:hover::after {
        width: 100%;
    }
  
    .dropdown-menu {
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: #094c79;
        margin-top: 0.5rem !important;
        border-radius: 8px;
    }
  
    .dropdown-item {
        color: #fff !important;
        padding: 0.75rem 1.5rem;
        transition: all 0.3s ease;
    }
  
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        padding-left: 1.75rem;
    }
  }



/* Animación de apertura del offcanvas */
.offcanvas {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Mejor contraste en los títulos */
.offcanvas-title {
    color: #fff !important;
    font-weight: 600;
}

/* Efecto de hover más suave */
.nav-link {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
