/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding-top: 3.4375rem; /* evita que el contenido quede detrás del nav */
  
}

.navbar-fixed {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.75rem;
  background-color: white; 
  box-shadow: 0 0.0625rem 0.25rem rgba(0,0,0,0.1);
  opacity: 1;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  gap: 5rem;
  display: flex;
  align-items: center;     /* centra vertical */
  justify-content: center; /* centra horizontal */
}

.navigation {
  display: flex;
  list-style: none;
  gap: 3.125rem; /* espacio entre enlaces */
  padding: 0;
  margin: 0;
}

.navbar-content {
  width: max-content;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 0 2.25rem; 
}

.navigation img{
  height: 1.6050227880477905rem;
  width: 1.8111572265625rem;
  display: block;     /* elimina el espacio inferior del inline */
}

.navigation li a {
  text-decoration: none;
  color: #000;
  font-size:  0.75rem; /* 12px */
  font-weight: 500;
  transition: color 0.3s ease;
}

.navigation li a:hover {
  color: #003799;
  
}

/* Estilos para el menú de hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.hamburger .bar {
    width: 1.5625rem;
    height: 0.1875rem;
    background-color: #000;
    margin: 0.25rem 0;
    transition: 0.4s;
}

/* Media query para tablets y móviles */
@media (max-width: 64rem) {
    .navbar-content {
        justify-content: space-between;
        width: 100%;
    }

    .navigation {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 2.75rem;
        left: 0;
        box-shadow: 0 0.0625rem 0.25rem rgba(0,0,0,0.1);
        gap: 0;
    }

    .navigation.active {
        display: flex;
    }

    .navigation li {
        text-align: center;
        padding: 0.9375rem 0;
        border-top: 0.0625rem solid #eee;
    }

    .hamburger {
        display: flex;
    }
}
