/* Reseteo básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    Arial, sans-serif; /* Puedes cambiarlo por la tipografía exacta que uses */
}

/* Contenedor principal del header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Sombra sutil para separarlo del contenido */
  position: relative;
  z-index: 100;
  position: sticky;
  top: 0;
  left: 0;
}

/* Estilo del Logo (Texto Contorneado) */
.logo {
  font-size: 2.5rem;
  font-weight: 900;
  text-decoration: none;
  color: transparent;
  -webkit-text-stroke: 2px #000;
  letter-spacing: 2px;
}

/* Navegación Desktop */
.nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #555;
}

/* Botón Contactar */
.btn-contactar {
  background-color: #eaff00; /* Amarillo neón de la imagen */
  color: #000;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.btn-contactar:hover {
  background-color: #d4e600;
  transform: scale(1.05);
}

/* --- Menú Hamburguesa (Oculto en Desktop) --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #000;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* --- RESPONSIVE DESIGN (Tablets y Móviles) --- */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex; /* Mostramos el icono de hamburguesa */
  }

  .nav {
    /* Convertimos el menú en un panel lateral o desplegable para que no se apriete todo */
    position: absolute;
    top: 100%;
    left: -100%; /* Oculto fuera de la pantalla por defecto */
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 2rem;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    transition: left 0.4s ease;
  }

  .nav.active {
    left: 0; /* Desliza hacia adentro cuando está activo */
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}
