* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #FFBD2F;
  min-height: 100vh;
  position: relative;
}
.background-fixed {
  position: absolute;
  inset: 0;
  z-index: -1;

  background-image: url('fotos/fondo.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.title {
  font-family: 'Caveat Brush', cursive;
  font-size: 48px;
  letter-spacing: 1px;
    color: white;
}
.subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 34px;
 text-align: center;
 opacity: 0.85;
 color: #fff;
}
.header {
  
  text-align: center;
  padding: 20px 15px;
  padding-top: 20px;
  padding-bottom: 10px;
}
 .socials{
  margin-top: 10px;
 }
.category {
  position: relative;
  width: 100%;
  margin: 12px 0;
  border-radius: 12px;
  overflow: hidden;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}


.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: white;
  font-size: 2.2rem;
  margin: 0 20px;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fcfcfc;
}

.menu-container {
  max-width: 720px;
  margin: 20px auto;
  padding: 0 12px;
}

.menu-section {
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
  
}

.section-header {
  position: relative;
  padding: 18px;
  height: 110px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}


.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}


.arrow {
  transition: transform 0.3s ease;
  color: #fff;
}

.menu-section.open .arrow {
  transform: rotate(180deg);
}



.section-content {
  display: none;
  opacity: 0;
  transform: translateY(-6px);
}

.menu-section.open .section-content {
  display: block;
  animation: fadeSlide 0.25s ease forwards;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.item-text {
  display: flex;
  flex-direction: column;
}

/* Nombre del plato */
.item-name {
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  font-weight: 700;
  color: #FFBD2F;
}

/* Descripción del plato */
.item-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
  line-height: 1.3;
}

/* Precio */
.item-price {
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  font-size: 1.05rem;
}

.section-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* ← controla el brillo */
  z-index: 0;
}

.section-header * {
position: relative;
z-index: 1;
}
.subcategoria {
  padding: 12px 8px;
  font-weight: 700;
  color: #FFBD2F ;
  opacity: 0.9;
  border-top: 1px solid rgb(255, 255, 255);
  border-bottom: 1px solid rgb(255, 255, 255);
  text-transform: uppercase;
  letter-spacing: 1px;
  
}


.section-header[data-category="ENTRADAS"] {
  background-image: url('fotos/entradas.webp');
    background-size: cover;
  background-position: 50% 59%;
}

.section-header[data-category="COCINA"] {
  background-image: url('fotos/cocina.webp');
      background-size: cover;
  background-position: 50% 59%;
}

.section-header[data-category="ENSALADA"] {
  background-image: url('fotos/ensaladas.webp');
      background-size: cover;
  background-position: 53% 69%;
}

.section-header[data-category="COMBOS MERIENDA"] {
  background-image:url('fotos/combosMerienda.webp');
      background-size: cover;
  background-position: 10% 42%;
}

.section-header[data-category="BEBIDAS S/ALCOHOL"] {
  background-image:url('fotos/gaseosa.webp');
      background-size: 150%;
  background-position: 50% 50%;
}

.section-header[data-category="POSTRES"] {
  background-image:url('fotos/postres.webp');
      background-size: cover;
  background-position: 50% 52%;
}
.section-header[data-category="VINOS"] {
  background-image:url('fotos/vinos.webp');
      background-size: cover;
  background-position: 50% 39%;
}
.section-header[data-category="CAFETERIA"] {
  background-image:url('fotos/cafeteria.webp');
      background-size: cover;
  background-position: 50% 69%;
}
.section-header[data-category="SANDWICHES"]{
  background-image: url('fotos/sandwiches.webp');
      background-size: cover;
  background-position: 50% 32%;
}
.section-header[data-category="EMPANADAS Y TARTAS"] {
  background-image: url('fotos/empanadas.webp');
      background-size: cover;
  background-position: 50% 59%;
}

.section-header[data-category="PIZZA"]{
  background-image: url('fotos/pizza.webp');
      background-size: cover;
  background-position: 50% 59%;
}

.section-header[data-category="PASTAS"]{
  background-image: url('fotos/pastas.webp');
      background-size: cover;
  background-position: 50% 69%;
}

.section-header[data-category="CERVEZAS"]{
  background-image: url('fotos/cerveceria.webp');
      background-size: cover;
  background-position: 50% 49%;
}

.section-header[data-category="BURGERS"]{
  background-image: url('fotos/burgers.webp');
      background-size: cover;
  background-position: 50% 89%;
}
.section-header[data-category="PICADAS"]{
  background-image: url('fotos/picadas.webp');
      background-size: cover;
  background-position: 50% 39%;
}

/* MOBILE SIMPLE Y RÁPIDO */
@media (max-width: 768px) {

  body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #fff;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Categorías */
  .categoria {
    border-bottom: 1px solid #e5e5e5;
  }

  .categoria-titulo {
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: #f7f7f7;
  }

  /* Contenido cerrado */
  .categoria-contenido {
    display: none;
    padding: 10px 16px;
  }

  /* Contenido abierto */
  .categoria.activa .categoria-contenido {
    display: block;
  }

  /* Producto */
  .producto {
    margin-bottom: 12px;
  }

  .producto h4 {
    margin: 0 0 4px;
    font-size: 15px;
  }

  .producto p {
    margin: 0;
    font-size: 13px;
    color: #666;
  }
}