/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f5f7fa;
  color: #333;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  color: white;
  z-index: 1000;
}

.header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

.header nav a:hover {
  color: #ff7a00;
}

/* HERO */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('fotos/FONDO.jpeg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  text-align: center;
  color: white;
}

.overlay h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* BOTÓN */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: linear-gradient(45deg, #ff7a00, #ffb347);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

/* CONTENIDO */
.contenido {
  padding: 120px 40px 60px;
  text-align: center;
}

.contenido h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.contenido p {
  margin-bottom: 40px;
  color: #666;
}

/* CARDS */
.cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.card {
  background: white;
  width: 280px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  transition: 0.3s;
  padding: 20px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 15px;
  color: #777;
}

.card:hover {
  transform: translateY(-10px);
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 22px;
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .overlay h2 {
    font-size: 2rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }
  
}/* PROPIEDADES */
.propiedad {
  display: flex;
  gap: 30px;
  margin-bottom: 60px;
  align-items: center;
  flex-wrap: wrap;
}

/* IMAGEN PRINCIPAL */
.principal {
  width: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* INFO */
.info {
  max-width: 400px;
}

/* GALERÍA */
.galeria {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.galeria img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.galeria img:hover {
  transform: scale(1.1);
}.logo img {
  width: 45px;
  filter: brightness(1.2);
}

.logo span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}
/* SECCIÓN CONFERENCIAS */
.conferencias {
  padding: 60px 20px;
  text-align: center;
}

.conferencias h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.conferencias p {
  color: #666;
  margin-bottom: 30px;
}

/* IMAGEN PRINCIPAL */
.conf-principal {
  width: 80%;
  max-width: 800px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* GALERÍA */
.conf-galeria {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.conf-galeria img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
}

.conf-galeria img:hover {
  transform: scale(1.1);
}
/* 📱 MOBILE */
@media (max-width: 768px) {

  /* HEADER */
  .header {
    flex-direction: column;
    text-align: center;
  }

  .header nav {
    margin-top: 10px;
  }

  /* HERO */
  .overlay h2 {
    font-size: 1.8rem;
  }

  .overlay p {
    font-size: 1rem;
  }

  /* CARDS */
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }

  /* PROPIEDADES (VILLAS/APTOS) */
  .propiedad {
    flex-direction: column;
    text-align: center;
  }

  .principal {
    width: 100%;
  }

  /* GALERÍAS */
  .galeria img,
  .conf-galeria img {
    width: 80px;
    height: 60px;
  }

  /* CONFERENCIAS */
  .conf-principal {
    width: 95%;
  }

  /* BOTÓN */
  .btn {
    width: 80%;
  }

}@media (max-width: 768px) {

  .header nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

}