@charset "utf-8";
/* Fondo de video */
#bg-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
}

/* Estilos generales */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #333;
}

/* Header */
.site-header {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.5em 2em;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

/* Logo */
.logo img {
  max-width: 120px;
}

/* Ícono hamburguesa */
.hamburger {
  position: absolute;
  top: 1em;
  right: 2em;
  font-size: 2em;
  cursor: pointer;
  z-index: 20;
  display: none;
}

.hamburger.open::before {
  content: "✖";
  margin-right:3.5em;
}

.hamburger::before {
  content: "☰";
}

/* Menú de navegación por defecto (pantallas grandes) */
.nav-menu {
  display: block;
  max-height: none;
  overflow: visible;
  transition: none;
  width: auto;
  padding-right: 4em;
  z-index:100;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

.nav-menu ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* Responsive: solo en pantallas pequeñas */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    width: 20%;
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-menu ul {
    flex-direction: column;
    /*padding-right: 2em;*/
    text-align: end;
    gap: 0;
  }

  
}


/* Contenido principal */
/* Sección principal ocupa toda la pantalla */
.main-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(2em + 120px) 2em 2em; /* 120px = altura del header fijo */
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
/*
.main-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2em;
}*/

.main-section h1 {
  font-size: 2.5em;
  color: #2e9c4d;
}

.main-section p {
  font-size: 1.2em;
  color: #ffffff;
}

/* Scroll suave para toda la página */
html {
  scroll-behavior: smooth;
}

/* Botón moderno */
.btn-modern {
  display: inline-block;
  padding: 0.75em 1.5em;
  background: linear-gradient(135deg, #2e9c4d, #38b25a);
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.btn-modern:hover {
  background-color: #38b25a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

#menu {
  scroll-margin-top: 140px;
}

/* Pie de página */
footer {
  background-color: rgba(255, 204, 0, 0.9);
  padding: 1em;
  text-align: center;
}

.contact {
  margin-top: 1em;
  font-size: 0.9em;
}

/* Sección de menú */
.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-section {
  padding: 1em 2em;
  text-align: center;
}

.menu-section h2 {
  font-size: 2em;
  margin-bottom: 1em;
  color: #d35400;
}

.menu-group {
  margin-bottom: 3em;
}

/* Título de grupo */
.menu-group h3 {
  font-size: 1.5em;
  margin-bottom: 1em;
  color: #FFF;
}

/* Contenedor de tarjetas */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
}

/* Tarjeta individual */
.menu-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1.5em;
  width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Desactiva hover en móviles */
@media (hover: none) and (pointer: coarse) {
  .menu-card:hover {
    transform: none;
    box-shadow: none;
  }
}

.menu-card h4 {
  margin-top: 0;
  font-size: 1.2em;
  color: #d35400;
}

.menu-card p {
  font-size: 0.95em;
  color: #555;
  margin: 0.5em 0;
}

.price {
  display: block;
  font-weight: bold;
  color: #27ae60;
  margin-bottom: 1em;
}

/* Menú de categorías scrollable */
.menu-nav {
  position: sticky;
  top: 140px;
  z-index: 99;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1em 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  
}

/* Título fijo arriba */
.menu-label {
  font-weight: bold;
  font-size: 1.1em;
  color: #d35400;
  padding-left: 1em;
}




.menu-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding:0.5em;
}

.menu-scroll::-webkit-scrollbar {
  display: none;
}

.menu-scroll ul {
  display: inline-flex;
  gap: 1em;
  margin: 0;
  padding: 0 1em;
  list-style: none;
}

.menu-scroll ul li {
  flex: 0 0 auto;
}

.menu-scroll ul li a {
  text-decoration: none;
  font-weight: bold;
  color: #2e9c4d;
  background-color: #fff;
  padding: 0.5em 1em;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}


.menu-scroll ul li a.active {
  background-color: #2e9c4d;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.menu-group {
  scroll-margin-top: 305px;
}

/* Botón de pedido */
.menu-card button {
  background-color: #d35400;
  color: white;
  border: none;
  padding: 0.5em 1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.menu-card button:hover {
  background-color: #e67e22;
}

/* Responsive tarjetas */
@media (max-width: 768px) {
  .card-container {
    flex-direction: row;
    align-items: center;
  }

  .menu-card {
    width: 33%;
  }
}



