* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}



#contenedor-menu {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
}

#categorias {
  margin-bottom: 30px;
  text-align: center;
}

#categorias label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
}

#banderas {
  display: flex;
  gap: 8px; /* espacio entre las banderas */
  align-items: center; /* centrarlas verticalmente si tienen diferente altura */
}

#banderas img {
  width: 30px;   /* tamaño pequeño, ajusta si quieres */
  height: auto;  /* mantiene proporción */
  cursor: pointer; /* para indicar que son clicables (selección de idioma) */
}

.menu {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f4c542;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-family: sans-serif;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.menu:hover {
    background-color: #0056b3; /* Azul más oscuro al pasar el ratón */
    transform: translateY(-2px);
}

.menu:active {
    background-color: #004091;
    transform: translateY(1px);
}

#selectorcomida {
  font-size: 16px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background-color: #f9f9f9;
  transition: all 0.3s;
}

#selectorcomida:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Zona de platos */
.platos-lista {
  width: 100%;
}

#contenedorplatos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Tarjetas de platos */
.contenedor {
  background-color: #fafafa;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s ease;
  min-height: 180px;
}

.contenedor:hover {
  transform: translateY(-5px);
}

.contenedor h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #2c3e50;
}

.contenedor p {
  font-size: 14px;
  color: #555;
  flex-grow: 1;
}

.precio {
  margin-top: 15px;
  font-size: 16px;
  font-weight: bold;
  color: #27ae60;
  text-align: right;
}

#selectorcomida {
  appearance: none; /* Oculta la flecha por defecto */
  -webkit-appearance: none;
  -moz-appearance: none;

  font-size: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  color: #333;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  transition: border-color 0.3s, box-shadow 0.3s;

  background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

#selectorcomida:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  outline: none;
}

.titulo {
  margin-bottom: 10px;
  color: #333;
  font-family: 'Yanone Kaffeesatz', sans-serif;
}



body {
  background-image: url(log.jpg);
  background-size: cover;
  background-position: center;
  font-family: "Yanone Kaffeesatz", sans-serif;
  font-size: larger;
}

#cabecera {
  width: 100%;
  background-color: black;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
  color: #f4c542;
  padding: 10px 20px;
  box-shadow: 0 2px 5px #f4c542;
  flex-wrap: wrap;
}

#logoytitulo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 80px;
  width: auto;
}

#menuprincipal {
  position: relative;
  background-color: black;
  padding: 10px 20px;
}

.hamburguesa {
  font-size: 30px;
  color: #f4c542;
  cursor: pointer;
  display: none;
  user-select: none;
  margin-right: 190px;
}

#alternar {
  display: none;
}

.enlaces {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.botonescabecera {
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 10px;
}

.botonescabecera:hover {
  color: pink;
}



.botonescabecera {
  color: white;
  font-size: 1.1rem;
}

.botonescabecera:hover {
  color: rgb(251, 255, 0);
}

#centro {
  color: black;
  font-family: "Yanone Kaffeesatz", sans-serif;
  font-size: larger;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
#centro2 {
  background-image: url(img/logo.jpg);
  color: black;
  font-family: "Yanone Kaffeesatz", sans-serif;
  font-size: larger;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.titulo {
  margin-bottom: 40px;
  text-align: center;
}

.galeriacentro {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.galeria {
  width: 90vw;
  max-width: 600px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
  margin: 0 auto;
}

.galeria img {
  max-width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.flechaizquierda {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #f4c542;
  color: black;
  border: none;
  padding: 12px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 100%;
  left: 10px;
  z-index: 10;
}

.flechaderecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #f4c542;
  color: black;
  border: none;
  padding: 12px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 100%;
  right: 10px;
  z-index: 10;
}

.flechaderecha:hover,
.flechaizquierda:hover {
  background-color: rgba(0,0,0,0.8);
}

.liniadivisora {
  border: none;
  height: 1px;
  background-color: black;
  margin: 100px 0;
}

.invisible {
  border: none;
  height: 0px;
  background-color: black;
  margin: 25px 0;
}

.invisible2 {
  border: none;
  height: 0px;
  background-color: black;
}

#ubi {
  font-size: larger;
  font-family: "Yanone Kaffeesatz", sans-serif;
}

#mapa {
  width: 90vw;
  max-width: 600px;
  height: 300px;
  margin: 0 auto;
}

#mapa iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.fotosmenu,
.imagenes {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
}

#piedepagina {
  background-color: black;
  color: #f4c542;
  margin-top: 50px;
  text-align: center;
  padding: 20px 0;
}

.logofooter {
  max-width: 100%;
  height: 40px;
  margin: 10px 5px;
}

.rrss{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
}

#medios p {
  color: black;
}

#horario {
  max-width: 100%;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  background-color: #f4c542;
  margin: none;
}

.enlace {
  color: blue;
  text-decoration: underline;
}

.widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffcc00;
  color: black;
  font-size: 24px;
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  z-index: 9999;
  transition: background-color 0.3s ease;
}

.widget:hover {
  background-color: #e6b800;
}

#imagentelefono{
  width: 100%;
  height: 20px;
}

label,
textarea {
  font-size: 0.8rem;
  letter-spacing: 1px;
}

input{
  margin-top: 10px;
  margin-bottom: 10px;
  width: 25%;
}

textarea {
  margin-top: 10px;
  max-width: 100%;
  width: 25%;
  height: 100px;
  line-height: 1.5;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 1px #999;
}

#formulario{
  text-align: center;
}
.visible{
  visibility: visible;
}


#botonformulario{
  width: 10%;
  height: 10%;
  background-color: #f4c542;
  border: 1px solid black;
}

#botonformulario:hover{
  box-shadow: 1px solid blue;
}

.oculto{
  visibility: hidden;
}

@media screen and (max-width: 768px) {
  #cabecera {
    flex-direction: column;
    text-align: center;
    width: 100%;
    padding: 15px;
  }
  .hamburguesa {
    display: block;
  }

  .enlaces {
    display: none;
    flex-direction: column;
    background-color: black;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    padding: 10px 0;
  }

  #alternar:checked + .hamburguesa + .enlaces {
    display: flex;
  }

  .botonescabecera {
    padding: 15px;
    border-top: 1px solid #f4c542;
    text-align: center;
  }


  #imagentelefono{
  height: 20px;
  width: auto;
}

  #horario {
    margin-right: 0;
    text-align: center;
  }

  #logoytitulo {
    justify-content: center;
    flex-direction: column;
  }

  .logo {
    height: 60px;
    width: auto;
  }

  #menuprincipal {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .botonescabecera {
    font-size: 1rem;
    margin: 0;
  }

  #centro {
    width: 95%;
    font-size: 1rem;
  }

  .titulo {
    font-size: 1.5rem;
  }

  .logofooter {
    width: 30px;
    height: 30px;
  }
}

@media screen and (max-width: 480px) {
  .galeria {
    width: 95vw;
    max-width: 100%;
    padding: 5px;
  }

   #imagentelefono{
  height: 20px;
  width: auto;
}

  #horario {
    margin-right: 0;
    text-align: center;
  }

  .flechaizquierda {
    left: 5px;
    padding: 10px;
    font-size: 18px;
  }

  .flechaderecha {
    right: 5px;
    padding: 10px;
    font-size: 18px;
  }

  #mapa {
    width: 95vw;
    max-width: 100%;
    height: 250px;
  }
}

@media (max-width: 600px) {
  #selectorcomida {
    font-size: 15px;
    padding: 10px;
  }

  #contenedorplatos {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .contenedor {
    padding: 15px;
  }
}
