/* ============================================
   SERVICES PAGE STYLES
   services.css
   ============================================ */

/* ---------- SERVICE BLOCK ---------- */
.service-block {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}

.service-block-reverse {
  grid-template-columns: 1fr 340px;
}

.service-block-reverse .service-img-wrap {
  order: 2;
}

.service-block-reverse .service-body {
  order: 1;
}

/* ---------- SERVICE IMAGE ---------- */
.service-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 340px;
  flex-shrink: 0;
}

.service-img {
  width: 320px;
  height: 320px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 8px 32px rgba(0, 212, 255, 0.18));
  transition: filter 0.4s ease, transform 0.4s ease;
}

.service-img:hover {
  filter: drop-shadow(0 12px 48px rgba(0, 212, 255, 0.35));
  transform: scale(1.04);
}

/* Float animation (gentle up-down bob) */
@keyframes serviceFloat {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-14px); }
  100% { transform: translateY(0px); }
}

/* Pulse-glow animation */
@keyframes servicePulse {
  0%   { filter: drop-shadow(0 8px 24px rgba(0, 212, 255, 0.15)); transform: scale(1); }
  50%  { filter: drop-shadow(0 12px 40px rgba(0, 212, 255, 0.38)); transform: scale(1.03); }
  100% { filter: drop-shadow(0 8px 24px rgba(0, 212, 255, 0.15)); transform: scale(1); }
}

.service-img-float {
  animation: serviceFloat 4s ease-in-out infinite;
}

.service-img-float:hover {
  animation-play-state: paused;
  transform: scale(1.06) translateY(-6px);
  filter: drop-shadow(0 16px 48px rgba(0, 212, 255, 0.40));
}

.service-img-pulse {
  animation: servicePulse 3.5s ease-in-out infinite;
}

.service-img-pulse:hover {
  animation-play-state: paused;
  transform: scale(1.06);
  filter: drop-shadow(0 16px 48px rgba(0, 212, 255, 0.40));
}

.service-body h2 { margin-bottom: 0; }

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text);
  padding: 6px 0;
}

.feature-item span {
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* ---------- PROCESS SECTION ---------- */
.process-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 16px;
}

.process-step {
  flex: 1;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.process-step:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(0,212,255,0.2);
  margin-bottom: 12px;
  line-height: 1;
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.process-arrow {
  font-size: 1.5rem;
  color: var(--color-border);
  flex-shrink: 0;
  padding-top: 40px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .service-block,
  .service-block-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-block-reverse .service-img-wrap,
  .service-block-reverse .service-body {
    order: unset;
  }

  .service-img-wrap {
    width: 100%;
    height: auto;
    justify-content: center;
  }

  .service-img {
    width: 260px;
    height: 260px;
  }

  .service-features   { grid-template-columns: 1fr; }

  .process-steps {
    flex-direction: column;
  }

  .process-arrow {
    transform: rotate(90deg);
    padding-top: 0;
    align-self: center;
  }
}
