/* ===================================
   Cards
   =================================== */

/* Service Cards */
.service-card {
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(10px);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(10, 10, 10, 0.85);
}

.service-card h2 {
  margin-bottom: var(--space-sm);
  color: var(--color-light);
}

.service-card p {
  margin-bottom: 0;
  color: var(--color-light);
  opacity: 0.85;
  font-size: 0.9rem;
}

/* Project Cards */
.project-card {
  background: var(--color-light);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.project-card h2 {
  margin-bottom: var(--space-sm);
  color: var(--color-dark);
}

.project-card p {
  margin-bottom: 0;
  color: var(--color-dark);
  font-size: 0.9rem;
}

/* Value Cards */
.value-card {
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.value-card.selected {
  transform: translateY(-4px);
  padding: 2px;
  border-color: transparent;
  background:
    linear-gradient(
      -30deg,
      var(--gradient-color),
      transparent,
      var(--gradient-color)
    ),
    linear-gradient(
      to bottom,
      var(--color-neutral-900),
      var(--color-neutral-900)
    );
}

@media (hover: hover) {
  .value-card:hover {
    transform: translateY(-4px);
    padding: 2px;
    border-color: transparent;
    background:
      linear-gradient(
        -30deg,
        var(--gradient-color),
        transparent,
        var(--gradient-color)
      ),
      linear-gradient(
        to bottom,
        var(--color-neutral-900),
        var(--color-neutral-900)
      );
  }
}

.value-card-content {
  padding: var(--space-lg);
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.value-card h2 {
  margin-bottom: var(--space-sm);
  margin-inline: auto;
  color: var(--color-light);
}

.value-card p {
  margin-bottom: 0;
  color: var(--color-light);
  opacity: 0.85;
  font-size: 0.9rem;
}
