/* ==========================
   ESTILOS GENERALES
========================== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #000;
  color: #fff;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  color: #f5c542; /* Dorado elegante */
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================
   HEADER
========================== */
header {
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 40px;
  border-bottom: 2px solid #f5c542;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-img {
  height: 120px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #f5c542;
}

/* ==========================
   SECCIÓN HERO
========================== */
.hero {
  background: url('../images/Dra.jpg') center 25% / cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.btn {
  background-color: #f5c542;
  color: #000;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #fff;
  transform: scale(1.05);
}

/* ==========================
   SECCIÓN PROPIEDADES
========================== */
.propiedades {
  padding: 80px 10%;
  background: url('../images/fondo-propiedades.jpg') center/cover no-repeat;
  color: #fff;
}

.propiedades h2 {
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.propiedades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.propiedad {
  background-color: rgba(0, 0, 0, 0.85);
  border: 1px solid #f5c542;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.propiedad:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(245, 197, 66, 0.5);
}

.propiedad img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.propiedad h3 {
  color: #f5c542;
  margin: 15px;
}

.propiedad p {
  margin: 0 15px 10px;
  color: #ccc;
}

.precio {
  display: block;
  margin: 10px 15px 20px;
  font-weight: bold;
  color: #fff;
}

/* ==========================
   SECCIÓN MISIÓN Y VISIÓN (CARDS)
========================== */
.cards {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  background: transparent;
  padding: 60px 10%;
  gap: 30px;
}

.cards .card {
  background: #fff !important;
  color: #000 !important;
  display: flex;
  width: 46%;
  height: 220px;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(245, 197, 66, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(245, 197, 66, 0.6);
}

.cards .card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 3px solid #f5c542;
  border-radius: 50%;
  display: block;
  background-color: #fff;
}

.cards .card > .contenido-texto-card {
  width: 60%;
}

.cards .card > .contenido-texto-card h3 {
  color: #000;
  font-weight: 600;
}

.cards .card > .contenido-texto-card p {
  font-weight: 400;
  color: #333;
  line-height: 1.5;
}

/* ==========================
   SECCIÓN CONTACTO
========================== */
.contacto {
  background: url('../images/fondo-contacto.jpg') center/cover no-repeat;
  padding: 80px 10%;
  text-align: center;
  color: #fff;
}

.contacto h2 {
  margin-bottom: 20px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.contacto p {
  color: #ccc;
  margin-bottom: 30px;
}

.contacto .btn {
  background-color: #25D366;
  color: #fff;
}

.contacto .btn:hover {
  background-color: #128C7E;
}

/* ==========================
   FOOTER
========================== */
footer {
  background-color: #111;
  text-align: center;
  padding: 20px;
  color: #aaa;
  border-top: 1px solid #333;
  font-size: 0.95rem;
}

/* ==========================
   BOTÓN WHATSAPP
========================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 1000;
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* ==========================
   RESPONSIVE DESIGN
========================== */
@media screen and (max-width: 900px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .cards .card {
    width: 90%;
    height: auto;
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  .cards .card img {
    margin-bottom: 15px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 500px) {
  header {
    flex-direction: column;
    padding: 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  footer {
    font-size: 0.85rem;
  }
}