/* ============================================================
   KARAMA LOGISTICS - SERVICE DETAIL PAGE (service-detail.css)
   Handles: Service Hero, Overview, Features Grid, Quote Sidebar
   ============================================================ */

/* ─── Service Detail Hero ─── */
.service-detail-hero,
.hero {
  background: linear-gradient(135deg, var(--heading-color) 0%, #0a2a6e 50%, #001040 100%);
  color: var(--contrast-color);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.service-detail-hero::before,
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(13, 66, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-glow 8s ease-in-out infinite;
}

.service-detail-hero .container,
.hero .container {
  position: relative;
  z-index: 1;
}

.service-detail-hero .hero-content,
.hero .hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out both;
}

.service-detail-hero .hero-title,
.hero .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--contrast-color);
}

.service-detail-hero .hero-subtitle,
.hero .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* ─── Service Detail Section ─── */
.service-detail-section,
.section {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, #f7f9fc 0%, var(--background-color) 100%);
}

/* ─── Service Detail Layout ─── */
.service-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ─── Service Content ─── */
.service-content h2 {
  font-size: 1.5rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-family: var(--font-primary);
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(13, 66, 255, 0.1);
}

.service-content p {
  font-size: 1rem;
  color: var(--default-color);
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 30px;
}

.service-content h3 {
  font-size: 1.2rem;
  color: var(--heading-color);
  margin-bottom: 15px;
  font-family: var(--font-primary);
  font-weight: 600;
}

/* ─── Features Grid ─── */
.service-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition-base);
}

.service-feature-item:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(13, 66, 255, 0.08);
}

.service-feature-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.service-feature-item span {
  font-size: 0.95rem;
  color: var(--default-color);
  font-weight: 500;
}

/* ─── Quote Sidebar ─── */
.service-quote-sidebar {
  position: sticky;
  top: 100px;
}

.service-quote-card {
  background: linear-gradient(135deg, var(--heading-color) 0%, #0a2a6e 100%);
  color: var(--contrast-color);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.service-quote-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--contrast-color);
}

.service-quote-card .price {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.service-quote-card .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  margin-bottom: 10px;
  border: 2px solid transparent;
}

.service-quote-card .btn-primary {
  background: linear-gradient(135deg, var(--accent-color), #2563eb);
  color: var(--contrast-color);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(13, 66, 255, 0.3);
}

.service-quote-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 66, 255, 0.4);
  color: var(--contrast-color);
}

.service-quote-card .btn-outline {
  background: transparent;
  color: var(--contrast-color);
  border-color: rgba(255,255,255,0.4);
}

.service-quote-card .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--contrast-color);
  color: var(--contrast-color);
}

/* ─── Responsive Design ─── */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .service-quote-sidebar {
    position: relative;
    top: auto;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .service-detail-hero,
  .hero {
    padding: 60px 0 50px;
  }

  .service-detail-section,
  .section {
    padding: 50px 0;
  }

  .service-features-grid {
    grid-template-columns: 1fr;
  }

  .service-content h2 {
    font-size: 1.3rem;
  }

  .service-quote-card {
    padding: 24px 20px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .service-detail-hero .hero-title,
  .hero .hero-title {
    font-size: 1.6rem;
  }

  .service-feature-item {
    padding: 14px 16px;
  }

  .service-feature-item span {
    font-size: 0.9rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .service-detail-hero::before,
  .hero::before {
    animation: none;
  }
}