/* 🔹 Estilos para las tarjetas de Destacados, Terrenos y Casas */

/* Ajuste uniforme de imágenes */
.card-img-top {
  height: 220px;          /* Altura fija para todas las imágenes */
  object-fit: cover;      /* Recorta proporcionalmente sin deformar */
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

/* Tarjetas con sombra y transición */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0.5rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Títulos elegantes */
.card-title {
  font-weight: 600;
  font-size: 1.2rem;
  color: #333;
}

/* Texto */
.card-text {
  font-size: 0.95rem;
  color: #555;
}

/* Botones personalizados */
.btn-primary {
  background-color: #007bff;
  border: none;
}

.btn-success {
  background-color: #28a745;
  border: none;
}

.btn-danger {
  background-color: #dc3545;
  border: none;
}

/* Responsividad: en pantallas pequeñas las tarjetas ocupan todo el ancho */
@media (max-width: 768px) {
  .card-img-top {
    height: 180px; /* Ajusta la altura en móviles */
  }
}
/* 🔹 Estilos para productos */
.img-producto {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  border-radius: 6px;
}

/* Opcional: mejorar la tarjeta */
.card {
  border: none;
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img-top.img-producto {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

/* 🔹 Botón Ver detalle */
.btn-detalle {
  background-color: #6c757d; /* gris Bootstrap */
  color: #fff;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 30px;
  border: none;
  transition: background-color 0.3s ease;
  display: block;
  text-align: center;
  width: fit-content;
}

.btn-detalle:hover {
  background-color: #5a6268;
  color: #fff;
  text-decoration: none;
}
/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

/* 🔹 Recuadro gótico oscuro y compacto */
.social-box {
  background: linear-gradient(135deg, #0f0f0f, #1c1c1c, #2e2e2e); /* degradado oscuro estilo gótico */
  border-radius: 12px;        /* bordes redondeados */
  padding: 12px;              /* más compacto */
  text-align: center;
  max-width: 270px;           /* ancho reducido */
  margin: 0 auto;             /* centrado */
  box-shadow: 0 3px 8px rgba(0,0,0,0.6); /* sombra más intensa */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.7);
}

/* Título dentro del recuadro */
.social-box h5 {
  color: #e0e0e0; /* gris claro para contraste */
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem; /* más compacto */
  margin-bottom: 10px;
}

/* Íconos */
.social-box img {
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease;
}

.social-box img:hover {
  transform: scale(1.15);
}
/* 🔹 Logo con esquinas levemente redondeadas */
.logo-navbar {
  width: 70px;          /* más grande que los 40px originales */
  height: 70px;
  border-radius: 8px;   /* esquinas suavemente redondeadas */
  object-fit: cover;    /* ajusta la imagen sin deformarla */
  margin-right: 10px;   /* espacio entre logo y texto */
  box-shadow: 0 2px 6px rgba(0,0,0,0.3); /* sombra ligera */
}


/* 🔹 Estilos adicionales para fondo del menú */

/* Fondo metálico azul para el menú */
.navbar-custom {
  background: linear-gradient(135deg, #1800A3, #3a3aff, #b0c4de);
  background-size: 400% 400%;
  animation: metallicBlue 12s ease infinite;
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
  color: #fff !important;
  font-weight: 500;
}

.navbar-custom .nav-link:hover {
  color: #ffd700 !important; /* dorado al pasar el mouse */
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  color: #1e3c72; /* azul elegante */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* sombra ligera */
}
