body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
  color: white;
}


h1, h2 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
}

h1 {
  text-align: center;
  margin: 40px 0;
 color: black; 
}


.formulario {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.formulario input {
  padding: 10px;
  border-radius: 10px;
  border: none;
}

.rooms {
  width: 80%;
  margin: auto;
}


.room {
  display: flex;
  background: rgba(0,0,0,0.5);
  margin-bottom: 20px;
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: 0.3s;
}

.room:hover {
  transform: scale(1.02);
}

.room img {
  width: 250px;
  height: 180px;
  object-fit: cover;
}


.info {
  padding: 20px;
  flex: 1;
}

.side {
  padding: 20px;
  text-align: center;
}


button {
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  background: gold;
  color: black;
  font-weight: bold;
  transition: 0.3s;
}

button:hover {
  background: #d4af37;
}


.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
}

.modal-content {
  background: rgba(255,255,255,0.95);
  color: black;
  width: 300px;
  margin: 100px auto;
  padding: 20px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}


.hotel {
  position: relative;
  z-index: 1;
}


#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}


body::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;

  background: radial-gradient(
    circle,
    rgba(0,0,0,0.2) 40%,
    rgba(0,0,0,0.7) 65%,
    rgba(0,0,0,1) 100%
  );

  pointer-events: none;
  z-index: 0;
}

/* 📱 TABLET */
@media (max-width: 1024px) {

  .rooms {
    width: 90%;
  }

  .room {
    flex-direction: column;
  }

  .room img {
    width: 100%;
    height: 220px;
  }

  .side {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .side h3 {
    margin: 0;
  }
}


/* 📱 CELULAR */
@media (max-width: 768px) {

  h1 {
    font-size: 28px;
    margin: 25px 0;
    color: white; /* 🔥 porque negro no se ve en móvil */
  }

  .formulario {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .formulario input {
    width: 90%;
    max-width: 300px;
    font-size: 16px;
  }

  .rooms {
    width: 95%;
  }

  .room {
    flex-direction: column;
    border-radius: 15px;
  }

  .room img {
    width: 100%;
    height: 200px;
  }

  .info {
    padding: 15px;
    text-align: center;
  }

  .info h2 {
    font-size: 20px;
  }

  .info p {
    font-size: 14px;
  }

  .side {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .side h3 {
    font-size: 18px;
  }

  button {
    width: 100%;
    font-size: 16px;
  }

  .modal-content {
    width: 90%;
    margin: 80px auto;
  }
}


/* 📱 CELULAR PEQUEÑO */
@media (max-width: 480px) {

  h1 {
    font-size: 24px;
  }

  .room img {
    height: 180px;
  }

  .info h2 {
    font-size: 18px;
  }

  .info p {
    font-size: 13px;
  }

  button {
    font-size: 14px;
    padding: 10px;
  }
}


.nav a{
  color:#ccc;
  text-decoration:none;
  letter-spacing:6px;
  font-size:18px;
  transition:0.3s;
}

.nav a:hover{
  color:#d4af37;
}

.nav{
  display:flex;
  justify-content:center;
  gap:60px;
  padding:20px 0;
 align-items:center; /* 👈 esto arregla lo de las letras arriba */
  background:#0b0b0b;  
}

.logo img{
  height: 70px;   
  width: auto;
  display: block;
  align-items: center;
}

@media (max-width: 768px){

  .nav{
    flex-direction:column;
    gap:15px;
    text-align:center;
  }

  .nav{ gap:30px; }
}
