:root {
    --primary-yellow: #ffc107; /* Amarillo vibrante y apetitoso */
    --primary-yellow-hover: #e0a800; /* Un tono un poco más oscuro para cuando pasas el mouse */
    --text-white: #ffffff;
    --text-dark: #222222;
    --bg-dark: #1a1a1a;
    --bg-light: #f8f5f2;
    --font-main: 'Poppins', sans-serif;
    --font-title: 'Bebas Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

/* ================= ANIMACIONES ================= */
.cascade {
    opacity: 0;
    transform: translateY(-50px);
    animation: slideInDown 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes slideInDown {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================= NAVEGACIÓN ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: rgba(26, 26, 26, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo { font-size: 2rem; font-weight: 800; color: var(--primary-yellow); }
nav ul { display: flex; list-style: none; gap: 30px; }
nav a { text-decoration: none; color: var(--text-white); font-weight: 600; font-size: 1rem; transition: 0.3s; }
nav a:hover { color: var(--primary-yellow); }

.nav {
  position: relative;
  width: 400px;
  height: 60px;
  border-radius: 40px;
}

.container {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.4);
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 0.5em;
}

.btn {
  padding: 0.5em 1.5em;
  color: #fff;
  cursor: pointer;
  transition: 0.1s;
  text-decoration: none;
}

.btn:hover {
  background: #e4ae0b;
  border-radius: 10px;
}

/* From Uiverse.io by ArturCodeCraft */
/* <reset-style> ============================ */
button {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
}
/* ============================ */
/* <style for bg> ======== */
.background {
  border-radius: 16px;
  border: 1px solid #1a1a1a;
  background: rgba(74, 74, 74, 0.39);
  mix-blend-mode: luminosity;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(15px);
  width: 65px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* <style for menu__icon> ======== */
.menu__icon {
  width: 32px;
  height: 32px;
  padding: 4px;
}

.menu__icon span {
  display: block;
  width: 100%;
  height: 0.125rem;
  border-radius: 2px;
  background-color: rgb(0, 122, 255);
  box-shadow: 0 .5px 2px 0 hsla(0, 0%, 0%, .2);
  transition: background-color .4s;
  position: relative;
}

.menu__icon span+span {
  margin-top: .375rem;
}

.menu__icon span:nth-child(1) {
  animation: ease .8s menu-icon-top-2 forwards;
}

.menu__icon span:nth-child(2) {
  animation: ease .8s menu-icon-scaled-2 forwards;
}

.menu__icon span:nth-child(3) {
  animation: ease .8s menu-icon-bottom-2 forwards;
}

.menu__icon:hover span:nth-child(1) {
  animation: ease .8s menu-icon-top forwards;
}

.menu__icon:hover span:nth-child(2) {
  animation: ease .8s menu-icon-scaled forwards;
}

.menu__icon:hover span:nth-child(3) {
  animation: ease .8s menu-icon-bottom forwards;
  background-color: rgb(255, 59, 48);
}

@keyframes menu-icon-top {
  0% {
    top: 0;
    transform: rotate(0);
  }

  50% {
    top: .5rem;
    transform: rotate(0);
  }

  100% {
    top: .5rem;
    transform: rotate(45deg);
  }
}

@keyframes menu-icon-top-2 {
  0% {
    top: .5rem;
    transform: rotate(45deg);
  }

  50% {
    top: .5rem;
    transform: rotate(0);
  }

  100% {
    top: 0;
    transform: rotate(0);
  }
}

@keyframes menu-icon-bottom {
  0% {
    bottom: 0;
    transform: rotate(0);
  }

  50% {
    bottom: .5rem;
    transform: rotate(0);
  }

  100% {
    bottom: .5rem;
    transform: rotate(135deg);
  }
}

@keyframes menu-icon-bottom-2 {
  0% {
    bottom: .5rem;
    transform: rotate(135deg);
  }

  50% {
    bottom: .5rem;
    transform: rotate(0);
  }

  100% {
    bottom: 0;
    transform: rotate(0);
  }
}

@keyframes menu-icon-scaled {
  50% {
    transform: scale(0);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes menu-icon-scaled-2 {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

.secondary-menu {
  position: absolute;
  top: 100%;
  right: 8%;
  margin-top: 10px;
  background: rgba(16, 16, 16, 0.95);
  border-radius: 18px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 200px;
  z-index: 1001;
}

.secondary-menu.show {
  display: flex;
}

.secondary-menu a {
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  transition: background 0.2s, color 0.2s;
}

.secondary-menu a:hover {
  background: rgba(228, 174, 11, 0.9);
  color: #111;
}

/* ================= ESTILOS PARA FORMULARIOS ================= */

/* Aumentar tamaño de elementos en formularios */
.reservation-box {
  font-size: 1.2rem;
}

.reservation-box input, .reservation-box select {
  font-size: 1.1rem;
  padding: 12px;
}

.reservation-box label {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.reservation-box h1 {
  font-size: 2rem;
}

/* Estilos mejorados para el formulario */
.formulario {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(40, 40, 40, 0.95) 100%);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 193, 7, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.formulario h1 {
  color: var(--primary-yellow);
  font-family: var(--font-title);
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.formulario label {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-yellow);
}

.form-group label {
  margin-top: 0;
}

.formulario input[type="text"],
.formulario input[type="email"],
.formulario input[type="password"],
.formulario input[type="date"],
.formulario input[type="number"],
.formulario select {
  width: 100%;
  padding: 15px;
  margin-bottom: 5px;
  border: 2px solid rgba(255, 193, 7, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: all 0.3s ease;
  outline: none;
}

.formulario input[type="text"]::placeholder,
.formulario input[type="email"]::placeholder,
.formulario input[type="password"]::placeholder,
.formulario input[type="date"]::placeholder,
.formulario input[type="number"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.formulario input[type="text"]:focus,
.formulario input[type="email"]:focus,
.formulario input[type="password"]:focus,
.formulario input[type="date"]:focus,
.formulario input[type="number"]:focus,
.formulario select:focus {
  border-color: var(--primary-yellow);
  background: rgba(255, 193, 7, 0.1);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.3), inset 0 0 20px rgba(255, 193, 7, 0.05);
}

/* Estilos para campos con error */
.formulario input.input-error,
.formulario select.input-error {
  border-color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.3), inset 0 0 15px rgba(255, 68, 68, 0.05);
}

.formulario input.input-error:focus,
.formulario select.input-error:focus {
  border-color: #ff2222;
  background: rgba(255, 68, 68, 0.15);
  box-shadow: 0 0 20px rgba(255, 68, 68, 0.5), inset 0 0 20px rgba(255, 68, 68, 0.08);
}

/* Mensaje de error */
.error-message {
  color: #ff4444;
  font-size: 0.85rem;
  margin-top: 5px;
  margin-bottom: 15px;
  font-weight: 600;
  animation: slideInError 0.3s ease;
  padding: 8px 12px;
  background: rgba(255, 68, 68, 0.1);
  border-left: 3px solid #ff4444;
  border-radius: 4px;
}

@keyframes slideInError {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.formulario select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csv%3e%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
  color: var(--primary-yellow);
}

.formulario select option {
  background-color: #222;
  color: var(--primary-yellow);
}

/* Botones de acción del formulario */
.formulario input[type="submit"] {
  width: 100%;
  padding: 15px;
  margin-top: 10px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-hover) 100%);
  color: var(--text-dark);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
  position: relative;
  overflow: hidden;
}

.formulario input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 193, 7, 0.5);
}

.formulario input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(255, 193, 7, 0.3);
}

.form-group {
  margin-bottom: 20px;
}

.form-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
}

.form-buttons input[type="submit"],
.form-buttons input[type="button"],
.form-buttons button {
  width: 100%;
  padding: 15px;
  margin: 0;
  background: var(--primary-yellow);
  color: #111;
  border-radius: 8px;
  border: 0;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: background .15s ease, transform .08s ease, box-shadow .15s ease;
}
.form-buttons input[type="submit"]:hover,
.form-buttons input[type="button"]:hover,
.form-buttons button:hover {
  background: var(--primary-yellow-hover);
  transform: translateY(-2px);
}

.outline {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rect {
  stroke-dashoffset: 5;
  stroke-dasharray: 0 0 10 40 10 40;
  transition: 0.5s;
  stroke: #e4ae0b;
}

.container:hover .outline .rect {
  transition: 999999s;
  stroke-dashoffset: 1;
  stroke-dasharray: 0;
}

.btn:nth-child(1):hover ~ svg .rect {
  stroke-dashoffset: 0;
  stroke-dasharray: 0 2 8 73.3 8 10.7;
}

.btn:nth-child(2):hover ~ svg .rect {
  stroke-dashoffset: 0;
  stroke-dasharray: 0 12.6 9.5 49.3 9.5 31.6;
}

.btn:nth-child(3):hover ~ svg .rect {
  stroke-dashoffset: 0;
  stroke-dasharray: 0 24.5 8.5 27.5 8.5 55.5;
}

.btn:nth-child(4):hover ~ svg .rect {
  stroke-dashoffset: 0;
  stroke-dasharray: 0 34.7 6.9 10.2 6.9 76;
}

.btn:hover ~ .outline .rect {
  stroke-dashoffset: 0;
  stroke-dasharray: 0 0 10 40 10 40;
  transition: 0.5s !important;
}

/* ================= HERO SECTION ================= */
.hero-section {
    display: flex;
    align-items: center;
    padding: 120px 8% 80px;
    min-height: 100vh;
}
.hero-content { flex: 1; max-width: 500px; }
.hero-content h1 { font-family: var(--font-title); font-size: 6.5rem; line-height: 0.9; margin-bottom: 20px; }
.hero-content p { font-size: 1.1rem; color: #ccc; margin-bottom: 35px; }
.hero-buttons { display: flex; gap: 20px; }
.btn-black, .btn-yellow { text-decoration: none; padding: 15px 30px; border-radius: 30px; font-weight: bold; cursor: pointer; transition: 0.3s; display: inline-block; }
.btn-black { background: transparent; border: 2px solid var(--text-white); color: var(--text-white); }
.btn-black:hover { background: var(--text-white); color: var(--text-dark); }
.btn-yellow { background: var(--primary-yellow); border: 2px solid var(--primary-yellow); color: var(--text-dark); } /* Texto oscuro para contrastar con el amarillo */
.btn-yellow:hover { transform: scale(1.05); background: var(--primary-yellow-hover); border-color: var(--primary-yellow-hover); box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3); }

.hero-image { flex: 1; display: flex; justify-content: center; }
.hero-image img { max-width: 100%; filter: drop-shadow(0px 30px 20px rgba(0,0,0,0.8)); }

/* ================= SECCIÓN MENÚ ================= */
.menu-section { padding: 80px 8%; background-color: #222; text-align: center; }
.section-title { font-family: var(--font-title); font-size: 4rem; color: var(--primary-yellow); margin-bottom: 40px; }
.menu-filters { margin-bottom: 40px; }
.filter-btn { background: none; border: 2px solid var(--primary-yellow); color: var(--text-white); padding: 8px 25px; border-radius: 20px; cursor: pointer; margin: 0 10px; transition: 0.3s; font-weight: bold; }
.filter-btn.active, .filter-btn:hover { background: var(--primary-yellow); color: var(--text-dark); } /* Al activar filtro, texto oscuro */

.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; text-align: left; max-width: 900px; margin: 0 auto; }
.menu-item { border-bottom: 1px dashed #555; padding-bottom: 15px; }
.menu-item h3 { font-size: 1.3rem; display: flex; justify-content: space-between; margin-bottom: 5px; }
.menu-item h3 span { color: var(--primary-yellow); }
.menu-item p { color: #aaa; font-size: 0.9rem; }

/* ================= SECCIÓN SHOP ================= */
.shop-section { padding: 80px 8%; background-color: var(--bg-light); color: var(--text-dark); text-align: center; }
.products-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.product-card { background: #fff; padding: 30px; border-radius: 20px; text-align: center; width: 300px; position: relative; transition: 0.4s; box-shadow: 0 10px 30px rgba(0,0,0,0.1); cursor: pointer; }
.heart-icon { position: absolute; top: 15px; left: 15px; background: #222; color: #fff; padding: 5px 10px; border-radius: 5px; }
.product-card img { width: 180px; height: 180px; object-fit: contain; margin: 20px 0; transition: 0.4s; }
.product-card h3 { font-family: var(--font-title); font-size: 1.8rem; margin: 15px 0; }
.prices { margin: 10px 0; }
.old-price { text-decoration: line-through; color: #999; margin-right: 10px; }
.new-price { font-weight: bold; font-size: 1.2rem; color: var(--text-dark); }
.discount { background: #fff3cd; color: #856404; padding: 3px 10px; border-radius: 5px; font-weight: bold; display: inline-block; }
.stars { color: var(--primary-yellow); }

.add-to-cart-btn { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); width: 70%; padding: 12px; background: #222; color: #fff; border: none; border-radius: 25px; opacity: 0; transition: 0.4s; cursor: pointer; font-weight: bold; }

.product-card:hover { background: var(--primary-yellow); color: var(--text-dark); transform: translateY(-15px); }
.product-card:hover img { transform: scale(1.1); }
.product-card:hover .new-price { color: var(--text-dark); }
.product-card:hover .stars { color: var(--text-dark); }
.product-card:hover .add-to-cart-btn { opacity: 1; bottom: 20px; }

/* ================= CONTACTO Y RESERVAS ================= */
.reservation-section { 
  padding: 100px 8%; 
  display: flex; 
  justify-content: center; 
  background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?q=80&w=1000&auto=format&fit=crop'); 
  background-size: cover; 
  background-attachment: fixed;
  min-height: 100vh;
  margin-top: 80px;
}

.contenido {
  width: 100%;
  max-width: 900px;
}

/* Caja amarilla con texto oscuro para que se pueda leer bien */
.reservation-box { 
  background: rgba(255, 193, 7, 0.95); 
  padding: 50px; 
  border-radius: 20px; 
  width: 100%; 
  max-width: 700px; 
  text-align: center; 
  backdrop-filter: blur(5px); 
  color: var(--text-dark); 
  box-shadow: 0 15px 30px rgba(0,0,0,0.5); 
}

.reservation-box h2 { 
  font-family: var(--font-title); 
  font-size: 3.5rem; 
  margin-bottom: 30px; 
  letter-spacing: 2px; 
}

.input-group { 
  display: flex; 
  gap: 20px; 
  margin-bottom: 20px; 
  flex-wrap: wrap; 
}

/* Inputs más oscuros para contrastar con el fondo amarillo */
.input-group input, .input-group select { 
  flex: 1; 
  min-width: 200px; 
  padding: 15px; 
  background: rgba(0,0,0,0.05); 
  border: 1px solid rgba(0,0,0,0.2); 
  border-radius: 8px; 
  color: var(--text-dark); 
  font-size: 1rem; 
  outline: none; 
}

.input-group input::placeholder { 
  color: #555; 
}

.input-group select option { 
  color: #000; 
}

.btn-submit { 
  width: 100%; 
  padding: 15px; 
  background: #222; 
  color: var(--primary-yellow); 
  border: none; 
  border-radius: 8px; 
  font-weight: bold; 
  font-size: 1.2rem; 
  cursor: pointer; 
  transition: 0.3s; 
  margin-top: 10px; 
}

.btn-submit:hover { 
  background: #000; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
}

/* Estilos para el botón de retorno en formularios */
.retorno {
    padding: 15px 30px;
    background: var(--primary-yellow);
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}

.retorno:hover {
    background: var(--primary-yellow-hover);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.form-buttons .action-btn {
  background: var(--primary-yellow) !important;
  color: #111 !important;
  border-radius: 8px !important;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35) !important;
  font-weight: 800 !important;
}
.form-buttons .action-btn:hover {
  background: var(--primary-yellow-hover) !important;
  transform: translateY(-2px) !important;
}