/* ═══════════════════════════════════════════════════════
   services.css — Skyline Drone Solutions
   Page-specific styles for services.html
   ═══════════════════════════════════════════════════════ */

/* ───────── SERVICES LIST ───────── */
.services-list-section {
  background: #fff;
  padding: 5rem 0 4rem;
}

.services-list-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: 0;
}
.services-list-header .section-title { margin-bottom: 0; }

.services-list { border-top: 1px solid var(--gray-200); margin-top: 2.5rem; }

.service-row {
  display: grid;
  grid-template-columns: 64px 1fr 300px 52px;
  align-items: center; gap: 2rem; padding: 1.6rem 0;
  border-bottom: 1px solid var(--gray-200);
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden;
}
.service-row::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  height: 1px; width: 0; background: var(--blue);
  transition: width 0.4s cubic-bezier(0.22,1,0.36,1);
}
.service-row:hover::after { width: 100%; }

.srv-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem;
  color: rgba(47,107,255,0.4); letter-spacing: 0.05em;
  transition: color 0.2s;
}
.service-row:hover .srv-num { color: var(--blue); }

.srv-name {
  font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 800;
  color: var(--text-dark); letter-spacing: -0.03em; transition: color 0.2s;
}
.service-row:hover .srv-name { color: var(--blue); }

.srv-tag {
  font-size: 0.85rem; color: var(--gray-600); font-weight: 400; line-height: 1.5;
}

.srv-arrow {
  width: 42px; height: 42px; border: 1.5px solid var(--gray-200); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); flex-shrink: 0; margin-left: auto;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.service-row:hover .srv-arrow {
  border-color: var(--blue); color: #fff; background: var(--blue); transform: rotate(45deg);
}

/* ───────── SERVICE DETAIL SECTIONS ───────── */
.service-detail {
  padding: 6rem 0;
  position: relative;
}
.service-detail:nth-child(odd) { background: var(--gray-100); }
.service-detail:nth-child(even) { background: #fff; }

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.service-detail:nth-child(even) .service-detail-inner { direction: rtl; }
.service-detail:nth-child(even) .service-detail-inner > * { direction: ltr; }

.service-detail-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-mid);
}
.service-detail-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.service-detail-img:hover img { transform: scale(1.04); }

.service-detail-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,31,58,0.3) 0%, transparent 60%);
}

.service-detail-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem; letter-spacing: 0.12em;
  color: var(--blue); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 8px;
}
.service-detail-num::before {
  content: ''; display: block; width: 20px; height: 1.5px; background: var(--blue);
}

.service-detail-content h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 900;
  color: var(--text-dark); line-height: 1.1; letter-spacing: -0.035em;
  margin-bottom: 1rem;
}
.service-detail-content p {
  font-size: 0.975rem; line-height: 1.75; color: var(--gray-600);
  margin-bottom: 1.75rem;
}

.service-includes { margin-bottom: 2rem; }
.service-includes-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-dark); margin-bottom: 0.85rem;
  opacity: 0.5;
}
.service-includes ul {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.5rem;
}
.service-includes li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.875rem; color: var(--text-dark); font-weight: 500;
}
.service-includes li::before {
  content: '';
  display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
}

.service-detail-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem;
}
.service-tag-pill {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 0.35rem 0.85rem;
  border: 1px solid var(--gray-200); border-radius: 100px;
  color: var(--gray-600); background: transparent;
  transition: border-color 0.2s, color 0.2s;
}
.service-tag-pill:hover { border-color: var(--blue); color: var(--blue); }

/* ───────── PROCESS SECTION ───────── */
.process-section {
  background: var(--navy-dark);
  padding: 6rem 0;
}

.process-header { text-align: center; margin-bottom: 4rem; }
.process-header .section-label { color: var(--blue-light); margin: 0 auto 0.75rem; }
.process-header .section-title {
  color: #fff; max-width: 100%; margin: 0 auto 1rem;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}
.process-header p {
  font-size: 1rem; color: rgba(255,255,255,0.45); max-width: 480px; margin: 0 auto;
  line-height: 1.7;
}

.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 2.1rem; left: 12.5%; right: 12.5%;
  height: 1px; background: linear-gradient(90deg, var(--blue) 0%, rgba(47,107,255,0.15) 100%);
  z-index: 0;
}

.process-step {
  padding: 0 1.5rem;
  text-align: center;
  position: relative; z-index: 1;
}

.process-step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; color: #fff;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s;
  box-shadow: 0 0 0 6px rgba(47,107,255,0.12);
}
.process-step:hover .process-step-num {
  transform: scale(1.15);
  box-shadow: 0 0 0 10px rgba(47,107,255,0.15), 0 4px 20px rgba(47,107,255,0.4);
}
.process-step h3 {
  font-size: 1rem; font-weight: 700; color: #fff;
  margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.process-step p {
  font-size: 0.84rem; color: rgba(255,255,255,0.42); line-height: 1.6;
}

/* ───────── GHOST STATS ───────── */
.stats-section { background: var(--navy-dark); padding: 0; overflow: hidden; }
.stats-section-inner { border-top: 1px solid rgba(255,255,255,0.07); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-col {
  padding: 4rem 3.5rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative; overflow: hidden;
}
.stat-col:last-child { border-right: none; }

/* ───────── SECTION LABEL OVERRIDES (services uses dark blue bg) ───────── */
.services-list-section .section-label { color: var(--blue); }
.services-list-section .section-title { color: var(--text-dark); }
.services-list-section .section-sub { color: var(--gray-600); }

/* ───────── MEDIA QUERIES ───────── */
@media (max-width: 1024px) {
  .service-detail-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail:nth-child(even) .service-detail-inner { direction: ltr; }
  .service-detail-img { aspect-ratio: 16/9; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .process-steps::before { display: none; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 3rem 2rem; }
  .stat-col:last-child { border-bottom: none; }
  .service-row { grid-template-columns: 48px 1fr 48px; }
  .srv-tag { display: none; }
}

@media (max-width: 640px) {
  .page-hero { padding: 7rem 0 3.5rem; }
  .page-hero-meta { flex-wrap: wrap; gap: 1.5rem; }
  .service-detail { padding: 4rem 0; }
  .service-includes ul { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 40px 1fr 40px; gap: 1rem; }
  .stat-col { padding: 2.5rem 1.5rem; }
}
