body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f0f8ff;
}

/* HEADER AZUL MARINO */
.site-header {
  background: linear-gradient(135deg, #0a2540, #1e6091);
  color: white;
  text-align: center;
  padding: 25px 10px;
}

.site-header h1 {
  margin: 0;
  font-size: 2.2em;
  letter-spacing: 1px;
}

/* NAV CENTRADO PERFECTO */
.menu-secciones {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 15px 0;
  background: white;
  border-bottom: 2px solid #ddd;
}

.menu-secciones a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
}

.menu-secciones a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 25%;
  width: 50%;
  height: 3px;
  background: #2a9d8f;
  border-radius: 2px;
}

/* ✅ BANDERAS ARREGLADAS */
.language-selector {
  display: flex;
  flex-direction: row; /* 👈 fuerza horizontal */
  justify-content: center;
  align-items: center;
  gap: 10px;

  width: 100%;
  max-width: 250px;
  margin: 10px auto;
}

.language-selector img {
  width: 35px;
  height: auto;              /* 👈 mantiene proporción */
  aspect-ratio: 3 / 2;       /* 👈 evita que se deformen */
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s;
}

.language-selector img:hover {
  transform: scale(1.1);
}

/* CONTENIDO */
main {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

h2 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

/* GRID */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* TARJETAS */
.dish {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* IMÁGENES */
.dish img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* INFO */
.dish-info {
  padding: 15px;
}

.dish-info h3 {
  margin: 0 0 10px;
}

.price {
  color: #1e6091;
  font-weight: bold;
  font-size: 18px;
}

/* FOOTER */
footer {
  background: #0a2540;
  color: white;
  margin-top: 40px;
  padding: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

footer h3 {
  margin-bottom: 10px;
}

/* RESPONSIVE */
@media(max-width:768px){

  .menu-secciones {
    gap: 25px;
    font-size: 14px;
  }

  .dish img {
    height: 180px;
  }

  .site-header h1 {
    font-size: 1.6em;
  }

  .language-selector img {
    width: 30px;
    height: auto;
  }
}