*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
   
}
body{
    font-family: raleway,roboto,arial;
}
:root {
  --bg-light: #ffffff;
  --bg-dark: #1e1e1e;
  --text-light: #333333;
  --text-dark: #f5f5f5;
  --primary: #ff6b6b;
  --secondary: #ffe66d;
  --circle-bg: #e0e0e0;
  --circle-active: #ff6b6b;
}
.animated-section {
    opacity: 0; /* Inicialmente invisible */
    transform: translateY(20px); /* Desplazamiento hacia abajo */
    animation: fadeInUp 0.5s ease forwards; /* Duración y tipo de animación */
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
.container{
    padding: 0px 80px;
}

/* HERO BASE */
.hero-section {
  position: relative;
  height: 100vh;
  background: url('./assets/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.hero-content{
    margin-bottom: 50px;

}
body {
  font-family: 'Montserrat', sans-serif;
}

/* OVERLAY SUAVE (NO TAN OSCURO) */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.30); /* 🔥 CLAVE */
  top: 0;
  left: 0;
}

/* NAVBAR */
.custom-navbar {
  position: fixed;
  top: 20px; /* 🔥 empieza separado */
  left: 0;
  width: 100%;
  transition: all 0.3s ease;
  z-index: 999;
}

.custom-navbar.scrolled {
  top: 0; /* 🔥 baja */
  background: rgba(31, 47, 90, 0.55);
  padding: 10px 0;
  position: fixed;
}
/* WRAPPER */
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* MENÚ DESKTOP */
.menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* BOTÓN */
.btn-whatsapp {
  background: #25D366;
  padding: 8px 15px;
  border-radius: 6px;
  color: #fff;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: 0.3s;
}

.nav-social {
  display: flex;
  gap: 8px;
}


/* ANIMACIÓN A X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -11px);
  
}

.nav-social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-social a {
  color: white;
  font-size: 20px;
  transition: 0.3s;
}

.nav-social a:hover {
  color: #ffc107;
  transform: translateY(-2px);
}

/* CONTENIDO */
.hero-content {
  position: relative;
  z-index: 2;
}

/* BASE */
.hero-text {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 520px;
}


/* TEXTO */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* FORM CARD */
.form-card {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.hero-title,
.hero-text {
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-text {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 550px;
  color: #fff;

  /* 🔥 SOMBRA FUERTE (CLAVE) */
  text-shadow: 
    0 2px 10px rgba(0,0,0,0.8),
    0 4px 25px rgba(0,0,0,0.6);
}

/* UBICACIÓN PRINCIPAL */
.strong {
  font-weight: 700;
  color: #ffffff;
}

/* RESALTADO FUERTE (tipo marcador) */
.accent {
  font-weight: 700;
  color: #fff;
  background: #1f2f5a;
  padding: 2px 8px;
  border-radius: 6px;

  /* 🔥 sombra para que “salte” */
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.highlight-strong {
  color: #fff;
  background: #1f2f5a;
  padding: 5px 8px;
  border-radius: 6px;
}
.highlight-strong::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 45%;
  background: #1f2f5a; /* azul del logo */
  z-index: -1;
  border-radius: 4px;
}

.highlight {
  color: #fff;
  position: relative;
  z-index: 1;
}

.highlight::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 40%;
  background: #143dac;
  z-index: -1;
  border-radius: 4px;
}

/* INPUTS */
.form-card input {
  margin-bottom: 15px;
  height: 45px;
}

/* BOTÓN */
.btn-warning {
  background-color: #f4b400;
  border: none;
}

/* NAVBAR TRANSPARENTE */
.custom-navbar {
  position: absolute;
  width: 100%;
  z-index: 10;
  background: transparent;
}

/* TEXTO NAV */
.navbar .nav-link {
  color: #fff !important;
}
.logo img {
  height: 100px;
  width: auto;
}

.info-section {
  padding: 80px 0;
  background: #f7f7f7;
}

/* GRID DE IMÁGENES */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.image-grid img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 200px;
}

/* TEXTO */
.info-content h2 {
  font-size: 2.5rem;
  color: #1f2f5a;
  margin-bottom: 20px;
  font-weight: 700;
}

.info-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}

/* TEXTO DESTACADO */
.highlight-text {
  font-weight: 600;
  color: #1f2f5a;
}

/* BOTÓN */
.btn-primary {
  display: inline-block;
  margin-top: 20px;
  background: #ffc71e;;
  color: #1f2f5a;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
}

.amenidades-section {
  padding: 60px 20px;
  background: #f5f1e8; /* beige tipo ejemplo */
}

.amenidades-title {
  font-size: 2.5rem;
  color: #1f2f5a;
  margin-bottom: 50px;
  font-weight: 700;
}

/* GRID */
.amenidades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* ITEM */
.amenidad {
  text-align: center;
  transition: 0.3s;
}

.amenidad img {
  width: 50px;
  margin-bottom: 10px;
  filter: brightness(0) saturate(100%) invert(16%) sepia(21%) saturate(1200%) hue-rotate(190deg);
}

/* TEXTO */
.amenidad p {
  font-size: 0.9rem;
  color: #1f2f5a;
}

/* HOVER PRO */
.amenidad:hover {
  transform: translateY(-5px);
}

/* BOTÓN */
.btn-amenidades {
  display: inline-block;
  margin-top: 40px;
  background: #1f2f5a;
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
}

/* SECCIÓN */
.galeria-section {
  padding: 60px 20px;
  background: #f7f7f7;
  text-align: center;
}

.galeria-title {
  font-size: 2.5rem;
  color: #1f2f5a;
  margin-bottom: 50px;
  font-weight: 700;
}

/* GRID DESKTOP */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.galeria-item {
  width: 100%;
  height: auto; /* 🔥 clave */
  aspect-ratio: 4 / 3; /* opcional */
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.galeria-item:hover {
  transform: scale(1.05);
}



/* MODAL */
.modal-galeria {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  
}

.modal-img {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.galeria-item {
  cursor: pointer;
}

.mapa-section {
  padding: 60px 20px;
  background: #ffffff; /* 🔥 limpio */
}

.mapa-title {
  font-size: 2.5rem;
  color: #1f2f5a;
  margin-bottom: 20px;
  font-weight: 700;
}

.mapa-sub {
  color: #666;
  margin-bottom: 40px;
}

/* CONTENEDOR */
.mapa-wrapper {
  overflow: hidden;
  border-radius: 12px;
  cursor: grab;
  max-width: 100%;
}

/* IMAGEN */
#mapaImg {
  width: 100%;
  transition: transform 0.2s ease;
}

#plantaImg {
  width: 100%;
  transition: transform 0.2s ease;
}
.casas-section {
  padding:60px 20px;
  background: #f8f8f8;
}

.casas-title {
  font-size: 2.5rem;
  color: #1f2f5a;
  margin-bottom: 60px;
  font-weight: 700;
}

/* GRID */
.casas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.casa-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* SLIDER */
.casa-slider {
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.4s ease;
}

.slides img {
  width: 100%;
  height: 370px;
  object-fit: contain;
  flex: 0 0 100%;
}

/* BOTONES SLIDER */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

/* INFO */
.casa-info {
  padding: 20px;
}

.casa-info h3 {
  margin-bottom: 5px;
}

.precio {
  color: #1f2f5a;
  font-weight: bold;
  margin-bottom: 10px;
}

/* FEATURES */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* DESCRIPCIÓN */
.desc {
  font-size: 0.9rem;
  color: #555;
}

/* BOTONES */
.buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.btn-outline {
  border: 2px solid #1f2f5a;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #1f2f5a;
}

.btn-solid {
  background: #1f2f5a;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
}


/* TABS */
.tabs {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.tab-btn {
  flex: 1;
  padding: 8px;
  border: none;
  background: #eee;
  cursor: pointer;
  border-radius: 6px;
}

.tab-btn.active {
  background: #1f2f5a;
  color: #fff;
}

/* CONTENIDO */
.tab-content {
  display: none;
  font-size: 0.9rem;
}

.tab-content.active {
  display: block;
}

/* MODAL */
.modal-global {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.casa-slider img {
  cursor: zoom-in;
}

.modal-box {
  background: #fff;
  padding: 30px;
  max-width: 600px;
  border-radius: 10px;
}

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

.ubicacion-section {
  padding: 60px 20px;
  background: #f8f8f8;
}

.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 25px;
}
/* BOTÓN */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;

  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: 0.3s;
}

/* ICONO */
.whatsapp-float .icon {
  width: 30px;
}

/* HOVER */
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* EFECTO PULSO */
.whatsapp-float::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* TOOLTIP */
.tooltip {
  position: absolute;
  right: 70px;
  background: #1f2f5a;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  opacity: 0;
  transition: 0.3s;
  white-space: nowrap;
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
}
.ubicacion-texto h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1f2f5a;
}

.ubicacion-texto p {
  margin-bottom: 20px;
  color: #555;
}

.ubicacion-texto ul {
  list-style: none;
  padding: 0;
}

.ubicacion-texto li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.btn-ubicacion {
  display: inline-block;
  margin-top: 20px;
  background: #ffc71e;
  color: #1f2f5a;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
}

/* VIDEO */
.ubicacion-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.footer {
  position: relative;
  background: linear-gradient(to top, #0d1b3d, #1f2f5a);
  color: #fff;
  padding-top: 80px;
}

.footer-overlay {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #1f2f5a);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 15px;
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  color: #ddd;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

/* LOGO */
.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

/* BOTÓN */
.footer-whatsapp {
  display: inline-block;
  margin-top: 10px;
  background: #25d366;
  padding: 10px 15px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  padding: 15px;
  background: #0a142d;
  font-size: 0.8rem;
}


@media (max-width: 992px) {
  .amenidades-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

    .container {
    padding: 0px 20px;
    }

  .hamburger {
    display: flex;
    z-index: 11;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #1f2f5ae0;
    flex-direction: column;
    padding: 80px 20px;
    transition: 0.3s;
  }
    .ubicacion-grid {
    grid-template-columns: 1fr;
  }

  .menu.active {
    right: 0;
  }
  
  .hero-section {
    padding-top: 100px;
    
  }

  .hero-title {
    font-size: 1.4rem;
  }
  

  .hero-text {
    font-size: 1rem;
  }

  /* FORM ABAJO (NO ENCIMA) */
  .form-card {
    margin-top: 30px;
  }
  .overlay {
    background: rgba(0, 0, 0, 0.50);
    }
    .info-content h2 {
      margin-top: 20px;
    }
    .image-grid{
      grid-template-columns: repeat(1, 1fr);
    }

    .form-card{
      padding:15px
    }

    .amenidades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
   .galeria-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 10px;
    height: 262px;
  }

  .galeria-item {
    min-width: 95%;
    height: 220px;
    scroll-snap-align: center;
  }
  .mapa-wrapper {
  overflow: auto;
}

  .casas-grid {
    grid-template-columns: 1fr;
  }
  .tooltip {
    display: none;
  }


}
