/* 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: #000000;
  --color-texto: #ffffff;
  --color-btn: #565656;
}

/* 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: 15%;
  opacity: 0;
  transform: scale(0.5);
  animation: introZoomIn 1.5s ease forwards, introZoomOut 1.5s ease forwards 3s;
  filter: brightness(0) invert(1);
}

.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 {
  background: linear-gradient(90deg, #1a1a1a, #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%;
  filter: brightness(0) invert(1);
}
.logo img {
  width: 25%;
}

/* Nav */
nav {
  transition: max-height 0.4s ease;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  position: relative;
  transition: color 0.3s ease;
  font-family: sans-serif;
  font-weight: 700;
}

nav ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #fff;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hamburguesa */
.menu-icon {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  position: absolute;
  right: 50px;
}

/* Ocultar el checkbox */
#menu-toggle {
  display: none;
}

/* 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: #1a1a1a;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
  }

  nav ul {
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    width: 100%; /* Asegúrate que ocupe todo el ancho */
  }

  nav ul li {
    margin: 10px 0;
  }

  /* Mostrar menú cuando está activo */
  #menu-toggle:checked + .menu-icon + .logo + nav {
    max-height: 600px; /* ajustable si hay más elementos */
  }
  .logo {
    width: 40%;
  }
}

/* Sección principal pantalla completa ---------------------*/
.principal {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.534)),
    url(img/BG1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  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: #fff;
}

.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: 12%;
}

.logo-blanco {
  filter: brightness(0) invert(1);
}

.buttons {
  display: flex;
  gap: 20px;
}

.btn {
  background: var(--color-btn);
  color: #fff;
  padding: 15px 78px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  font-size: 20px;
}

.btn:hover {
  background: #ffffff;
  color: #000;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--color-btn);
}

.btn-secondary:hover {
  background: #fff;
  color: #000;
}
/* Sección principal pantalla completa ---------------------*/

/* horario  181818----------------------- */
.horario-happyhour {
  background: linear-gradient(135deg, #d9d9d9, #1c1c1c);
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Georgia", serif;
}

.horario-happyhour h2 {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 10px;
  border-bottom: 2px solid #000000;
  padding-bottom: 5px;
}

.horario-happyhour p {
  font-size: 1.2rem;
  margin: 0 0 20px 0;
  color: #2d2d2d;
}

.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 #878787;
  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: var(--color-btn);
  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: #ffffff;
  color: #000;
  transform: scale(1.1);
}

/* galeria -------------------------------------------- */

.galeria {
  height: 100vh;
  background-color: #1c1c1c;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #8a8a8a;
}
.galeria-titulo {
  position: absolute;
  top: 3%;
  text-align: center;
  width: 100%;
  z-index: 3;
}

.galeria-titulo h2 {
  color: var(--color-texto);
  font-size: 2rem;
  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);
}

.carousel-slide {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
  width: 50%; /* ✅ Cada imagen ocupa la mitad del contenedor en pantallas grandes */
  height: 100%;
  object-fit: cover;
  flex: 0 0 50%;
  filter: brightness(0.8);
}

/* Media Query para pantallas pequeñas */
@media (max-width: 768px) {
  .carousel-slide img {
    width: 100%; /* En pantallas pequeñas, cada imagen ocupa el 100% */
    flex: 0 0 100%;
  }
}

/* Botones */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  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;
}

/* Responsive: en pantallas pequeñas se apilan */
@media (max-width: 768px) {
  .eventos-row {
    flex-direction: column;
  }
  .galeria-titulo {
    top: 2%;
  }
}
@media (max-width: 1700px) {
  .galeria-titulo {
    top: 2%;
  }
}

/* reservas  ------------------------------------------------------ */

/* Estilos específicos para la sección de Reservas */

.reservas {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #d9d9d9, #1c1c1c);
  color: #000000;
}

.reservas h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.botones-reserva {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-reserva,
.btn-contacto {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-reserva {
  background: #000; /* Verde esmeralda */
  box-shadow: 0 6px 20px rgba(12, 12, 12, 0.6);
  color: #fff;
}

.btn-contacto {
  background: #bcbcbc;
  box-shadow: 0 4px 15px rgba(171, 171, 171, 0.4);
  color: #000;
}

.btn-reserva:hover {
  transform: scale(1.05);
}
.btn-contacto:hover {
  transform: scale(1.05);
}

.btn-reserva:active,
.btn-contacto:active {
  transform: scale(0.98);
}

/* 📱 Estilos para versión móvil */
@media (max-width: 600px) {
  .botones-reserva {
    flex-direction: column;
    gap: 15px;
  }

  .btn-reserva,
  .btn-contacto {
    width: 80%;
    padding: 15px 0;
    font-size: 1.1rem;
  }

  .reservas h2 {
    font-size: 2rem;
  }
}

/* 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;
}

/* opinioones -------------------- */
.opiniones {
  max-width: 920px;
  margin: 0px auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.opiniones h2 {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 18px;
  color: #ffffff;
}

/* Contenedor principal */
.carousel {
  position: relative;

}

/* Viewport con overflow hidden */
.carousel-viewport {
  overflow: hidden;
  margin-left: 0;
}

/* Track: fila flexible de tarjetas */
.carousel-track {
  display: flex;
  gap: 20px;
  margin-left: 20px;
  transition: transform 0.45s cubic-bezier(0.22, 0.9, 0.35, 1);
  will-change: transform;
}

/* Cada tarjeta: 2 por vista, en móvil 1 */
.review {
  flex: 0 0 calc((100% - 40px) / 2);
  max-width: 48%;
  box-sizing: border-box;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.avatar {
  width: 44px;
  height: 44px;
  background: #e6e6e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.review h3 {
  margin: 0;
  font-size: 1rem;
  color: #222;
}

.stars {
  color: #f5b301;
  font-size: 1.1rem;
  margin: 8px 0;
}
.review p {
  margin: 0;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Botones ahora debajo del carrusel */
.carousel-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}

.reviews-prev-btn,
.reviews-next-btn {
  background: #222;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  transition: background 0.15s;
}
.reviews-prev-btn:hover,
.reviews-next-btn:hover {
  background: #444;
}

/* Responsive: tablets y móviles */
/* Responsive: tablets y móviles */
@media (max-width: 768px) {
  .review {
    flex: 0 0 100%; /* ocupar todo el viewport */
    max-width: 100%;
    margin: 0 auto; /* centrar horizontalmente */
  }
  .carousel-track{
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .review {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* footer------------------------------------ */
.footer-aron {
  background-color: #070707;
  color: #f2e9dc;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 2px solid #8a8a8a;
  font-family: "Georgia", serif;
}
.footer-aron img {
  width: 10%;
  margin-bottom: 15px;
}

.footer-links {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--color-texto);
  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: #fff;
  transition: color 0.3s ease;
}

.footer-redes a:hover i {
  color: #ffffff;
}

.derechos {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 10px;
}
.derechos p {
  color: #fff;
  font-size: 10px;
  padding: 10px;
  text-align: center;
}
/* 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: 60%;
    margin-top: -5%;
  }
  .footer-aron 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 */
  }

  .principal h1 {
    font-size: 35px;
    margin-top: -7%;
  }
  .principal p {
    font-size: 17px;
  }
}

/* video --------------------- */
.video-section {
  position: relative;
  width: 100%;
  height: 100vh; /* ocupa toda la altura visible */
  max-height: 700px; /* no pasa de 700px en pantallas grandes */
  overflow: hidden;
  background-color: #121212;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%; /* importante para móviles */
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.5) contrast(1.2) grayscale(0.2); /* look rústico */
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 10, 5, 0.4);
  z-index: 2;
}

.video-content {
  position: relative;
  z-index: 3;
  color: var(--color-texto);
  text-align: center;
  max-width: 90%;
  padding: 0 15px; /* margen interno para móviles */
  animation: fadeInUp 2s ease-out;
}

.video-content h2 {
  font-size: 4.5rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
  font-weight: 600;
}

.video-content p {
  font-size: 2.5rem;
  color: var(--color-texto);
}

/* --- Ajustes responsive --- */
@media (max-width: 768px) {
  .video-content h2 {
    font-size: 2.5rem;
  }
  .video-content p {
    font-size: 1.5rem;
  }
}

/* Animación suave al aparecer el texto */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
