/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body y HTML base */
html, body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #0f0f0f;
  color: #e0e0e0;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Contenido principal crece para empujar footer */
main {
  flex: 1 0 auto;
}

/* Menú superior fijo */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);     /* ¡esto es lo que hace el efecto borroso! */
  -webkit-backdrop-filter: blur(10px); /* soporte para Safari y algunas versiones antiguas */
  z-index: 1000;
  padding: 1rem 0;
  text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* opcional: línea sutil abajo para más pro */

}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 1.5rem;
  font-size: 1.2rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #ff6347;
}

/* Enlace activo en el menú */
nav a.active {
  color: #ff6347 !important; /* rojo fuerte, o el color que prefieras */
  font-weight: bold; /* opcional: negrita para más énfasis */
}

/* Botón WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 80px; /* subido para no tapar footer en móvil */
  right: 20px;
  z-index: 1000;
}

.whatsapp-float a {
  display: block;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
  margin: 10px;
}

/* Header hero (solo index) */
.hero-header {
  background: url('../img/ejecutiva-1.jpg') no-repeat center center/cover;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

/*
.hero-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
*/

.hero-header .content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

/* Header genérico */
header {
  background: #111;
  padding: 2rem;
  text-align: center;
}

/* Botones */
.btn {
  background: #b22222;
  color: white;
  padding: 1rem 3rem;
  font-size: 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
  display: inline-block;
  margin: 1rem;
}

.btn:hover {
  background: #d32f2f;
}

/* Títulos */
h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight:normal;
}

p.subtitle {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Sección intro */
section.intro {
  padding: 4rem 2rem 2rem 2rem; /* menos padding abajo */
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

section.intro h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info {
  font-size: 1.3rem;
  margin: 1.5rem 0;
  color: #ccc;
}

.contact-info a {
  color: #ff6347;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Grid de habitaciones */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0 3rem 0; /* menos margen abajo */
}

.room-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  text-align: center;
}

.room-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s;
}

.room-card img:hover {
  transform: scale(1.03);
}

.room-info {
  padding: 1rem;
}

.room-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ff6347;
}

.price {
  font-size: 1.2rem;
  margin: 0.3rem 0;
}

/* Tablas (carta) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #333;
}

th {
  background: #222;
  font-size: 1.4rem;
}

tr:last-child td {
  border-bottom: none;
}

/* Botón volver */
.back-btn {
  display: block;
  margin: 2rem auto;
  text-align: center;
  background: #b22222;
  color: white;
  padding: 1rem 3rem;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.3rem;
  max-width: 300px;
}

.back-btn:hover {
  background: #d32f2f;
}

/* Container general */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Rayita divisoria */
hr {
  border: 0;
  height: 1px;
  background: #333;
  margin: 5rem auto;
  max-width: 300px;
}

/* Footer */
footer {
  background: #111;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  margin-top: auto; /* empuja al fondo */
}

/* Links del footer y contacto en rojo */
footer a,
.contact-info a {
  color: #ff6347; /* rojo-naranja que ya usas en otros lugares */
  text-decoration: none;
}

footer a:hover,
.contact-info a:hover {
  text-decoration: underline;
  color: #ff8c00; /* opcional: un naranja más claro al hover para contraste */
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-content {
  max-width: 90%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  color: white;
  font-size: 4rem;
}

.prev, .next {
  cursor: pointer;
  padding: 0 20px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 3rem;
  cursor: pointer;
}

.thumbnails {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* Media Queries */

/* Desktop: 4 columnas */
@media (min-width: 1024px) {
  .room-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Móvil: compacto, sin huecos */
@media (max-width: 768px) {
  .room-grid {
    margin: 1.5rem 0 1rem 0;
    gap: 1rem;
  }

  section.intro {
    padding: 2rem 1rem 1rem 1rem;
  }

  .contact-info {
    margin: 1rem 0;
    font-size: 1.1rem;
  }

  footer {
    padding: 1rem;
    margin-top: 1rem;
  }

  h1 {
    font-size: 3rem;
  }

  p.subtitle {
    font-size: 1.5rem;
  }

  .whatsapp-float {
    bottom: 80px; /* subido para no tapar footer */
  }
}
/* Smooth scroll para anclas internas */
html {
  scroll-behavior: smooth;
}