body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0c0c0c;
  color: #fff;
  animation: fadeIn 2s ease-in;
}
.menu-toggle {
 width: 100%;
 padding: 10px;
 background: #c0392b;
 color: white;
 border: none;
 font-size: 1.2rem;
 text-align: left;
 cursor: pointer;
 border-radius: 5px;
 text-align: center;
}

.menu-items {
 display: none;
 margin-top: 10px;
 padding-left: 20px;
 list-style: none;
}

.menu-items li {
 margin-bottom: 10px;
}

.menu-items p {
 font-size: 0.9rem;
 margin: 2px 0 8px 0;
 color: #555;
}

/* animación suave */
.menu-items.show {
 display: block;
 animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    header,
    nav,
    .hero,
    .section,
    footer,
    .menu-category,
    .menu-category li,
    .contacto h2,
    .contacto p {
      animation: fadeIn 2s ease-in;
    }

    header {
      background: #000;
      padding: 1rem;
      text-align: center;
      border-bottom: 3px solid #FFD700;
    }
    header div {
      padding-top: 20px;
    }

    header h1 {
      margin: 0;
      font-size: 2.5rem;
      color: #FFD700;
    }

    nav {
      position: fixed;
      top: 0;
      left: 0;
      padding: 10px 0;
      z-index: 100;
      width: 100%;
      background-color: #000;
      border-bottom: 1px solid #FFD700;
    }

    nav a {
      color: #fff;
      text-decoration: none;
      margin: 0 1rem;
      font-size: 1.5rem;
      font-weight: bold;
      transition: color 0.3s;
    }

    nav a:hover {
      color: #FFD700;
    }

    .hero {
      width: 100%;
      height: 75vh;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      z-index: 0;
      overflow: hidden;
    }

    .hero-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transition: opacity 1.5s ease-in-out;
    }

    .hero-slide.active {
      opacity: 1;
    }

    .hero::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      z-index: 1;
    }

    .hero-content {
      position: relative;
      text-align: center;
      color: #fff;
      z-index: 2;
    }

    .hero-content h2 {
      font-size: clamp(2rem, 5vw, 3.5rem);
      margin: 0;
      color: #FFD700;
      animation: fadeInDown 2s ease;
    }

    .hero-content p {
      font-size: clamp(1rem, 2vw, 1.2rem);
      margin-top: 1rem;
      animation: fadeInUp 2s ease;
    }

    .fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Estado visible (cuando entra en pantalla) */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-50px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(50px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .slider-buttons {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 3;
    }

    .slider-button {
      width: 15px;
      height: 15px;
      background: #fff;
      border-radius: 50%;
      cursor: pointer;
      transition: background 0.3s;
    }

    .slider-button.active {
      background: #FFD700;
    }

    .section {
      padding: 3rem 2rem;
      text-align: center;
    }

    .section h2 {
      color: #FFD700;
      margin-bottom: 1rem;
    }

    .menu-img {
      width: 90%;
      max-width: 700px;
      margin: 1rem auto;
      display: block;
      border-radius: 10px;
    }

    .contacto {
      background: #111;
      padding: 2rem;
      border-top: 3px solid #FFD700;
    }

    .contacto h2 {
      padding-top: 1rem;
    }

    .contacto p {
      margin: 0.5rem 0;
      font-size: 1.1rem;
    }

    footer {
      background: #111;
      text-align: center;
      padding: 1rem;
      border-top: 3px solid #FFD700;
    }

    footer p {
      margin: 0;
      color: #aaa;
    }

    .menu-section {
      padding: 2rem;
      max-width: 800px;
      margin: auto;
      background: #1a1a1a;
      border-radius: 10px;
    }

    .menu-section h2 {
      text-align: center;
      font-size: 2rem;
      color: #FFD700;
      margin-bottom: 2rem;
    }

    .menu-category {
      margin-bottom: 2rem;
    }

    .menu-category h3 {
      font-size: 1.5rem;
      color: #fff;
      margin-bottom: 1rem;
      border-bottom: 2px solid #FFD700;
      display: inline-block;
      padding-bottom: 5px;
    }

    .menu-category ul {
      list-style: none;
      padding: 0;
    }

    .menu-category li {
      display: flex;
      justify-content: space-between;
      color: #fff;
      font-size: 1.2rem;
      margin: 0.5rem 0;
      border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
      padding-bottom: 0.3rem;
    }

    .item-name {
      text-align: left;
    }

    .item-price {
      text-align: right;
      color: #FFD700;
      font-weight: bold;
    }

    .delivery {
      background: #FFD700;
      padding: 2rem;
      margin: auto;
      max-width: 800px;
      border-radius: 10px;
      color: #000;
    }
    .mayo {
      background: #1a1a1a;
      padding: 2rem;
      margin: auto;
      max-width: 800px;
      color: #fff;
      font-size: 1.2rem;
      text-align: center;
      border-top: 2px solid #FFD700;
      border-bottom: 2px solid #FFD700;
    }
    .extras {
      background: #1a1a1a;
      padding: 2rem;
      margin: auto;
      max-width: 800px;
      color: #fff;
      font-size: 1.1rem;
      text-align: left;
      border-top: 2px solid #FFD700;
      border-bottom: 2px solid #FFD700;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }


  /* =========================
   RESPONSIVE DESIGN
   ========================= */

/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
  nav a {
    font-size: 1.2rem;
    margin: 0 0.5rem;
  }

  header img {
    width: 300px;
    height: auto;
  }

  .hero {
    height: 65vh;
  }

  .menu-section {
    padding: 1.5rem;
  }
}

/* Móviles grandes */
@media (max-width: 768px) {
  nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.5rem;
  }

  nav a {
    font-size: 1rem;
    margin: 0.3rem 0.5rem;
  }

  header img {
    width: 220px;
    height: auto;
  }

  .hero {
    height: 55vh;
  }

  .hero-content h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .hero-content p {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  .menu-category h3 {
    font-size: 1.3rem;
  }

  .menu-category li {
    font-size: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .item-name,
  .item-price {
    text-align: center;
    width: 100%;
  }

  .delivery,
  .mayo,
  .extras {
    padding: 1rem;
    font-size: 1rem;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  header img {
    width: 160px;
    height: auto;
  }

  nav a {
    font-size: 0.9rem;
  }

  .hero {
    height: 45vh;
  }

  .hero-content h2 {
    font-size: 1.3rem;
  }

  .hero-content p {
    font-size: 0.85rem;
  }

  .menu-section h2 {
    font-size: 1.5rem;
  }

  .menu-category h3 {
    font-size: 1.1rem;
  }


  footer p {
    font-size: 0.8rem;
  }
}
