/* ============================================================
   Services Pages — Beautiful Redesign
   Free images: Unsplash (unsplash.com/license) — commercial use allowed
   Font: Inter — same across all website
   ============================================================ */

/* ---------- Service Banner — Text left in container, image right (full bg) ---------- */
.service-banner {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 160px 0 100px;
}

.service-banner .container {
  width: 100%;
}

.service-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
  animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.service-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.service-banner-shapes .shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.service-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: left;
  margin-left: 0;
}

.service-banner-inner .service-badge,
.service-banner-inner h1,
.service-banner-inner .service-banner-desc,
.service-banner-inner .service-cta-btn {
  text-align: left;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
  font-family: 'Inter', sans-serif;
}

.service-banner h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.service-banner-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.75;
  margin-bottom: 32px;
  text-shadow: 0 1px 20px rgba(0,0,0,0.2);
}

.service-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.service-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* Different Unsplash images (free license) — Local: suburban neighborhood */
.service-banner-local .service-banner-bg {
  background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&q=80');
}

.service-banner-local .service-banner-overlay {
  background: linear-gradient(90deg, rgba(13,92,74,0.92) 0%, rgba(26,122,99,0.6) 50%, transparent 100%);
}

.service-banner-local .shape-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  top: -150px; right: -100px;
}

.service-banner-local .shape-2 {
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.05);
  bottom: 15%; right: 20%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* Intercity: highway between cities */
.service-banner-intercity .service-banner-bg {
  background-image: url('https://images.unsplash.com/photo-1542223616-9de9adb5e3e8?w=1920&q=80');
}

.service-banner-intercity .service-banner-overlay {
  background: linear-gradient(90deg, rgba(30,58,95,0.93) 0%, rgba(44,82,130,0.6) 50%, transparent 100%);
}

.service-banner-intercity .shape-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  top: -200px; left: -150px;
}

.service-banner-intercity .shape-2 {
  width: 150px; height: 150px;
  background: rgba(255,255,255,0.04);
  bottom: 20%; left: 15%;
}

/* Long Distance: scenic cross-country road */
.service-banner-longdist .service-banner-bg {
  background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=1920&q=80');
}

.service-banner-longdist .service-banner-overlay {
  background: linear-gradient(90deg, rgba(61,44,107,0.91) 0%, rgba(91,74,154,0.6) 50%, transparent 100%);
}

.service-banner-longdist .shape-1 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  top: -80px; right: 5%;
}

.service-banner-longdist .shape-2 {
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.04);
  bottom: 25%; left: -60px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

/* Packing: moving boxes */
.service-banner-packing .service-banner-bg {
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=80');
}

.service-banner-packing .service-banner-overlay {
  background: linear-gradient(90deg, rgba(139,69,19,0.9) 0%, rgba(199,92,46,0.6) 50%, transparent 100%);
}

.service-banner-packing .shape-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  top: -50px; left: 10%;
}

.service-banner-packing .shape-2 {
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.05);
  bottom: 18%; right: 20%;
}

/* ---------- Calculator Section — Compact, unique per page ---------- */
.service-calc-section {
  padding: 60px 0;
  position: relative;
}

.service-calc-section .section-header {
  text-align: center;
  margin-bottom: 32px;
}

.service-calc-section .section-tag {
  font-family: 'Inter', sans-serif;
}

.service-calc-section .section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.service-calc-section .section-subtitle {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Compact grid: form + result equal width */
.service-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .service-calc-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Form: 2-column layout for first 4 groups to shorten height */
.service-calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.service-calc-form .form-group {
  margin-bottom: 0;
}

.service-calc-form .form-group:nth-child(n+5),
.service-calc-form .form-group:nth-child(n+6),
.service-calc-form .form-group:has(.addons-compact),
.service-calc-form .form-group:has(.addons-title),
.service-calc-form button {
  grid-column: 1 / -1;
}

.service-calc-form button {
  margin-top: 8px;
}

.service-calc-form label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  font-size: 0.85rem;
}

.service-calc-form .addons-title {
  color: var(--navy);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.service-calc-form select,
.service-calc-form input[type="number"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s ease;
}

.service-calc-form input[type="number"]::placeholder {
  color: #94a3b8;
}

.service-calc-form input[type="number"]::-webkit-input-placeholder {
  color: #94a3b8;
}

/* Dropdown options — light background so items are visible (hover unchanged) */
.service-calc-form select option {
  background: #ffffff;
  color: var(--navy);
}

.service-calc-form select {
  color: var(--navy);
}


.service-calc-form select:focus,
.service-calc-form input[type="number"]:focus {
  outline: none;
  border-color: var(--orange);
}

/* Addons: override home-page grid, use clean layout for service calculators */
.service-calc-form .addons-grid.addons-compact,
.service-calc-form .addons-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  width: 100%;
}

.service-calc-form .addons-compact .addon-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
  padding: 12px 16px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
  min-height: 48px;
  text-align: left;
}

.service-calc-form .addons-compact .addon-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

/* Custom checkbox box with tick when checked */
.service-calc-form .addons-compact .addon-item::before {
  content: '';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--border);
  border-radius: 5px;
  background: var(--white);
  transition: all 0.2s ease;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.service-calc-form .addons-compact .addon-item:has(input:checked)::before {
  content: '✓';
  background: var(--orange);
  border-color: var(--orange);
}

.service-calc-form .addons-compact .addon-item:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

/* Checked state — checkbox shows check, card gets highlight */
.service-calc-form .addons-compact .addon-item:has(input:checked) {
  background: rgba(244, 114, 30, 0.15);
  border-color: var(--orange);
  color: var(--navy);
  font-weight: 600;
}


.service-calc-btn {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-calc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(244,114,30,0.35);
}

/* Page-specific calculator styles */
.service-calc-local {
  background: linear-gradient(180deg, #f0fdf9 0%, #d1fae5 100%);
}

.service-calc-local .calc-card {
  background: var(--white);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(13,92,74,0.12);
  border-left: 4px solid #0d5c4a;
}

.service-calc-intercity {
  background: linear-gradient(180deg, #eff8ff 0%, #bfdbfe 100%);
}

.service-calc-intercity .calc-card {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(30,58,95,0.1);
  border-top: 4px solid #1e3a5f;
}

.service-calc-longdist {
  background: linear-gradient(180deg, #faf5ff 0%, #e9d5ff 100%);
}

.service-calc-longdist .calc-card {
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(91,74,154,0.12);
  border: 2px solid rgba(124,107,184,0.3);
}

.service-calc-packing {
  background: linear-gradient(180deg, #fff7ed 0%, #fed7aa 100%);
}

.service-calc-packing .calc-card {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(199,92,46,0.15);
  border-right: 4px solid #c75c2e;
}

/* Result panel — full height to match left block */
.result-panel {
  display: flex;
}

.result-panel .result-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.result-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-amount {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.2;
}

.result-range {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.result-breakdown .breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.result-breakdown .breakdown-item span:last-child {
  color: var(--navy);
  font-weight: 600;
}

.result-breakdown .breakdown-item:last-child { border-bottom: none; }

.result-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

/* ---------- Info Sections — Image + Text split ---------- */
.service-info-section {
  padding: 100px 0;
  position: relative;
}

.service-info-section.service-info-alt {
  background: var(--white);
}

.service-info-section:nth-child(even) {
  background: #fafbfc;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.info-grid-reverse .info-content { order: 2; }
.info-grid-reverse .info-visual { order: 1; }

@media (max-width: 960px) {
  .info-grid, .info-grid-reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .info-grid-reverse .info-content, .info-grid-reverse .info-visual { order: unset; }
}

.info-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.3;
}

.info-content p {
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 12px 0;
  color: var(--text);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.5;
}

.info-list li::before {
  content: '→';
  color: var(--orange);
  font-weight: 800;
  flex-shrink: 0;
}

/* Info visuals — Real images (Unsplash, free license) */
.info-visual {
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: #e2e8f0;
  box-shadow: 0 24px 80px rgba(0,0,0,0.12);
  position: relative;
}

.info-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.info-visual-inner {
  text-align: center;
  padding: 48px;
  position: relative;
  z-index: 2;
}

.info-visual-inner .big-icon {
  font-size: 4.5rem;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

.info-visual-inner p {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin: 0;
}

/* Local page info images */
.service-local .info-visual-local {
  background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=800&q=80');
}

.service-local .info-visual-local-2 {
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&q=80');
}

/* Intercity page info images */
.service-intercity .info-visual-intercity {
  background-image: url('https://images.unsplash.com/photo-1650853073125-25f1c9b79edc?w=800&q=80');
}

.service-intercity .info-visual-intercity-2 {
  background-image: url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=800&q=80');
}

/* Long distance info images */
.service-longdist .info-visual-longdist {
  background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&q=80');
}

.service-longdist .info-visual-longdist-2 {
  background-image: url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=800&q=80');
}

/* Packing info images */
.service-packing .info-visual-packing {
  background-image: url('https://images.unsplash.com/photo-1582735689369-4fe89db7114c?w=800&q=80');
}

.service-packing .info-visual-packing-2 {
  background-image: url('https://images.unsplash.com/photo-1600725935160-f67ee4f6084a?w=800&q=80');
}

/* Fallback for pages without body class specificity */
.info-visual-local { background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=800&q=80'); }
.info-visual-local-2 { background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&q=80'); }
.info-visual-intercity { background-image: url('https://images.unsplash.com/photo-1650853073125-25f1c9b79edc?w=800&q=80'); }
.info-visual-intercity-2 { background-image: url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=800&q=80'); }
.info-visual-longdist { background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&q=80'); }
.info-visual-longdist-2 { background-image: url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=800&q=80'); }
.info-visual-packing { background-image: url('https://images.unsplash.com/photo-1582735689369-4fe89db7114c?w=800&q=80'); }
.info-visual-packing-2 { background-image: url('https://images.unsplash.com/photo-1600725935160-f67ee4f6084a?w=800&q=80'); }

/* ---------- CTA Section — Bold gradient ---------- */
.service-cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}

.service-cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244,114,30,0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.service-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-cta-inner h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.service-cta-inner p {
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.service-cta-inner .btn {
  margin: 0;
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ---------- Service Page Footer — Same as home ---------- */
.service-page #footer {
  padding: 70px 0 0;
}

.service-page .footer-bottom a:hover {
  color: var(--orange);
}
