/* =====================================================
   SHIVAAM CIVIL PROJECT CONSTRUCTIONS
   services.css — services.html specific styles
   ===================================================== */

/* ─── Alternating Service Sections ─── */
.service-row {
  padding: var(--section-pad) 2rem;
}
.service-row:nth-child(odd)  { background: var(--color-white); }
.service-row:nth-child(even) { background: var(--color-light); }

.service-row__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}
/* Even rows: reverse order (content left, image right) */
.service-row:nth-child(even) .service-row__inner {
  direction: rtl;
}
.service-row:nth-child(even) .service-row__content,
.service-row:nth-child(even) .service-row__visual {
  direction: ltr;
}

.service-row__visual {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-light);
}
.service-row__visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.service-row__visual:hover img { transform: scale(1.03); }

.service-row__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 8px;
  display: block;
}
.service-row__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 18px;
}
.service-row__body {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 28px;
}
.service-row__caps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-row__cap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}
.service-row__cap svg {
  flex-shrink: 0;
  color: var(--color-blue);
  margin-top: 2px;
}

/* ─── Capabilities Strip (dark section) ─── */
.caps-strip {
  background: linear-gradient(135deg, #0D1B4B 0%, #1A3A7A 100%);
  padding: 80px 2rem;
}
.caps-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.cap-item__icon {
  width: 52px; height: 52px;
  margin: 0 auto 20px;
  color: var(--color-cyan);
}
.cap-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-white);
  margin-bottom: 12px;
}
.cap-item__text {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ─── Bottom CTA (light) ─── */
.services-cta {
  background: var(--color-light);
  padding: 80px 2rem;
  text-align: center;
}
.services-cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--color-navy);
  margin-bottom: 28px;
}

/* ─── Responsive ─── */
@media (max-width: 1023px) {
  .service-row__inner { gap: 48px; }
  .service-row__visual img { height: 320px; }
  .caps-strip__inner { gap: 32px; }
}
@media (max-width: 767px) {
  .service-row { padding: 64px 1.25rem; }
  .service-row__inner { grid-template-columns: 1fr; gap: 36px; }
  .service-row:nth-child(even) .service-row__inner { direction: ltr; }
  .service-row__visual img { height: 260px; }
  .caps-strip { padding: 64px 1.25rem; }
  .caps-strip__inner { grid-template-columns: 1fr; gap: 40px; }
  .services-cta { padding: 64px 1.25rem; }
}
