/* Fuente base */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  background-color: #121212;
  color: #ffffff;
  scroll-behavior: smooth;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(145deg, #8B0000, #1a0000);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.5s ease-in;
}

.preloader-content {
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.preloader-img {
  width: 180px;
  max-width: 80%;
  margin-bottom: 25px;
  opacity: 0;
  animation: fadeInImg 1s forwards;
}

.loader-pulse {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #D4AF37;
  animation: pulse 1.2s infinite;
  margin: 0 auto;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInImg {
  to { opacity: 1; transform: scale(1.05); }
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.8; }
}

/* Navegación */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  padding: 1em 2em;
  position: fixed;
  width: 100%;
  z-index: 999;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
nav .logo img {
  height: 45px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #D4AF37;
}

.menu-toggle {
  display: none;
  font-size: 2em;
  color: #D4AF37;
  background: transparent;
  cursor: pointer;
  z-index: 2000;
}

/* RESPONSIVE NAV */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    flex-direction: column;
    background: #121212;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    display: none;
    padding: 1em 0;
  }

  nav ul.show {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  background: url('hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 18, 18, 0.6);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
}
.hero h1 {
  font-size: 3em;
  margin: 0;
  color: #ffffff;
}
.hero p {
  font-size: 1.2em;
  color: #D4AF37;
  margin: 1em 0;
}
.btn {
  background: #D4AF37;
  color: #121212;
  padding: 0.7em 1.5em;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.btn:hover {
  background: #ba9c3c;
}

/* Secciones */
section {
  padding: 5em 2em;
  text-align: center;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
}
h2 {
  font-size: 2.5em;
  color: #D4AF37;
  margin-bottom: 0.5em;
}

/* Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1em;
  margin-top: 2em;
}
.gallery img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* Eventos */
.eventos {
  display: flex;
  flex-direction: column;
  gap: 2em;
}
.evento h3 {
  color: #ffffff;
  margin-bottom: 0.3em;
}
.evento img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  margin-bottom: 1em;
}

/* Mapa */
.mapa iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 10px;
  margin: 1em 0;
}

/* Reservaciones */
form {
  display: grid;
  gap: 1em;
  max-width: 600px;
  margin: 0 auto;
}
input, textarea, button {
  padding: 0.7em;
  border: none;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
}
button {
  background: #D4AF37;
  color: #121212;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: #ba9c3c;
}

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 1.8em;
  padding: 0.5em;
  border-radius: 50%;
  box-shadow: 0 0 10px #000;
  z-index: 1000;
}

/* Pop-up */
#popup {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.popup-content {
  background: #1e1e1e;
  padding: 2em;
  border-radius: 10px;
  text-align: center;
  color: white;
  max-width: 300px;
}
.popup-content .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.5em;
  cursor: pointer;
}

/* Footer */
footer {
  background: #000;
  padding: 2em;
  text-align: center;
}
footer .redes a {
  color: #fff;
  margin: 0 0.5em;
  font-size: 1.3em;
  transition: color 0.3s;
}
footer .redes a:hover {
  color: #D4AF37;
}
@media (max-width: 768px) {
  #menu .container a.btn {
    display: block;
    width: 80%;
    margin: 0.5em auto;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  #menu .container a.btn {
    font-size: 0.9em;
    padding: 0.5em 1em;
  }
}

