/* pisos.css */

/* Estilos generales */
html {
  color-scheme: light;
}
body {
  background-color: #fdfaf6;
  font-family: 'Playfair Display', serif;
  color: #000000;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
}

body.fullscreen-modal-open {
  overflow: hidden;
}

/* Contenedor principal */
.container {
  padding-top: 80px;
  padding-bottom: 40px;
}

/* Título del alojamiento */
.accommodation-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #000000;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
  text-align: center;
}

.accommodation-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: #333333;
  text-align: center;
  margin-bottom: 20px;
}


/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.8); /* Fondo blanco semitransparente */
  color: #000000;
  padding: 10px 30px;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 200;
}

/* Este bloque estiliza el contenedor del pie de página */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Este bloque estiliza el logo del pie de página */
.footer-logo {
  margin: 0;
}

/* Este bloque estiliza la imagen del logo del pie de página */
.logo-img {
  height: 120px;
  width: 120px;
  border-radius: 0;
  border: 2px solid black;
  object-fit: cover;
  transition: transform 0.3s ease, border-width 0.3s ease;
  cursor: pointer;
}

/* Este bloque define los efectos del logo al pasar el ratón */
.logo-img:hover {
  transform: scale(1.1);
  border-width: 4px;
}

/* Este bloque estiliza el contenido del pie de página */
.footer-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Este bloque estiliza las secciones individuales del pie de página */
.footer-section {
  min-width: 200px;
  text-align: left;
}

/* Este bloque estiliza los encabezados de las secciones del pie de página */
.footer-section h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: black;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Este bloque estiliza los párrafos de las secciones del pie de página */
.footer-section p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
  color: #333333;
}

/* Este bloque estiliza los enlaces del pie de página */
.footer-link {
  font-family: 'Poppins', sans-serif;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Este bloque define los efectos al pasar el ratón por los enlaces del pie de página */
.footer-link:hover {
  color: #666666;
}

/* Este bloque estiliza los enlaces de redes sociales */
.social-links {
  display: flex;
  gap: 10px;
}

/* Separador */
.footer-divider {
  border: 0;
  height: 1px;
  background: #00d4ff;
  margin: 1rem 0;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  width: 100%;
}

/* Copyright */
.footer-copyright {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-size: 0.9rem;
  margin: 0;
  color: #000000;
  width: 100%;
}

/* Footer simplificado */
.footer-simple {
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  font-family: 'Playfair Display', serif;
  text-align: center;
}

.footer-simple p {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

/* Texto del logo en el footer */
.footer-simple .footer-logo {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#contactMethodModal .modal-dialog {
  max-width: 350px;
}

#rulesModal .modal-dialog {
  max-width: 450px;
}

#contactMethodModal .modal-content,
#rulesModal .modal-content {
  border-radius: 8px;
  text-align: center;
  background-color: #f8f9fa;
  padding: 1.5rem;
}

#contactMethodModal .modal-title,
#rulesModal .modal-title {
  font-size: 1.2rem;
  color: #333;
  text-transform: none;
  font-family: 'Playfair Display', serif;
}

#rulesModal .modal-body,
#contactMethodModal .modal-body {
  margin-top: 0;
}

#rulesModal .modal-body .rules-scrollbox {
  max-height: 40vh;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #fff;
}

#contactMethodModal .btn {
  width: 120px;
  margin-bottom: 15px;
}

#contactMethodModal .btn-success {
  background-color: #25D366;
  border: none;
}

#contactMethodModal .btn-outline-primary {
  background-color: #007bff;
  color: #fff;
  border: none;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 0.5rem;
}

.footer-links .footer-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #000;
  text-decoration: none;
}

.footer-links .footer-link:hover {
  color: #666;
}
#language-selector {
    position: relative;
    display: inline-block;
}

#language-selector .dropdown-toggle {
    background-color: transparent;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

#language-menu {
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 6px;
}

#language-menu button {
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

#language-menu button:hover {
    background-color: #f1f1f1;
}

body.pagina-index,
body.pagina-piso {
  padding-top: 0;
}


/* Solución superposición de menús: asegura que las tarjetas nunca queden sobre los menús del header */
.card, .room-card, .service-card, .common-area-card {
  z-index: 1 !important;
  position: relative !important;
}

/* FIJAR EL MENÚ SIEMPRE POR ENCIMA */
.desktop-dropdown > .dropdown-menu {
  z-index: 50000 !important;
  position: absolute !important;
  background: inherit;
}

/* BAJAR z-index y position a todos los padres del contenido de servicios y contenedores */
.services-container,
.services-card,
.services-wrapper,
.servicios-card,
.servicios-container,
.container,
.section-title,
.services-title,
.services-list {
  z-index: 1 !important;
  position: static !important;
}
