/* ============================================================
   GoRoute Cabs - services.css
   Services page styles (services.html only)
   ============================================================ */

/* ── SERVICE SECTIONS ── */
.service-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.service-section:last-child {
  border-bottom: none;
}

.service-section:nth-child(even) {
  background: var(--bg-2);
}

/* ── TWO-COLUMN GRID ── */
.svc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.svc-inner.reverse {
  direction: rtl;
}

.svc-inner.reverse > * {
  direction: ltr;
}

/* ── VISUAL BLOCK ── */
.svc-visual {
  background: linear-gradient(135deg, var(--primary-light) 0%, #ffe8dc 100%);
  border-radius: 16px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 88px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--primary-border);
  flex-shrink: 0;
}

/* Images fill the visual block completely */
.svc-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Subtle inner shadow over images for depth */
.svc-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.08) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.12) 100%
  );
  pointer-events: none;
}

/* ── SERVICE TAG ── */
.svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── CONTENT AREA ── */
.svc-content {
  padding: 4px 0;
}

.svc-content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  color: var(--text);
}

.svc-content h2 em {
  color: var(--primary);
  font-style: normal;
}

.svc-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 480px;
}

/* ── FEATURE LIST ── */
.svc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px;
}

.svc-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.svc-features li::before {
  content: "✓";
  width: 19px;
  height: 19px;
  min-width: 19px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  margin-top: 2px;
}

/* ── ACTION BUTTONS ── */
.svc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.svc-actions .btn {
  padding: 11px 22px;
  font-size: 14px;
}

/* ── CTA SECTION ── */
.svc-cta-section {
  padding: 72px 0;
  background: white;
}

.svc-cta-card {
  background: linear-gradient(135deg, #ff5520 0%, #ff3d00 100%);
  border-radius: 24px;
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.svc-cta-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.svc-cta-card::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.svc-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.svc-cta-desc {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}

.svc-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.svc-cta-btn-wa,
.svc-cta-btn-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}

.svc-cta-btn-wa {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.svc-cta-btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  color: var(--primary);
}

.svc-cta-btn-call {
  background: #111827;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.svc-cta-btn-call:hover {
  transform: translateY(-3px);
  background: #1f2937;
  color: white;
}

@media (max-width: 600px) {
  .svc-cta-section {
    padding: 52px 0;
  }
  .svc-cta-card {
    padding: 44px 24px;
  }
  .svc-cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .svc-cta-btn-wa,
  .svc-cta-btn-call {
    width: 100%;
    justify-content: center;
  }
}

.cta-glass-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff4500;
  background: rgba(255, 69, 0, 0.12);
  border: 1px solid rgba(255, 69, 0, 0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.cta-glass-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.cta-glass-title em {
  font-style: normal;
  color: #ff4500;
}

.cta-glass-phone {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  margin: 14px 0 6px;
}

.cta-glass-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-glass-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.cta-glass-btn-call,
.cta-glass-btn-wa {
  flex: 1;
  padding: 15px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s;
  color: white;
}

.cta-glass-btn-call {
  background: #ff4500;
}

.cta-glass-btn-call:hover {
  background: #cc3700;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 69, 0, 0.45);
  color: white;
}

.cta-glass-btn-wa {
  background: #25d366;
}

.cta-glass-btn-wa:hover {
  background: #1ea952;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  color: white;
}

.cta-glass-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 28px 0;
}

.cta-glass-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-glass-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.cta-glass-trust-dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .svc-inner {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .service-section {
    padding: 52px 0;
  }

  .svc-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .svc-inner.reverse {
    direction: ltr;
  }

  .svc-visual {
    height: 220px;
    font-size: 60px;
    border-radius: 12px;
  }

  .svc-content p {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .svc-cta-glass {
    padding: 56px 16px;
  }
  .cta-glass-card {
    padding: 40px 24px;
  }
  .cta-glass-btns {
    flex-direction: column;
  }
}

/* ── SERVICE FARE TABLES ── */
.service-fare-table-wrap {
  overflow-x: auto;
  margin: 16px 0 8px;
}

.service-fare-table {
  width: 100%;
  min-width: 380px;
  border-collapse: collapse;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-fare-table th,
.service-fare-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  white-space: nowrap;
}

.service-fare-table tbody tr:last-child th,
.service-fare-table tbody tr:last-child td {
  border-bottom: none;
}

.service-fare-table th {
  background: white;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
}

.service-fare-table td {
  color: var(--text-muted);
}

.service-fare-table td:last-child {
  color: var(--primary);
  font-weight: 700;
}

.service-fare-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: -4px;
  margin-bottom: 16px;
}

/* ============================================================
   SERVICES PAGE - ENHANCEMENT LAYER
   ============================================================ */

/* ── SERVICES QUICK NAV ── */
.svc-quicknav {
  background: #ffffff;
  border-bottom: 1px solid #ebebeb;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.svc-quicknav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 4px;
}

.svc-quicknav-inner::-webkit-scrollbar {
  display: none;
}

.svc-qn-link {
  display: inline-block;
  padding: 14px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition:
    color 0.18s,
    border-color 0.18s;
  letter-spacing: 0.01em;
}

.svc-qn-link:hover,
.svc-qn-link.active {
  color: #ff4500;
  border-bottom-color: #ff4500;
}

/* ── SECTION DECORATION ── */
.service-section {
  position: relative;
}

.svc-num {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #f0f0f0;
  text-stroke: 1.5px #f0f0f0;
  user-select: none;
  pointer-events: none;
  font-family: var(--font-display, "Poppins", sans-serif);
  z-index: 0;
  letter-spacing: -4px;
}

/* Push content above the decorative number */
.service-section > .container {
  position: relative;
  z-index: 1;
}

/* Alternating background for sections is already in CSS, 
   but let's strengthen the even-section tint */
.service-section:nth-child(even) {
  background: #fafafa;
}

/* Subtle left-border accent on the text column */
.svc-content {
  border-left: 3px solid transparent;
  padding-left: 24px;
  transition: border-color 0.3s;
}

.service-section:hover .svc-content {
  border-left-color: #ff4500;
}

/* ── HOSPITAL VISUAL OVERRIDE ── */
.svc-visual--icon {
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(135deg, #fff0eb 0%, #ffe4d9 100%);
}

.svc-icon-lg {
  font-size: 80px;
  line-height: 1;
  display: block;
}

.svc-icon-caption {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ff4500;
  text-align: center;
  text-transform: uppercase;
  opacity: 0.9;
  max-width: 220px;
  line-height: 1.5;
}

/* ── ENHANCED TAG ── */
.svc-tag {
  transition: background 0.2s;
}

/* ── STRONGER BUTTON CONSISTENCY ── */
.svc-actions .btn-primary,
.svc-actions .btn.btn-primary {
  background: #ff4500;
  color: #fff;
  border: none;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}

.svc-actions .btn-primary:hover,
.svc-actions .btn.btn-primary:hover {
  background: #e03d00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
  color: #fff;
}

.svc-actions .btn-outline,
.svc-actions .btn.btn-outline {
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s;
}

.svc-actions .btn-outline:hover,
.svc-actions .btn.btn-outline:hover {
  transform: translateY(-2px);
}

/* ── ENHANCED FARE TABLE ── */
.service-fare-table {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.service-fare-table thead tr {
  background: #111827;
}

.service-fare-table thead th {
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 16px;
  background: transparent;
}

/* ── QUICK NAV ACTIVE STATE VIA JS (optional) ── */

/* ── RESPONSIVE ENHANCEMENTS ── */
@media (max-width: 768px) {
  .svc-num {
    font-size: 72px;
    top: 16px;
    right: 16px;
    -webkit-text-stroke: 1px #f0f0f0;
  }

  .svc-content {
    border-left: none;
    padding-left: 0;
  }

  .svc-qn-link {
    padding: 12px 13px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .svc-num {
    display: none;
  }
}
