/* ===== ANUNTURI ===== */
.anunt-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.anunt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px var(--shadow-hover);
}

.anunt-image-wrapper {
  position: relative;
}

.anunt-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.badge-reducere {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--danger);
  color: var(--white);
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 20px;
  font-weight: 600;
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255, 71, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

.anunt-card h3 {
  font-size: 1.25rem;
  margin: 16px 16px 8px;
  color: var(--dark);
}

.anunt-card p {
  font-size: 0.95rem;
  margin: 0 16px 16px;
  color: var(--text);
}

.anunt-meta {
  margin-top: auto;
  margin-bottom: 16px;
  margin-left: 16px;
  margin-right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.anunt-phone {
  background-color: var(--phone-bg);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s;
}

.anunt-phone:hover {
  background-color: var(--phone-hover);
}

.anunt-card .btn-secondary {
  padding: 10px 16px;
  background-color: var(--primary);
  color: var(--white);
  text-decoration: none;
  text-align: center;
  border-radius: 30px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.anunt-card .btn-secondary:hover {
  background-color: var(--secondary);
}
