/**
 * @file
 * Services section styles.
 * Dark background with icon cards.
 */

.re-services {
  background-color: var(--re-black);
  color: var(--re-white);
}

.re-service-card {
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  transition: all var(--re-duration-normal) var(--re-ease-out);
  position: relative;
  overflow: hidden;
}

.re-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--re-duration-normal) var(--re-ease-out);
}

.re-service-card:hover {
  border-color: rgba(200, 16, 46, 0.3);
  transform: translateY(-4px);
}

.re-service-card:hover::before {
  opacity: 1;
}

.re-service-card__icon {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background-color: rgba(200, 16, 46, 0.08);
  border: 1px solid rgba(200, 16, 46, 0.15);
}

.re-service-card__title {
  position: relative;
  z-index: 1;
  font-family: var(--re-font-heading);
  font-size: var(--re-text-xl);
  font-weight: 600;
  color: var(--re-white);
  margin-bottom: 0.75rem;
  line-height: var(--re-leading-snug);
}

.re-service-card__desc {
  position: relative;
  z-index: 1;
  font-size: var(--re-text-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--re-leading-relaxed);
  margin-bottom: 1.5rem;
}

.re-service-card__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--re-font-body);
  font-size: var(--re-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--re-tracking-wide);
  color: var(--re-red-light);
  transition: gap var(--re-duration-fast) var(--re-ease-out);
  line-height: var(--re-leading-snug);
}

.re-service-card__link:hover {
  color: var(--re-white);
  gap: 0.75rem;
}
