/* ============================================================
   SERVICES PAGE — services.css
   Styles specific to services.php only.
   ============================================================
   TABLE OF CONTENTS
   01. Page Hero
   02. Service Rows
   03. Responsive
   ============================================================ */


/* ============================================================
   01. SERVICES HERO
   ============================================================ */

/* ============================================================
   02. SERVICE ROWS
   ============================================================ */
.services-list {
  padding: var(--space-20) 0;
  background: #ffffff;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-24);
}

.service-row:last-child {
  margin-bottom: 0;
}

/* Image Column */
.service-image-col {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 3;
}

.service-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-row:hover .service-image-col img {
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  background: #ffffff;
  color: var(--color-bg-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

/* Content Column */
.service-content-col {
  padding-right: var(--space-8);
}

.service-row--reverse .service-content-col {
  order: -1;
  padding-right: 0;
  padding-left: var(--space-8);
}

.service-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-bg-primary);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: var(--space-4);
}

.service-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

.service-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
}

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-bg-primary);
  line-height: var(--line-height-snug);
}

.service-feature__icon {
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  color: var(--color-bg-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-feature__icon svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}


/* ============================================================
   03. RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-16);
  }

  .service-content-col,
  .service-row--reverse .service-content-col {
    padding-left: 0;
    padding-right: 0;
  }

  .service-row--reverse .service-content-col {
    order: 0; /* Reset order on mobile so image is always on top */
  }
}

@media (max-width: 576px) {
  .service-features {
    grid-template-columns: 1fr;
  }
}
