/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Evitar el desplazamiento horizontal */
html,
body {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
  background-color: #000000;
}

:root {
  --color-titulo: #e0c097;
  --color-texto: #d3b08a;
  --color-btn: #a97447;
}

/* Intro ----------------- */

.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: introFadeOut 1.5s ease forwards;
  animation-delay: 3s;
  text-align: center;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-logo {
  width: 40%;
  opacity: 0;
  transform: scale(0.5);
  animation: introZoomIn 1.5s ease forwards, introZoomOut 1.5s ease forwards 3s;
}

.intro-title {
  font-size: 4.5rem;
  color: #ce9824d8;
  margin-top: 60px;
  opacity: 0;
  transform: translateY(20px);
  animation: titleFadeIn 1.5s ease forwards, titleFadeOut 1.5s ease forwards 3s;
}

/* Animaciones */
@keyframes introZoomIn {
  to {
    opacity: 1;
    transform: scale(1.3);
  }
}

@keyframes introZoomOut {
  0% {
    opacity: 1;
    transform: scale(1.3);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

@keyframes titleFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleFadeOut {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes introFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@media (max-width: 480px) {
  .intro-logo {
    width: 70%;
  }
  .intro-title {
    font-size: 2.5rem;
  }
}

/* Header fijo */
/* --- HEADER GENERAL --- */
header {
  background: linear-gradient(90deg, #3b3b3b, #1e1e1e);
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* --- LOGO --- */
.logo {
  color: var(--color-titulo);
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  left: 50px;
  width: 10%;
}
.logo img {
  width: 100%;
}

/* --- NAV PRINCIPAL --- */
nav {
  transition: max-height 0.4s ease;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav ul li a {
  text-decoration: none;
  color: var(--color-titulo);
  font-size: 16px;
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: var(--color-titulo);
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* --- OCULTAR CHECKBOX --- */
#menu-toggle {
  display: none;
}

/* --- ICONO HAMBURGUESA --- */
.menu-icon {
  position: absolute;
  right: 50px;
  width: 25px;
  height: 25px;
  cursor: pointer;
  display: none; /* Oculto en escritorio */
  transition: transform 0.4s ease, color 0.4s ease;
}

/* Líneas de la hamburguesa */
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 25px;
  height: 3px;
  background-color: var(--color-titulo);
  transition: all 0.4s ease;
}

.menu-icon::before {
  top: 6px;
}

.menu-icon::after {
  top: 16px;
}

/* --- ESTADO ACTIVO / ANIMACIÓN --- */
.menu-icon.active {
  transform: rotate(180deg) scale(1.2);
  color: #d4a373;
  animation: bounceIn 0.3s ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.8) rotate(150deg);
    opacity: 0.7;
  }
  60% {
    transform: scale(1.3) rotate(190deg);
    opacity: 1;
  }
  100% {
    transform: scale(1.2) rotate(180deg);
  }
}

/* --- CONVERSIÓN A X --- */
.menu-icon.open::before {
  transform: rotate(45deg);
  top: 11px;
  background-color: #d4a373;
}

.menu-icon.open::after {
  transform: rotate(-45deg);
  top: 11px;
  background-color: #d4a373;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  header {
    justify-content: space-between;
    height: 70px;
  }

  /* Mostrar icono hamburguesa */
  .menu-icon {
    display: block;
  }

  /* Estilo del nav en mobile */
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #2c2c2c;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
  }

  nav ul {
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    width: 100%;
  }

  nav ul li {
    margin: 10px 0;
  }

  /* Mostrar menú cuando está activo */
  #menu-toggle:checked + .menu-icon + .logo + nav {
    max-height: 650px;
  }

  .logo {
    width: 40%;
  }
}

/* Sección principal pantalla completa ---------------------*/
.principal {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgb(0 0 0 / 65%)),
    url(/static/img/46.JPG);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.principal h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--color-titulo);
}

.principal p {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--color-texto);
  font-size: 22px;
}
.principal .logo-home {
  margin: 50px;
}
.principal .logo-home img {
  width: 30%;
}
.buttons {
  display: flex;
  gap: 20px;
}

.btn {
  background: var(--color-btn);
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #8c5a33;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--color-btn);
}

.btn-secondary:hover {
  background: var(--color-btn);
  color: #fff;
}
/* Sección principal pantalla completa ---------------------*/

/* horario  181818----------------------- */
.horario-happyhour {
  background: linear-gradient(to right, #2c2c2c, #000000);
  color: #f2e9dc;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Georgia", serif;
  border-top: 2px solid #8b5e3c;
  border-bottom: 2px solid #8b5e3c;
}

.horario-happyhour h2 {
  font-size: 2rem;
  color: #d4a373;
  margin-bottom: 10px;
  border-bottom: 1px solid #d4a373;
  padding-bottom: 5px;
}

.horario-happyhour p {
  font-size: 1.2rem;
  margin: 0 0 20px 0;
  color: #f5f5f5;
}

.contenedor-horario,
.contenedor-happyhour {
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
  max-width: 600px;
}

/* Estilo para la sección de dirección dentro de un cuadro */
.direccion-cuadro {
  text-align: center;
  background-color: #181818;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #8b5e3c;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
  width: 100%;
  max-width: 600px;
}

.direccion-info p {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0;
}

/* Estilo del botón "Ver Menú" */

.boton-reservar {
  display: inline-block;
  background-color: #8b5e3c;
  color: #fff;
  padding: 12px 25px;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 30px;
  margin-top: 15px;
  transition: background-color 0.3s, transform 0.3s;
}

.boton-reservar:hover {
  background-color: #d4a373;
  transform: scale(1.1);
}

/* galeria -------------------------------------------- */

.galeria {
  height: 100vh;
  background-color: #1e1e1e;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #d4a373;
}
.galeria-titulo {
  position: absolute;
  top: 3%;
  text-align: center;
  width: 100%;
  z-index: 3;
}

.galeria-titulo h2 {
  color: #d4a373;
  font-size: 2.5rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.carousel-container {
  width: 80%;
  height: 80%;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  margin: auto;
}

.carousel-slide {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
  width: 50%; /* 2 imágenes en desktop */
  height: 100%;
  object-fit: cover;
  flex: 0 0 50%;
  filter: brightness(0.8);
}

/* Botones */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .carousel-slide img {
    width: 100%;
    flex: 0 0 100%; /* 1 imagen en mobile */
  }
}

/* Botones */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #e0c097;
  border: none;
  font-size: 30px;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 2;
  border-radius: 5px;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* eventos --------------------------------------- */
/* Sección de Eventos */
/* 🔥 Sección de Eventos */
/* 🔥 Sección de Eventos */
/* 🔥 Sección de Eventos */
.eventos-section {
  padding: 60px 20px;
  background: #111; /* negro elegante */
  color: #f5f5f5;
  font-family: "Poppins", sans-serif;
  border-bottom: 1px solid #d4a373;
}

.titulo-eventos {
  text-align: center;
  font-size: 2.5rem;
  color: #d4af37; /* dorado */
  margin-bottom: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
  padding: 20px 0;
}

/* Línea central dorada */
.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background: #d4af37;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  z-index: 1;
}

/* Emoji cabecera */
.timeline::before {
  content: "😈";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  z-index: 3;
}

/* Emoji cola */
.timeline-end::after {
  content: "😇";
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  z-index: 3;
}

/* Timeline items */
.timeline-item {
  padding: 20px 30px;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 50px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 50px;
}

.timeline-content {
  padding: 20px;
  background: #222;
  border: 2px solid #d4af37;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
  z-index: 2;
}

.timeline-content:hover {
  transform: translateY(-5px);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #d4af37;
}

.timeline-content p {
  font-size: 1rem;
  color: #ccc;
  margin: 0;
}

.timeline-icon {
  position: absolute;
  top: 20px;
  right: -25px;
  background: #d4af37;
  color: #111;
  font-size: 1.6rem;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  z-index: 3;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -25px;
  right: auto;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .titulo-eventos {
    font-size: 24px;
  }
  .timeline::before,
  .timeline-end::after {
    font-size: 1.6rem;
  }
  .timeline::before {
    top: -31px;
  }
  .timeline-end::after {
    bottom: -27px;
  }

  .timeline-item {
    width: 90%;
    padding: 15px;
    margin-bottom: 30px;
  }

  .timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 30px;
  }

  .timeline-item:nth-child(even) {
    left: 10%;
    padding-left: 30px;
  }

  .timeline-content {
    padding: 15px;
  }

  .timeline-content h3 {
    font-size: 1.2rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }

  .timeline-icon {
    font-size: 1.4rem;
    padding: 8px;
    top: 15px;
  }
}

/* reservas  ------------------------------------------------------ */

/* Estilos específicos para la sección de Reservas */
.reservas {
  background: #1e1e1e; /* Fondo oscuro */
  padding: 50px 0;
  color: #fff;
}

.reservas-contenedor {
  background: #3a3a3a;
  padding: 40px;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

h1 {
  color: #d9a056;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: "Georgia", serif;
}

p {
  color: var(--color-texto);
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  color: var(--color-texto);
  font-weight: bold;
  margin-bottom: 8px;
  font-weight: bold;
}

input {
  padding: 10px;
  margin-bottom: 20px;
  border: 2px solid #444;
  border-radius: 5px;
  background-color: #2a2a2a;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s;
  width: 100%;
}

input:focus {
  border-color: #fa9e42;
  outline: none;
}

button {
  padding: 12px;
  background-color: var(--color-btn);
  color: #fff;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #e0872d;
}

@media (max-width: 600px) {
  .reservas-contenedor {
    padding: 20px;
    border-radius: 0;
    background-color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
  }

  h1 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }
}
/* direccion --------------------------------------- */
.direccion {
  background-color: #000000;
  color: #f2e9dc;
  padding: 40px 20px;
  text-align: center;
  font-family: "Georgia", serif;
}

.direccion h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.direccion p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

#map {
  width: 100%;
  height: 400px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

/* footer------------------------------------ */
.footer-confesionario {
  background-color: #070707;
  color: #f2e9dc;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 2px solid #8b5e3c;
  font-family: "Georgia", serif;
}
.footer-confesionario img {
  width: 10%;
  margin: 25px 0px;
}

.footer-links {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #d4a373;
  margin: 0 10px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-redes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.footer-redes a {
  color: #d4a373;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: transform 0.3s, color 0.3s ease;
  text-decoration: none;
}

.footer-redes a:hover {
  color: #ffffff;
}

.footer-redes i {
  font-size: 2rem;
  color: inherit;
  transition: color 0.3s ease;
}

.footer-redes a:hover i {
  color: #ffffff;
}

/* Media Queries para Responsividad */

@media (max-width: 768px) {
  .footer-links a {
    font-size: 1rem; /* Reducir tamaño de fuente en pantallas medianas */
    margin: 0 8px;
  }

  .footer-redes a {
    font-size: 1.5rem; /* Ajustar tamaño de los íconos */
  }
}

@media (max-width: 480px) {
  .principal .logo-home img {
    width: 100%;
  }
  .footer-confesionario img {
    width: 50%;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-links a {
    font-size: 1rem;
    margin-bottom: 22px;
  }

  .footer-redes {
    align-items: center;
  }

  .footer-redes a {
    font-size: 1.5rem; /* Ajustar tamaño de los íconos para pantallas más pequeñas */
  }
}

/* video --------------------- */
.video-section {
  position: relative;
  width: 100%;
  height: 100vh; /* ocupa toda la pantalla en alto */
  max-height: 800px; /* límite en pantallas grandes */
  overflow: hidden;
  background-color: #121212;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #d4a373;
  border-top: 1px solid #d4a373;
}

.promo-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  /* sin filter */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 15%);
  z-index: 2;
}

.video-content {
  position: relative;
  z-index: 3;
  color: #d4a373;
  text-align: center;
  max-width: 80%;
  animation: fadeInUp 2s ease-out;
}

.video-content h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
  font-weight: 600;
}

.video-content p {
  font-size: 1.3rem;
  color: #f0e3d0;
}

/* Animación suave al aparecer el texto */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 992px) {
  .video-section {
    max-height: none;
  }
}

/* boton reseñas --------------------- */

.btn-reseñas-container {
  text-align: center;
  margin-top: 20px;
}

.btn-reseñas {
  display: inline-block;
  background-color: var(--color-btn); /* gris oscuro a negro */
  color: #ffffff;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-reseñas:hover {
  transform: scale(1.05);
  color: #ffffff;
}
