/* --------------------------------------------------
   BASE
-------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: linear-gradient(180deg, #d7e9f7 0%, #b7d4ea 40%, #8fb9d9 100%);
  overflow-x: hidden;
  min-height: 100vh;
}

/* --------------------------------------------------
   NAVBAR
-------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.nav-logo {
  color: #1e3a5f;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------
   LINKS DESKTOP
-------------------------------------------------- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #1e3a5f;
  text-decoration: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #3a6ea5;
}

/* --------------------------------------------------
   DROPDOWN
-------------------------------------------------- */
.nav-dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  color: #1e3a5f;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.dropdown-btn:hover {
  color: #3a6ea5;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 220px;
  z-index: 2000;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #1e3a5f;
  text-decoration: none;
  font-size: 16px;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.7);
}

/* --------------------------------------------------
   MENÚ MÓVIL
-------------------------------------------------- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #1e3a5f;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* --------------------------------------------------
   SLIDER (sección normal, no fija)
-------------------------------------------------- */
.slider {
  position: relative;
  width: 100%;
  height: 100vh; /* ocupa toda la pantalla */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* se ve espectacular */
}

/* --------------------------------------------------
   MODAL VIDEO
-------------------------------------------------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 900px;
}

.modal video {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.7);
}

.close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}


/* --------------------------------------------------
   SECCIÓN DESCRIPTIVA
-------------------------------------------------- */
.property-info {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}

.info-container {
  max-width: 900px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  padding: 40px 50px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  text-align: center;
}

.info-container h2 {
  font-size: 28px;
  color: #1e3a5f;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.info-container p {
  font-size: 18px;
  line-height: 1.6;
  color: #2a4a6a;
  font-weight: 400;
}

/* --------------------------------------------------
   MAPA EMBEBIDO
-------------------------------------------------- */
.property-map {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}

.map-container {
  width: 100%;
  max-width: 1000px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}


/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.site-footer {
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(10px);
  padding: 30px 20px;
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.4);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  color: #1e3a5f;
  font-size: 16px;
  line-height: 1.6;
}

/* Redes sociales */
.footer-social {
  margin: 12px 0;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.footer-social i {
  font-size: 22px;
  color: #1e3a5f;
  cursor: pointer;
  transition: 0.3s ease;
}

.footer-social i:hover {
  color: #3a6ea5;
  transform: scale(1.15);
}

/* Email oculto */
.footer-email {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #1e3a5f;
}

.footer-email i {
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s ease;
}

.footer-email i:hover {
  color: #3a6ea5;
}

.hidden-email {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.visible-email {
  opacity: 1;
  font-weight: 600;
  letter-spacing: 0.5px;
}

