/* ============== RESET Y BASE ============== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #f4f4f4;
  line-height: 1.7;
  font-size: 16px;
}

/* ============== HEADER ============== */
header {
  background-color: #002F6C; /* Azul petróleo */
  color: white;
  padding: 10px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  position: sticky; /* Se queda arriba al hacer scroll */
  top: 0;
  z-index: 1000;
}

.container-header {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* NOMBRE COMO LOGOTIPO */
header h1 {
  font-family: 'Poppins', 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase; /* Así aunque escribas en minúscula, lo pone en mayúscula */
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Opcional, una sombra sutil elegante */
}


/* ============== MENÚ ============== */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px;
}

nav ul li a:hover {
  color: #FFB300; /* Amarillo ocre */
}

/* ============== BOTÓN MENÚ MÓVIL ============== */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
/* ============== MAIN ============== */


/* ============== FOOTER ============== */
footer {
  background-color: #002F6C;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
  font-size: 14px;
}

/* ============== BOTONES ============== */
.button-primary {
  background-color: #2E7D32; /* Verde pino */
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.button-primary:hover {
  background-color: #1B5E20; /* Verde más oscuro */
}

/* ============== RESPONSIVE (MÓVIL) ============== */
@media (max-width: 768px) {
  .container-header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    width: 100%;
    margin-top: 15px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    background-color: #002F6C;
    padding: 10px 0;
    display: none;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    align-self: flex-end;
  }
}

