/* ===============================
   HEADER
================================ */

.container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: transform 0.22s ease;
}

.container.header-hidden {
  transform: translateY(-110%);
}

.navgroup {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav {
  display: flex;
  gap: 32px;
}

.menu,
.reservas,
.eventos {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
}

/* ===============================
   HERO
================================ */

.hero_section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.portada {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.titulo {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo {
  width: 640px;
  max-width: 90vw;
}

/* ===============================
   RESERVAS
================================ */

.reservas-section {
  display: flex;
  height: 100vh;
}

.res-col {
  flex: 1;
  display: grid;
  place-items: center;
  gap: 28px;
}

/* ===============================
   MENÚS / CARRUSEL
================================ */

.platillos {
  display: flex;
  height: 100vh;
}

.carrusel {
  width: 58%;
  position: relative;
  overflow: hidden;
}

.tira,
.slide {
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  animation: fade 16s infinite;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.menu-panel {
  width: 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ===============================
   MENÚS – BOTONES (UI FINAL)
================================ */

.menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.menu-buttons .btn {
  width: 100%;
  max-width: 280px;
  padding: 14px 28px;

  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;

  border-radius: 999px; /* pill elegante */
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  box-shadow:
    0 8px 22px rgba(0,0,0,0.35),
    inset 0 0 0 rgba(255,255,255,0);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

/* Hover desktop */
.menu-buttons .btn:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.88);
  box-shadow:
    0 12px 28px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.15);
}

/* Active / tap */
.menu-buttons .btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* Disabled */
.menu-buttons .btn[disabled] {
  background: rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.45);
  box-shadow: none;
  cursor: default;
}

/* ===============================
   RESERVAS – BACKGROUNDS
================================ */

.res-vp,
.res-sdn {
  position: relative;
  overflow: hidden;
}

/* Ventura Puente */
.res-vp::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../imagenes/pintura.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.res-vp::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

/* Siervo de la Nación */
.res-sdn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../imagenes/siervo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.res-sdn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

/* Contenido siempre arriba */
.res-vp > *,
.res-sdn > * {
  position: relative;
  z-index: 1;
}

/* ===============================
   MENÚS – BACKGROUND PANEL
================================ */

.menu-panel {
  position: relative;
  overflow: hidden;
  background-color: #0e2b32;
}

/* Imagen difuminada de fondo */
.menu-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../imagenes/tacos.jpeg");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: blur(9px) brightness(0.6);
  z-index: 0;
}

/* Overlay oscuro */
.menu-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.4)
  );
  z-index: 0;
}

/* Botones siempre arriba */
.menu-panel > * {
  position: relative;
  z-index: 1;
}

/* ===============================
   CARRUSEL – TIMING
================================ */

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }
.slide:nth-child(4) { animation-delay: 12s; }

/* ===============================
   MENU PANEL – ANIMATED BG
================================ */

.menu-panel::before {
  animation: menuPanelPrev 16s infinite linear;
}
