@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: #f6f8fa;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.navbar {
  background-color: #071233;
  color: #fff;
  padding: 0.8rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.navbar h1 {
  font-size: 1.2rem;
  margin-right: 1rem;
  color: #fff;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ✅ Aplica estilo a los selects siempre, no solo en media queries */
.nav-links select {
  background-color: rgba(255,255,255,.15);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
}

.nav-links select option {
  color: black;
}

/* ✅ Solo deja esto si también usarás <a> */
.nav-links a {
  color: white;
  text-decoration: none;
  background-color: rgba(255,255,255,.15);
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  font-size: 0.85rem;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a:hover {
  background-color: #c11b1b;
}

.main {
  flex: 1;
  padding: 1rem;
}

.map-box {
  position: relative;
  width: 100%;
  height: 100%;
  right: 0;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background: white;
}

.map-box iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.box {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar h1 {
    margin-bottom: 0.5rem;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
  }

  .nav-links select {
    width: 100%;
  }
}
