/* ==========================================================================
   El Lagar de la Navazuela - hoja de estilos
   Reproduccion del diseno original (Astra + Elementor) sobre Bootstrap 5
   ========================================================================== */

:root {
  /* Paleta original del sitio */
  --lnv-burdeos: #93003c;
  --lnv-burdeos-oscuro: #6d002d;
  --lnv-texto: #000000;
  --lnv-gris: #3a3a3a;
  --lnv-gris-claro: #f5f5f5;

  /* Tipografias originales */
  --lnv-fuente-titulo: "Rasa", Georgia, "Times New Roman", serif;
  --lnv-fuente-texto: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --lnv-fuente-cita: "Baskervville", Georgia, "Times New Roman", serif;

  /* Sobrescritura de variables de Bootstrap */
  --bs-body-font-family: var(--lnv-fuente-texto);
  --bs-body-color: var(--lnv-texto);
  --bs-primary: #93003c;
  --bs-primary-rgb: 147, 0, 60;
  --bs-link-color: #93003c;
  --bs-link-color-rgb: 147, 0, 60;
  --bs-link-hover-color: #6d002d;
  --bs-link-hover-color-rgb: 109, 0, 45;
  --bs-border-radius: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--lnv-fuente-texto);
  color: var(--lnv-texto);
  background-color: #fff;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Tipografia
   -------------------------------------------------------------------------- */
.lnv-titulo-xl,
.lnv-titulo-lg,
.lnv-titulo-md,
.lnv-titulo-sm {
  font-family: var(--lnv-fuente-titulo);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

.lnv-titulo-xl { font-size: clamp(2.25rem, 5.2vw, 3.75rem); }   /* 60 px */
.lnv-titulo-lg { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }    /* 40 px */
.lnv-titulo-md { font-size: clamp(1.5rem, 3.1vw, 2.1875rem); }  /* 35 px */
.lnv-titulo-sm { font-size: clamp(1.375rem, 2.4vw, 1.875rem); } /* 30 px */

.lnv-texto {
  font-family: var(--lnv-fuente-texto);
  font-size: 1.125rem; /* 18 px */
  font-weight: 400;
  line-height: 1.7;
}

.lnv-texto p:last-child { margin-bottom: 0; }

.lnv-cita {
  font-family: var(--lnv-fuente-cita);
  font-size: 1.25rem; /* 20 px */
  font-style: italic;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.lnv-burdeos { color: var(--lnv-burdeos) !important; }

/* --------------------------------------------------------------------------
   Cabecera y navegacion
   -------------------------------------------------------------------------- */
.lnv-cabecera {
  background-color: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
}

.lnv-cabecera .navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.lnv-cabecera .navbar-brand img {
  width: 200px;
  height: auto;
  max-width: 60vw;
}

.lnv-cabecera .navbar-nav .nav-link {
  font-family: var(--lnv-fuente-texto);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--lnv-gris);
  padding: .65rem 1rem;
  transition: color .25s ease;
}

.lnv-cabecera .navbar-nav .nav-link:hover,
.lnv-cabecera .navbar-nav .nav-link:focus,
.lnv-cabecera .navbar-nav .nav-link.active {
  color: var(--lnv-burdeos);
}

.lnv-cabecera .navbar-toggler {
  border: 0;
  color: var(--lnv-gris);
  font-size: 1.5rem;
  padding: .25rem .5rem;
}

.lnv-cabecera .navbar-toggler:focus { box-shadow: none; }

/* --------------------------------------------------------------------------
   Carrusel de portada (600 px, con efecto Ken Burns como el original)
   -------------------------------------------------------------------------- */
.lnv-hero { position: relative; }

.lnv-hero .carousel-item { height: 600px; }

.lnv-hero .lnv-hero-img {
  height: 600px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.lnv-hero .carousel-item.active .lnv-hero-img {
  animation: lnv-ken-burns 6s ease-out both;
}

@keyframes lnv-ken-burns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .lnv-hero .carousel-item.active .lnv-hero-img { animation: none; }
}

.lnv-hero .carousel-control-prev,
.lnv-hero .carousel-control-next {
  width: 8%;
  opacity: .75;
}

.lnv-hero .carousel-control-prev:hover,
.lnv-hero .carousel-control-next:hover { opacity: 1; }

.lnv-hero .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  margin: 0 5px;
}

@media (max-width: 767.98px) {
  .lnv-hero .carousel-item,
  .lnv-hero .lnv-hero-img { height: 380px; }
}

/* --------------------------------------------------------------------------
   Franjas de seccion
   -------------------------------------------------------------------------- */
.lnv-franja { padding: 3.75rem 0; }

.lnv-franja--burdeos {
  background-color: var(--lnv-burdeos);
  color: #fff;
}

.lnv-franja--blanca { background-color: #fff; }

.lnv-franja--estrecha { padding: 2.5rem 0; }

/* Seccion con fotografia de fondo y velo negro al 50 % */
.lnv-franja--foto {
  position: relative;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 5rem 0;
}

.lnv-franja--foto::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .5);
}

.lnv-franja--foto > .container { position: relative; z-index: 1; }

/* Columna cuyo contenido es una fotografia a sangre */
.lnv-bloque-foto {
  min-height: 460px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.lnv-bloque-texto { padding: 3.75rem 2.5rem; }

@media (max-width: 991.98px) {
  .lnv-bloque-foto { min-height: 320px; }
  .lnv-bloque-texto { padding: 2.5rem 1.25rem; }
}

/* --------------------------------------------------------------------------
   Listas de comodidades
   -------------------------------------------------------------------------- */
.lnv-lista {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lnv-lista li {
  font-family: var(--lnv-fuente-titulo);
  font-size: 1.25rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .45rem 0;
}

.lnv-lista li i {
  flex: 0 0 auto;
  font-size: 1.1rem;
  line-height: 1.5;
  width: 1.5rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Galerias
   -------------------------------------------------------------------------- */
.lnv-galeria a {
  display: block;
  overflow: hidden;
  position: relative;
}

.lnv-galeria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, opacity .3s ease;
}

.lnv-galeria a:hover img {
  transform: scale(1.07);
  opacity: .88;
}

.lnv-galeria--habitaciones img { aspect-ratio: 3 / 2; }
.lnv-galeria--cuadricula img { aspect-ratio: 4 / 3; }

/* Visor de imagenes (sustituye al lightbox de Elementor) */
#lnvVisor .modal-content {
  background-color: transparent;
  border: 0;
}

#lnvVisor img {
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
}

#lnvVisor .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  position: absolute;
  top: -2.25rem;
  right: 0;
  z-index: 2;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Formularios
   -------------------------------------------------------------------------- */
.lnv-form label {
  font-family: var(--lnv-fuente-texto);
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: .35rem;
}

.lnv-form .form-control,
.lnv-form .form-select {
  border-radius: 0;
  border: 1px solid #cfcfcf;
  padding: .7rem .9rem;
  font-size: 1rem;
}

.lnv-form .form-control:focus,
.lnv-form .form-select:focus {
  border-color: var(--lnv-burdeos);
  box-shadow: 0 0 0 .2rem rgba(147, 0, 60, .15);
}

.lnv-btn {
  display: inline-block;
  background-color: var(--lnv-burdeos);
  border: 1px solid var(--lnv-burdeos);
  color: #fff;
  font-family: var(--lnv-fuente-texto);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .75rem 2.25rem;
  border-radius: 0;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease;
  cursor: pointer;
}

.lnv-btn:hover,
.lnv-btn:focus {
  background-color: var(--lnv-burdeos-oscuro);
  border-color: var(--lnv-burdeos-oscuro);
  color: #fff;
}

.lnv-btn--claro {
  background-color: #fff;
  border-color: #fff;
  color: var(--lnv-burdeos);
}

.lnv-btn--claro:hover,
.lnv-btn--claro:focus {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Resenas
   -------------------------------------------------------------------------- */
.lnv-resumen-resenas {
  text-align: center;
  border: 1px solid #e5e5e5;
  padding: 1.5rem 1rem;
  height: 100%;
}

.lnv-resumen-resenas .lnv-nota {
  font-family: var(--lnv-fuente-titulo);
  font-size: 1.75rem;
  color: var(--lnv-burdeos);
  line-height: 1;
}

.lnv-resumen-resenas .lnv-marca-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: .95rem;
  font-weight: 600;
  color: #444;
}

.lnv-resumen-resenas .lnv-marca-google i {
  font-size: 1.15rem;
  color: #4285f4;
  line-height: 1;
}

.lnv-estrellas {
  color: #fbbc04;
  font-size: 1.05rem;
  line-height: 1;
}

.lnv-estrellas i + i {
  margin-left: .12em;
}

.lnv-resena {
  border: 1px solid #e5e5e5;
  padding: 1.25rem;
  height: 100%;
  background-color: #fff;
}

.lnv-resena .lnv-fuente {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  color: #777;
}

.lnv-resena .lnv-fuente i {
  font-size: .95rem;
  color: #4285f4;
  line-height: 1;
}

.lnv-resena .lnv-autor {
  font-weight: 600;
  font-size: .95rem;
  margin: .35rem 0 .5rem;
}

.lnv-resena p {
  font-size: .9375rem;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Normas de la casa y textos legales
   -------------------------------------------------------------------------- */
.lnv-legal {
  font-size: 1rem;
  line-height: 1.7;
}

.lnv-legal h3 {
  font-family: var(--lnv-fuente-titulo);
  color: var(--lnv-burdeos);
  font-size: 1.5rem;
  margin: 2.25rem 0 .75rem;
}

.lnv-legal h4 {
  font-family: var(--lnv-fuente-texto);
  font-size: 1rem;
  font-weight: 700;
  margin: 1.25rem 0 .5rem;
}

.lnv-legal ul { padding-left: 1.25rem; }
.lnv-legal li { margin-bottom: .4rem; }

/* --------------------------------------------------------------------------
   Pie de pagina
   -------------------------------------------------------------------------- */
.lnv-pie {
  background-color: var(--lnv-burdeos);
  color: #fff;
  padding: 3.75rem 0 1.5rem;
}

.lnv-pie a { color: #fff; text-decoration: none; }
.lnv-pie a:hover { color: #fff; text-decoration: underline; }

.lnv-pie .lnv-dato {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  margin-bottom: 1.75rem;
  text-align: center;
}

.lnv-pie .lnv-dato i { font-size: 1.75rem; }
.lnv-pie .lnv-dato .lnv-titulo-sm { word-break: break-word; }

.lnv-pie .lnv-mapa iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.lnv-pie h3 {
  font-family: var(--lnv-fuente-titulo);
  font-size: .9375rem;
  font-weight: 400;
  margin-bottom: .75rem;
}

.lnv-pie .lnv-enlaces {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .6875rem;
  line-height: 2;
}

.lnv-pie .lnv-redes {
  display: flex;
  gap: .75rem;
}

.lnv-pie .lnv-redes a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #fff;
  color: var(--lnv-burdeos);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: opacity .25s ease;
}

.lnv-pie .lnv-redes a:hover { opacity: .8; text-decoration: none; }

.lnv-pie hr {
  border-color: #fff;
  opacity: 1;
  margin: 2.5rem 0 1.5rem;
}

.lnv-pie .lnv-feder {
  font-family: var(--lnv-fuente-texto);
  font-size: .625rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Boton flotante de WhatsApp
   -------------------------------------------------------------------------- */
.lnv-whatsapp {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 1px 6px 24px 0 rgba(7, 94, 84, .24);
  z-index: 1030;
  text-decoration: none;
  transition: transform .25s ease;
}

.lnv-whatsapp:hover {
  transform: scale(1.08);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Aviso de cookies
   -------------------------------------------------------------------------- */
.lnv-cookies {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .9);
  color: #fff;
  padding: 1rem;
  z-index: 1040;
  font-size: .875rem;
}

.lnv-cookies a { color: #fff; text-decoration: underline; }

/* Campo trampa antispam: invisible pero presente en el DOM */
.lnv-trampa {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
