header {
  background: linear-gradient(90deg, #B22222, #FFD700);
  color: white;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: top 0.3s ease-in-out;
  flex-direction: row;
  padding: 10px 20px;
  gap: 20px;
}

body{
    background: linear-gradient(180deg, #FFD700, #FFB84D);
}

header h1 {
  font-size: 1.6rem;
  font-weight: bold;
  color: #FFD700;
  text-shadow: 2px 2px 6px black;
  margin: 0;
  justify-self: start;
}

header img{
  height: 70px;
  width: auto;
  justify-self: center;
}

.burger {
  font-size: 2rem;
  cursor: pointer;
  background: transparent;
  border: none;
  color: red;
  transition: transform 0.2s;
  justify-self: end;
}

.burger:hover {
  transform: scale(1.2);
}

.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100%;
  background: linear-gradient(180deg, #FFD700, #FFB84D);
  color: #B22222;
  padding-top: 60px;
  transition: right 0.4s ease;
  z-index: 1001;
}

.sidebar.active {
  right: 0;
}

.sidebar ul ol a {
  color: #B22222;
  font-weight: bold;
  text-decoration: none;
  display: block;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
}

.sidebar ul ol a:hover {
  background: #B22222;
  color: #FFD700;
}

.food-background {
  position: relative;
}

.food-background img {
  width: 100%;
  height: 75vh;
  object-fit: cover;
  filter: brightness(65%);
}

.food-background::after {
  content: "🔥 El Auténtico Sabor Regio 🔥";
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.8rem;
  font-weight: bold;
  color: #FFD700;
  text-shadow: 3px 3px 10px black;
}

.food-truck {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  gap: 30px;
  background: linear-gradient(180deg, #FFB84D, #FFD700);
  border-top: 5px solid #B22222;
}

.food-truck img {
  height: 350px;
  width: 550px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

#truck-information {
  background: #B22222;
  color: #FFD700;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 500px;
  margin: auto;
}

#truck-information ul{
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#truck-information ul ol{
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

#truck-information h2, 
#truck-information a{
  margin: 5px 0;
  text-decoration: none;
  color: #FFD700;
  font-size: 1.2rem;
}

#menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px;
  background: linear-gradient(180deg, #FFD700, #FFB84D);
  align-items: stretch;
  content:"Menu";
}
.menu-table {
  background: #FFD700;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
  overflow: hidden;
  transition: transform 0.3s ease;
  /* Ajustar todas las tarjetas de menu al mismo tamaño */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 480px; /* Ajusta este valor hasta que todas se vean parejas */
  align-items: stretch;
}

.menu-table:hover {
  transform: translateY(-10px);
}

.menu-table img {
  height: 180px;
  object-fit: cover;
  border-bottom: 4px solid #B22222;
}

.menu-table .information {
  padding: 20px;
  text-align: center;
  color: #B22222;
}

.menu-table h1 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #B22222;
  text-shadow: 1px 1px 3px #FFB84D;
}

.menu-table h3 {
  color: #8B0000;
}

footer {
  background: #B22222;
  color: #FFD700;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  border-top: 4px solid #FFD700;
}

.menu-table {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 480px; /* Ajusta según lo necesites */
}

.menu-table .information {
  flex: 1;
  overflow-y: auto;
  padding: 15px;

  /* Ocultar scroll en todos los navegadores */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE y Edge */
}

.menu-table .information::-webkit-scrollbar {
  display: none; /* Chrome, Safari y Opera */
}


.menu-title {
  grid-column: 1 / -1; /* ocupa todo el ancho */
  text-align: center;
  font-size: 2.2rem;
  margin: 50px 0 20px 0;
  color: #FFD700;
  background: #B22222;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.menu-category {
  grid-column: 1 / -1; /* ocupa todo el ancho */
  text-align: center;
  font-size: 2.2rem;
  margin: 50px 0 20px 0;
  color: #FFD700;
  background: #B22222;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
#Chicken-mix, 
#Chicken-sausage {
  margin-top: 20px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #FFD700, #FFB84D);
  padding: 30px;
  align-items: center;

}

#tacos p {
   font-size: 1rem;
  margin-bottom: 10px;
  color: #B22222;
  text-shadow: 1px 1px 3px #FFB84D;
  text-align: center;
}
 #tacos h1{
  text-align: center;
 }
#tacos h3{
  text-align: center;
} 



/* ===============================
   RESPONSIVE DESIGN
   =============================== */

/* Tablets (pantallas medianas) */
@media (max-width: 1024px) {

  header{
    grid-template-columns: 1fr auto 1fr;
    padding: 12px 20px;
  }

  header h1 {
    font-size: 1.4rem;
  }

  header img{
    height: 65px;
  }

  .burger{
    font-size: 1.8rem;
  }

  .food-truck img {
    width: 100%;
    height: auto;
  }

  .menu-table {
    height: auto; /* quitar altura fija */
  }
}

/* Celulares grandes */
@media (max-width: 768px) {
  header {
    grid-template-columns: 1fr auto 1fr;
    padding: 10px 20px;
  }

  header h1 {
    font-size: 1.2rem;
  }

  header img {
    height: 55px;
  }

  .burger {
    font-size: 1.6rem;
  }

  .food-background img {
    height: 50vh;
  }

  .food-background::after {
    font-size: 1.6rem;
    bottom: 15px;
  }

  .food-truck {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .food-truck img {
    width: 90%;
    height: auto;
  }

  #menu {
    grid-template-columns: 1fr; /* 1 columna */
    padding: 20px;
  }

  .menu-table {
    height: auto;
  }

  #truck-information{
    padding: 20px;
    max-width: 90%;
  }

  #truck-information h2,
  #truck-information a{
    font-size: 1rem;
  }
}

/* Celulares pequeños */
@media (max-width: 480px) {
  header {
    grid-template-columns: 1fr auto 1fr;
    padding: 10px;
  }

  header h1 {
    font-size: 1.2rem;
    text-align: left;
  }

  header img {
    height: 45px;
  }

  .burger {
    font-size: 1.6rem;
  }

  .food-background::after {
    font-size: 1.2rem;
    text-align: center;
  }

  footer {
    font-size: 0.75rem;
    padding: 15px;
  }

  #truck-information{
    padding: 15px;
    max-width: 95%;
  }
  #truck-information h2,
  #truck-information a{
    font-size: 0.9rem;
  }
}
