.wooden-footer {
    
  position: relative;  /* para que z-index funcione */
  z-index: 10000;          /* mayor que el -1 del filtro */
}


/* Reinicios básicos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ====================================================================== */
/* OVERRIDES para que, SÓLO en admin.php (body.admin-page), la sidebar se   */
/* oculte en móviles, sin tocar la regla global .sidebar del sitio normal. */
/* ====================================================================== */

/* 1) Por defecto, en escritorio, #adminSidebar debe mostrarse */

.admin-page #adminSidebar {
  transform: translateX(0) !important;
  transition: transform 0.3s ease;
}

/* 2) En pantallas ≤ 768px, oculta #adminSidebar dentro de admin-page */
@media screen and (max-width: 768px) {
  /* 2.1) escondemos la sidebar moviéndola fuera de la pantalla */
  .admin-page #adminSidebar {
    transform: translateX(-100%) !important;
  }
  /* 2.2) cuando tenga la clase “open”, reaparece */
  .admin-page #adminSidebar.open {
    transform: translateX(0) !important;
  }
  /* 2.3) el contenido principal no tendrá margin-left y sube para el hamburger */
  .admin-page .admin-content {
    margin-left: 0 !important;
    margin-top: 50px;
    padding: 15px;
  }
  /* 2.4) muestra el “hamburger” sólo en pantalla chica */
  .admin-page .admin-hamburger {
    display: flex !important;
  }
}

/* 3) Ajustes extra para pantallas ≤ 480px (tamaños muy pequeños) */
@media screen and (max-width: 480px) {
  .admin-page .admin-hamburger {
    top: 10px;
    left: 10px;
    width: 25px;
    height: 18px;
  }
  .admin-page .admin-hamburger span {
    height: 3px;
  }
  .admin-page .admin-content {
    margin-top: 45px !important;
    padding: 10px;
  }
}

/* 4) Ocultar por completo cualquier regla de .sidebar (sin .admin-page) 
      dentro de admin-page—esto previene que el “index” afecte aquí: */
@media screen and (max-width: 768px) {
  .admin-page .sidebar {
    transform: none !important;
  }
}


/* BODY (aplica a todas las páginas) */
body {
    position: relative;
  font-family: Arial, sans-serif;
  color: #efb810;
  min-height: 100vh;
  display: flex;
  flex-direction: column;      /* <- Importante: apilar en columna */
    font-family: Arial, sans-serif;
  /* Imagen de fondo */
  background: url('assets/img/fondo.webp') !important;
  background-size: cover;

  /* O, si no tienes imagen, tu color sólido: */
  /* background-color: #70000e; */
height: 100%;
  display: flex;
  flex-direction: column;
}
/* ------------------------------------------------------------------------- */
/* CAPA DE “FILTRO” : colorea toda la ventana con un semitransparente #70000e */
/* ------------------------------------------------------------------------- */
body::after {
  content: "";
  position: fixed;    /* fijo al viewport */
  top: 0;
  left: 0;
  right: 0;           /* asegúrate de cubrir todo el ancho */
  bottom: 0;          /* y todo el alto, incluso al hacer scroll */
 
  z-index: -1;
  pointer-events: none;
}
    /* no bloquea clics debajo */


/* ========================== Cortinas ========================== */
.curtain {
  position: fixed;
  top: 0;
  height: 100%;
  width: 50%;
  background-image: url('assets/img/cortinanegra.jpg')!important;
  background-size: cover;
  background-position: center;
  z-index: 500; /* Por debajo del sidebar (1000) y el header (1100) */
  transition: width 1s ease;
}
.curtain.left {
  left: 0;
}
.curtain.right {
  right: 0;
}
/* Estado “abierto” deja un 5% visible en cada lado */
.curtain.open {
  width: 5%;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px; /* Oculto inicialmente */
  width: 250px;
  height: 100%;
  background-color: #50000a;
  transition: left 0.3s ease;
  padding-top: 60px; /* espacio para el header/hamburger */
  z-index: 1000;
}

.sidebar.open {
  left: 0;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  padding: 15px 20px;
}

.sidebar ul li a {
  text-decoration: none;
  font-size: 18px;
  display: block;
  transition: background 0.2s;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
  background-color: #121212!important;
}

/* Contenedor principal + footer */
.content-wrapper {
  padding-top: 60px; /* Para que no quede detrás del header */
  margin-bottom: 0px;
}

/* Hacemos que .main-content crezca y ocupe el espacio disponible */
.main-content {
  flex: 1;
  margin-left: 0; /* Cuando sidebar está oculto */
  transition: margin-left 0.3s ease;
  width: 100%;
  position: relative;
}
.main-content::after {
  content:"";
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(255,255,255,0.3) !important;
  z-index: -1;
  pointer-events:none;
}
/* Cuando el sidebar está abierto en desktop, desplazamos el contenido */
.main-content.shifted {
  margin-left: 250px;
}

/* Header con el botón “hamburger” */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #121212!important;
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 1100;
}

.header h1 {
  margin-left: 20px;
  font-size: 1.2rem;
}

/* Icono de “hamburger” (tres líneas) */
.hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 4px;
  background-color: #eaeaea!important;
  border-radius: 2px;
}

/* ========== Estilos específicos de Home ========== */
.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 60px); /* Alto total menos header */
  text-align: center;
  padding: 0 20px; /* Pequeño padding lateral para móviles */
}

.home-container h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.home-container h1 img {
  height: 140px; /* Ajusta según la proporción de tu imagen */
  margin-left: 10px;
}

.home-container h2 {
  font-size: 1.5rem;
  font-style: italic;
}

/* ========== Estilos específicos de “Sobre Nosotros” ========== */
.sobre-container {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

.sobre-container h2 {
  margin-bottom: 15px;
}

.sobre-container p {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.sobre-container img {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 5px;
}

/* ========== Estilos del Dashboard (admin.php) ========== */
.admin-container {
  width: 800px;
  padding: 20px;
  max-width: 800px;
  margin: 80px auto;
  background-color: #121212!important;
  border-radius: 8px;
}

.admin-container h2 {
  margin-bottom: 20px;
  text-align: center;
}

.admin-container form {
  display: flex;
  flex-direction: column;
}

.admin-container label {
  margin-top: 10px;
  margin-bottom: 5px;
}

.admin-container textarea {
  resize: vertical;
  min-height: 150px;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
}

.admin-container input[type="file"] {
  margin-top: 5px;
}

.admin-container button {
  margin-top: 20px;
  padding: 12px;
  background-color: #efb810;
  color: #70000e;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.admin-container button:hover {
  background-color: #dfa10e;
}

/* ========== MEDIA QUERIES PARA DISPOSITIVOS MÓVILES ========== */
@media screen and (max-width: 768px) {
  /* ---------- Sidebar ---------- */
  .sidebar {
    width: 100%;
    left: -100%;
  }
  .sidebar.open {
    left: 0;
  }
  .main-content.shifted {
    margin-left: 0;
  }

  /* ---------- Home ---------- */
  .home-container {
    height: auto;
    padding-top: 10px;
    padding-bottom: 40px;
  }
  .home-container h1 {
    font-size: 3rem!important;
    flex-direction: column;
  }
  .home-container h1 img {
    height: 100px!important;
    margin: 0;
  }
  .home-container h2 {
    font-size: 1.8rem!important;
  }

  /* ---------- Header ---------- */
  .header h1 {
    font-size: 1rem;
  }

  /* ---------- Sobre Nosotros ---------- */
  .sobre-container {
    padding: 15px;
    font-size: 0.95rem;
    align-content: center;
    text-align: center;
  }

  /* ---------- Dashboard (admin.php) ---------- */
  .admin-container {
    margin: 20px;
    padding: 15px;
  }
  .admin-container textarea {
    font-size: 14px;
  }
  .admin-container button {
    font-size: 14px;
    padding: 10px;
  }
}

@media screen and (max-width: 480px) {
  .home-container h1 {
    font-size: 4.2rem!important;
  }
  .home-container h1 img {
    height: 100px;
  }
  .home-container h2 {
    font-size: 2rem;
  }
  .header {
    padding: 0 10px;
  }
  .header h1 {
    font-size: 0.9rem;
  }
}

/* ================================================================= */
/* ========== Fondo oscuro y estilo para el bloque “Sobre Nosotros” ========== */
.sobre-box {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 25px;
  border-radius: 8px;
  display: inline-block;
  max-width: 100%;
}

.sobre-box h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.sobre-box p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.sobre-box img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-top: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* ================================================================= */
/* ========== Estilos específicos para la página “Galería” ========== */
.gallery-container {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.gallery-text {
  margin-bottom: 20px;
  font-size: 1.2rem;
  line-height: 1.6;
  background-color: rgba(0, 0, 0, 0.4);
  display: inline-block;
  padding: 20px;
  border-radius: 8px;
}

.gallery {
  margin: 40px auto;
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gallery img {
  width: calc(33.333% - 10px);
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #7da0ca;
  transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  .gallery img {
    width: calc(50% - 10px);
    height: 150px;
  }
}

@media screen and (max-width: 480px) {
  .gallery img {
    width: 100%;
    height: 200px;
  }
}

/* ================================================================= */
/* ========== Estilos específicos para la página “Comida y Bebida” ========== */
.comida-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  text-align: center;
}

.comida-text {
  margin-bottom: 20px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #efb810;
}

.comida-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.comida-gallery img {
  width: calc(33.333% - 10px);
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #7da0ca;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease-in-out;
}

.comida-gallery img:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  .comida-gallery img {
    width: calc(50% - 10px);
    height: 150px;
  }
}
@media screen and (max-width: 480px) {
  .comida-gallery img {
    width: 100%;
    height: 200px;
  }
}




.admin-content {
  margin-left: 220px;
  padding: 20px;
}
.admin-container {
  max-width: 800px;
  margin: 0 auto;
}
.admin-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}
.mensaje {
  text-align: center;
  margin-bottom: 15px;
}
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}
.admin-form label {
  font-weight: bold;
}
.admin-form textarea {
  resize: vertical;
  min-height: 120px;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
}
.admin-form input[type="file"] {
  margin-top: 5px;
}
.admin-form button {
  margin-top: 20px;
  padding: 12px;
  background-color: #efb810;
  color: #70000e;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.admin-form button:hover {
  background-color: #dfa10e;
}

/* ========== MEDIA QUERIES PARA DISPOSITIVOS MÓVILES ========== */
@media screen and (max-width: 768px) {
  .sidebar {
    width: 100%;
    left: -100%;
  }
  .sidebar.open {
    left: 0;
  }
  .main-content.shifted {
    margin-left: 0;
  }
  .home-container {
    height: auto;
    padding-top: 10px;
    padding-bottom: 40px;
  }
  .home-container h1 {
    font-size: 2rem;
    flex-direction: column;
  }
  .home-container h1 img {
    height: 60px;
    margin: 0;
  }
  .home-container h2 {
    font-size: 1.2rem;
  }
  .header h1 {
    font-size: 1rem;
  }
  .sobre-container {
    padding: 15px;
    font-size: 0.95rem;
  }
  .admin-content {
    margin-left: 0;
    padding: 15px;
  }
}
@media screen and (max-width: 480px) {
  .home-container h1 {
    font-size: 1.6rem;
  }
  .home-container h1 img {
    height: 70px;
  }
  .home-container h2 {
    font-size: 1rem;
  }
  .header {
    padding: 0 10px;
  }
  .header h1 {
    font-size: 0.9rem;
  }
}
.wooden-footer {
    
    position: relative;
    z-index: 99;
    margin: auto;
    width: 96%;
    border-radius:80px 80px 0 0 ;
    background: url(assets/img/madera.jpeg) repeat!important;
    padding: 5px 0;
    color: #fff;
    text-align: center;
    font-family: 'Arial', sans-serif;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
    border-top: 5px solid #451d07;
    margin-top:10px;
     transform: perspective(500px) rotateX(20deg);
}

.wooden-footer .footer-content {
    padding: 10px!important;
    border-radius: 10px;
    display: inline-block;
}

.wooden-footer p {
    margin: 5px;
    font-size: 14px;
}
/* ========================= DASHBOARD LATERAL – HAMBURGER EN MÓVILES ========================= */
/* (Pega esto justo tras tu bloque .admin-sidebar y .admin-content) */

/* 1) Definimos el “hamburger” para el Dashboard */
.admin-hamburger {
  display: none;               /* Empieza oculto en desktop */
  position: fixed;
  top: 15px;
  left: 15px;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;               /* Por encima del sidebar */
}
.admin-hamburger span {
  display: block;
  height: 4px;
  background-color: #efb810;
  border-radius: 2px;
}



/* -------------------------------------------------- */
/*  A) Bloque base: Dashboard lateral en desktop       */
/* -------------------------------------------------- */
.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100%;
  background-color: #121212!important;
  padding-top: 60px;
  z-index: 1000;
}
.admin-sidebar ul {
  list-style: none;
  padding: 0;
}
.admin-sidebar ul li a {
  display: block;
  padding: 12px 20px;
  color: #efb810;
  text-decoration: none;
  border-bottom: 1px solid #70000e;
}
.admin-sidebar ul li a:hover,
.admin-sidebar ul li a.active {
  background-color: #70000e;
}

.admin-content {
  margin-left: 220px;
  padding: 20px;
  color: #efb810;
  transition: margin-left 0.3s ease;
}
/* -------------------------------------------------- */
/* ========================= DASHBOARD LATERAL – ÍCONO “HAMBURGER” EN MÓVILES ========================= */

/* 1) Definimos el “hamburger” para el Dashboard */
.admin-hamburger {
  display: none;               /* Empieza oculto en desktop */
  position: fixed;
  top: 15px;
  left: 15px;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;               /* Por encima de la sidebar */
}
.admin-hamburger span {
  display: block;
  height: 4px;
  background-color: #efb810;
  border-radius: 2px;
}

/* ========================= MEDIA QUERY PARA PANTALLAS ≤ 768px ========================= */
@media screen and (max-width: 768px) {
  /* 2) Mostrar el icono “hamburger” */
  .admin-hamburger {
    display: flex;             /* Aparece en móviles (<768px) */
  }

  /* 3) Ocultar el sidebar por defecto (lo desplazamos a la izquierda) */
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  /* 3.1) Cuando tenga la clase “open”, aparece */
  .admin-sidebar.open {
    transform: translateX(0);
  }

  /* 4) Ajustar el contenido principal para que no tenga margin-left */
  .admin-content {
    margin-left: 0;            /* Eliminamos el desplazamiento en móviles */
    margin-top: 50px;          /* Espacio para el “hamburger” arriba */
    padding: 15px;
    transition: margin-left 0.3s ease;
  }
}

/* ========================= MEDIA QUERY PARA PANTALLAS ≤ 480px ========================= */
@media screen and (max-width: 480px) {
  /* Ajustes menores en icono y padding */
  .admin-hamburger {
    top: 10px;
    left: 10px;
    width: 25px;
    height: 18px;
  }
  .admin-hamburger span {
    height: 3px;
  }
  .admin-content {
    margin-top: 45px;
    padding: 10px;
  }
}
.reservas-container {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.tickets {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.ticket {
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  overflow: hidden;
  width: calc(33% - 10px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
  transition: transform 0.3s;
}
.ticket:hover { transform: scale(1.03); }
.ticket img { width: 100%; height: 180px; object-fit: cover; }
.ticket .info { padding: 15px; color: #efb810; text-align: center; }
@media screen and (max-width: 768px) {
  .ticket { width: calc(50% - 10px); }
}
@media screen and (max-width: 480px) {
  .ticket { width: 100%; }
}
/* ========== Página Reservas ========== */
.reservas-container {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.reservas-container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.tickets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.ticket {
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  width: 260px;
  
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
  transition: transform 0.3s;
}
.ticket:hover {
  transform: translateY(-5px);
}
.ticket-image img {
  width: 100%;
  height: 80%;
  object-fit: cover;
}
.ticket-info {
  padding: 15px;
  color: #efb810;
}
.ticket-info h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.ticket-info p {
  margin: 5px 0;
}
/* ========================= Estilos para página Reservas ========================= */

/* Contenedor general */
.reservas-container {
  padding: 20px;
  text-align: center;
}

/* Grid de tickets */
.reservas-container .tickets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* Cada ticket (“flyer”) */
.reservas-container .ticket {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #efb810;
  border-radius: 8px;
  overflow: hidden;
  width: 240px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Efecto hover */
.reservas-container .ticket:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* Imagen del ticket */
.reservas-container .ticket-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Info del ticket */
.reservas-container .ticket-info {
  padding: 12px;
  color: #efb810;
  text-align: left;
}

.reservas-container .ticket-info h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.reservas-container .ticket-info p {
  margin: 4px 0;
  font-size: 0.9rem;
}

/* Responsive: en móviles, tickets al 100% */
@media screen and (max-width: 480px) {
  .reservas-container .ticket {
    width: 100%;
    max-width: 320px;
  }
}

