/* Estilos base */
.buscador {
  margin-bottom: 20px;
}

.label-busqueda {
  color: #ffb3c6;
  font-weight: bold;
}

.input-busqueda {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ff5e78;
  background-color: #1c1c1c;
  color: #fff;
  font-size: 1rem;
}

/* Título de la publicación */
.titulo-post {
  color: #ffb3c6;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* Texto de la publicación */
.texto-post {
  color: white;
  font-size: 1rem;
  line-height: 1.5;
}

/* Imagen de la publicación */
.imagen-post {
  max-width: 100%;
  border-radius: 8px;
  margin: 10px 0;
  display: block;
  height: auto;
}

/* Contenedor del video con proporción 16:9 */
.video-embed-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
  background-color: #000;
}

/* Video o embed */
.video-embed-container iframe,
.video-embed-container .video-embed {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Footer de plataforma */
.plataforma {
  margin-top: 10px;
  text-align: right;
  color: #ff91a4;
  font-size: 0.9rem;
}

/* Contenedor de acciones (likes + botón) */
.acciones-post {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.likes {
  color: #fff;
  font-size: 1rem;
}

/* Botón de me gusta */
.btn-like {
  background-color: #ff5e78;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-like:hover {
  background-color: #ff91a4;
}

/* Texto cuando no hay publicaciones */
.no-publicaciones {
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 1.1rem;
}

/* Debug */
.debug-tipos {
  color: yellow;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* RESPONSIVE (móvil) */
@media (max-width: 768px) {
  .acciones-post {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-like {
    width: 100%;
    text-align: center;
  }

  .input-busqueda {
    font-size: 1rem;
  }

  .titulo-post {
    font-size: 1.2rem;
  }

  .texto-post {
    font-size: 0.95rem;
  }

  .likes {
    font-size: 0.95rem;
  }

  .plataforma {
    font-size: 0.85rem;
  }
}

/* Fondo más oscuro para cada tarjeta */
.post {
  background-color: rgba(0, 0, 0, 0.75); /* Más oscuro pero con transparencia */
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.card-contacto {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(255, 94, 120, 0.15);
  max-width: 800px; /* antes 600px → más ancho */
  margin: 10px auto; /* menos espacio arriba */
  color: white;
  text-align: center;
}

.imagen-contacto {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 20px;
}

.imagen-contacto img {
  width: 100%;
  max-width: 800px; /* más ancha */
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.imagen-contacto img:hover {
  transform: scale(1.03);
}

.card-servicios {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(255, 94, 120, 0.15);
  max-width: 750px; /* Aumentado para mayor ancho tipo tarjeta */
  margin: 20px auto;
  color: white;
}

/* Imagen estilo tarjeta centrada y más ancha */
.imagen-servicio {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.imagen-servicio img {
  width: 100%;
  max-width: 700px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(255, 94, 120, 0.4);
  object-fit: cover;
  margin-top: -20px; /* Levanta la imagen */
  transition: transform 0.3s ease;
}

.imagen-servicio img:hover {
  transform: scale(1.02);
}