/* Section 1 : Hero / NAV */
/* Tipografías */
body {
  font-family: 'Inter', sans-serif;
  padding-top: 80px;
  padding-top: var(--nav-height);
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
}

.color-verde {
  background: #0f3d1f;
}

.color-verde:hover {
  background: #237841;
}

/* Navbar */
.navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.nav-link {
  color: #1f3d2b;
  font-weight: 500;
  font-size: 1.10rem;
}

.navbar .nav-link:hover {
  color: #2f6b45;
}

.navbar-brand img {
  max-height: 120px;
  /* desktop */
  width: auto;
  margin-top: -10px;
  margin-bottom: -8px;
}

.navbar-brand {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

:root {
  --nav-height: 50px;
}

.hero {
  min-height: calc(100vh - var(--nav-height));
  background: url('../img/complejo.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  background-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  color: #fff;
  max-width: 750px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Botón amarillo */
.btn-warning {
  background-color: #f2b705;
  border: none;
  color: #1f3d2b;
  font-weight: 600;
}

.btn-warning:hover {
  background-color: #d9a404;
}

.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  opacity: 0.85;
}

.mouse .wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(8px);
    opacity: 0.4;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Media Querys */

@media (max-width: 768px) {
  .navbar-brand img {
    max-height: 40px;
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    max-height: 36px;
  }
}

@media (max-width: 768px) {
  .mouse {
    width: 22px;
    height: 36px;
  }

  .scroll-indicator {
    bottom: 18px;
  }
}


/*Section 2 : Bienvenidos / Info*/

/* =========================
   Section 2 : Bienvenidos
========================= */

.intro-section {
  padding: 120px 0;
  background-color: #f7f6ef;
}

#complejo .row {
  align-items: stretch;
}

/* Texto */
.intro-eyebrow {
  font-size: 18px;
  letter-spacing: 2px;
  color: #c9a227;
  font-weight: 600;
}

.intro-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin: 15px 0 25px;
}

.intro-text {
  font-size: 17px;
  color: #555;
  max-width: 520px;
}

/* Imagen */
.intro-image {
  position: relative;
  width: 115%;
  /* agranda el CUADRANTE */
  max-width: none;
  margin-left: -7%;
  /* corre hacia afuera */
  height: 100%;
}

/* imagen */
.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: 10px;
}

/* caja decorativa */
.intro-image::before {
  content: "";
  position: absolute;
  bottom: -25px;
  /* ⬇ */
  right: -25px;
  /* ➡ */
  width: 50%;
  height: 50%;
  background: #f4c430;
  border-radius: 10px;
  z-index: 1;
  bottom: -32px;
  right: -32px;
  opacity: 0.95;
  filter: brightness(0.95);
}



/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature {
  display: flex;
  gap: 15px;
}

.feature .icon {
  width: 44px;
  height: 44px;
  background: #e3eadf;
  /* verde claro */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature .icon i {
  font-size: 25px;
  color: #1f5c3a;
  /* verde principal */
  line-height: 1;
}

.feature h6 {
  margin: 0;
  font-weight: 600;
}

.feature p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #666;
}

/*ANIMACION*/
.intro-section {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.intro-section.intro-visible {
  opacity: 1;
  transform: translateX(0);
}


/* Responsive */
@media (max-width: 991px) {
  .intro-image {
    height: 360px;
    margin-bottom: 40px;
  }

  .intro-image::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .intro-title {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Section Servicios */

.services-section {
  background: #0f3d1f;
  padding: 110px 0;
  color: #f5f5f0;
}

.services-eyebrow {
  display: block;
  font-size: 18px;
  letter-spacing: 2px;
  color: #d4a300;
  margin-bottom: 10px;
  font-weight: 600;
}

.services-title {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  margin-bottom: 15px;
}

.services-subtitle {
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 70px;
  color: #dcded6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 30px;
}

.service-item {
  text-align: center;
}

.service-icon {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;

  background: transparent;
  transition:
    background-color 0.45s ease,
    border-color 0.45s ease,
    transform 0.35s ease;
}

.service-item {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.service-item.show {
  opacity: 1;
  transform: translateY(0);
}


.service-icon i {
  font-size: 25px;
  color: #fff;
  transition: color 0.35s ease;
}


.service-item h6 {
  font-weight: 600;
  margin-bottom: 6px;
}

.service-item p {
  font-size: 14px;
  color: #cfd4c7;
}

.service-item:hover .service-icon {
  background-color: #f2b705;
  border-color: #f2b705;
  transform: translateY(-4px);
}

.service-item:hover .service-icon i {
  color: #0f3d1f;
  /* verde oscuro */
}


/* Responsive */

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-title {
    font-size: 32px;
  }
}

/*GALERIA DE IMAGENES*/
.gallery-section {
  background-color: #eaeaea;
  padding: 5rem 0;
}

.gallery-title {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  margin-bottom: 15px;
}

.gallery-eyebrow {
  display: block;
  font-size: 18px;
  letter-spacing: 2px;
  color: #d4a300;
  margin-bottom: 10px;
  font-weight: 600;
}

.gallery-subtitle {
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 70px;
  color: #555;
}

.gallery-img {
  width: 100%;
  height: 280px;
  /* altura fija para uniformidad */
  object-fit: cover;
  /* recorta sin distorsionar */
  border-radius: 8px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.gallery-img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.gallery-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item.show {
  opacity: 1;
  transform: translateY(0);
}

.gallery-pagination button {
  min-width: 110px;
}

.gallery-pagination span {
  font-weight: 500;
}

.gallery-item {
  display: none;
}

/* LIGHTBOX */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  z-index: 10000;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.35s ease;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  font-weight: 300;
}

/* animación suave */
@keyframes zoomIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .gallery-img {
    height: 220px;
  }
}

/* UBICACION */
.location-section {
  background-color: #f7f6ef;
}

/* Asegúrate de que este CSS esté en tu archivo style.css */
.custom-bullet-list li {
  padding-left: 1.5em;
  /* Espacio para el bullet */
  position: relative;
  margin-bottom: 0.5em;
}

.custom-bullet-list li::before {
  content: "•";
  color: #fd7e14;
  /* Color naranja de Bootstrap ($orange) */
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

/* Opcional: Asegura que el contenedor del mapa ocupe el espacio disponible */
.map-container {
  min-height: 400px;
}

.location-eyebrow {
  display: block;
  font-size: 18px;
  letter-spacing: 2px;
  color: #d4a300;
  margin-bottom: 10px;
  font-weight: 600;
}

.location-subtitle {
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 70px;
  color: #555;

}

.location-icon {
  color: #0f3d1f !important;
  font-size: 25px;
}

/* Estado inicial */
.location-section .animate-left,
.location-section .animate-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* La derecha entra desde el otro lado */
.location-section .animate-right {
  transform: translateX(40px);
}

/* Estado visible */
.location-section.show .animate-left,
.location-section.show .animate-right {
  opacity: 1;
  transform: translateX(0);
}

.location-section.show .animate-left {
  transition-delay: 0s;
}

.location-section.show .animate-right {
  transition-delay: 0.15s;
}


/* CONTACTO */

.contact-section {
  background-color: #eaeaea;
  padding: 5rem 0;
}

textarea {
  resize: none;
}

.contact-eyebrow {
  display: block;
  font-size: 18px;
  letter-spacing: 2px;
  color: #d4a300;
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  margin-bottom: 15px;
}

.contact-subtitle {
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 70px;
}

.contact-form-box {
  background-color: #ffffff;
  padding: 40px 36px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border-left: 3px solid #0f3d22;
  padding-left: 1.5rem;
}

.contact-info-box {
  padding: 28px 30px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.663);
  border-left: 3px solid #0f3d22;
  padding-left: 1.5rem;
}

/* Estado inicial */
.contact-section .animate-left,
.contact-section .animate-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* La derecha entra desde el otro lado */
.contact-section .animate-right {
  transform: translateX(40px);
}

/* Estado visible */
.contact-section.show .animate-left,
.contact-section.show .animate-right {
  opacity: 1;
  transform: translateX(0);
}

.contact-section.show .animate-left {
  transition-delay: 0s;
}

.contact-section.show .animate-right {
  transition-delay: 0.15s;
}

/* Footer */

.site-footer {
  background-color: #0f3d1f;
  color: rgba(255, 255, 255, 0.85);
  padding: 70px 0 30px;
  font-size: 15px;
}

.footer-logo {
  max-width: 160px;
}

.footer-text {
  max-width: 320px;
  line-height: 1.6;
  font-size: 14.5px;
}

.footer-title {
  color: #f2b705;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #f2b705;
}

.footer-contact i {
  color: #f2b705;
  font-size: 16px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: #f2b705;
  color: #0f3d1f;
  border-color: #f2b705;
}

.footer-divider {
  margin: 40px 0 20px;
  border-color: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  font-size: 14px;
  opacity: 0.85;
}

.logo-blanco {
  filter: brightness(0) invert(1);
}

.img-wrapper {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

/* WP FLOTANTE */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 86px;
  height: 86px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  cursor: pointer;


  animation: whatsapp-float-in 0.6s ease-out forwards;
}

/* Logo */
.whatsapp-float img {
  width: 58px;
  height: 58px;
  opacity: 0;
  transform: scale(0.6);
  animation: whatsapp-icon-in 0.4s ease-out forwards;
  animation-delay: 0.45s;
  transition: width 0.35s ease, height 0.35s ease, opacity 0.35s ease;
}

.whatsapp-float img:hover {
  width: 68px;
  height: 68px;
  opacity: 0;
}

/* Hover */
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ===== ANIMACIONES ===== */

@keyframes whatsapp-float-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes whatsapp-icon-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}


@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 1200px) {
  .whatsapp-float {
    width: 70px;
    height: 70px;
    right: 16px;
  }

  .whatsapp-float img {
    width: 44px;
    height: 44px;
  }
}

.link4elem {
  text-decoration: none;
}

/* Alojamientos section */

.alojamientos-section {
  padding: 110px 0;
}

.alojamientos-subtitle {
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 70px;
  color: #555;
}

.alojamientos-eyebrow {
  display: block;
  font-size: 18px;
  letter-spacing: 2px;
  color: #d4a300;
  margin-bottom: 10px;
  font-weight: 600;
}

.alojamiento-card {
  background-color: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.alojamiento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

/* ===== IMAGEN ===== */
.alojamiento-img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  height: 420px;
}


/* ===== BODY ===== */
.alojamiento-body {
  padding: 24px;
}

.alojamiento-title {
  font-size: 22px;
  margin-bottom: 14px;
  color: #1f1f1f;
}

/* ===== INFO ===== */
.alojamiento-info {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.alojamiento-info li {
  font-size: 15px;
  color: #444;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== TAGS ===== */
.alojamiento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.alojamiento-tags span {
  background-color: #f1f3ed;
  color: #2f6b3f;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ===== BOTÓN ===== */
.btn-alojamiento {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #0f3d1f;
  color: #fff;
  padding: 12px 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}



.btn-alojamiento:hover {
  background-color: #145c2b;
  transform: translateY(-1px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .alojamiento-img {
    height: 200px;
  }

  .alojamiento-body {
    padding: 20px;
  }
}



