/* ==========================================================================
   SERVICES PAGE STYLES — WAREZONE RELOCATIONS
   Matching references/services page UI.jpeg & services page UI .mp4
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Services Hero Section
   -------------------------------------------------------------------------- */
.services-hero-section {
  padding: 16px;
  background-color: #FFFFFF;
}

.services-hero-banner {
  width: 100%;
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
  min-height: 560px;
  max-height: 900px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  background-color: #1A1815;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.services-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 1;
}

.services-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 24px;
}

.services-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);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.services-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 10px;
  line-height: 1;
}

.services-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 32px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.services-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-yellow);
  color: var(--color-dark);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.services-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 208, 0, 0.3);
}

/* --------------------------------------------------------------------------
   2. Services Grid Section
   -------------------------------------------------------------------------- */
.services-grid-section {
  padding: 60px 0 140px 0;
  background-color: #FFFFFF;
}

.services-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 36px;
  max-width: 1140px;
  margin: 0 auto;
}

.service-showcase-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.service-card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background-color: var(--color-light-gray);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
  transform-origin: center center;
  will-change: transform;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  will-change: transform;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
}

.service-card-name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  color: var(--color-dark);
  transition: color 0.25s ease;
}

.service-showcase-card:hover .service-card-name {
  color: #000000;
}

.service-card-arrow {
  font-size: 20px;
  color: var(--color-dark);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-showcase-card:hover .service-card-arrow {
  transform: translateX(6px);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .services-hero-banner {
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
    min-height: 500px;
    border-radius: 24px;
  }
  .services-showcase-grid {
    gap: 36px 24px;
  }
}

@media (max-width: 768px) {
  .services-hero-section {
    padding: 10px;
  }
  .services-hero-banner {
    height: calc(100vh - 20px);
    height: calc(100dvh - 20px);
    min-height: 480px;
    border-radius: 20px;
  }
  .services-showcase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-card-media {
    border-radius: 20px;
  }
}

/* ==========================================================================
   3. Service Detail Template Styles
   ========================================================================== */
.service-detail-hero-section {
  padding: 16px;
  background-color: #FFFFFF;
}

.service-detail-hero-card {
  width: 100%;
  height: calc(100vh - 32px);
  min-height: 560px;
  max-height: 900px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  background-color: #1A1815;
}

.service-detail-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-detail-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 1;
}

.service-detail-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
}

.hero-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
}

.hero-text-block {
  max-width: 600px;
}

.service-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.service-detail-tagline {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
}

.btn-back-service {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  flex-shrink: 0;
}

.btn-back-service:hover {
  transform: translateX(-4px);
  opacity: 0.85;
}

.btn-back-service .arrow {
  font-size: 16px;
}

/* Service Detail Body Section */
.service-detail-body-section {
  padding: 40px 0 100px 0;
  background-color: #FFFFFF;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
}

.service-detail-content {
  display: flex;
  flex-direction: column;
}

.detail-block {
  margin-bottom: 40px;
}

.detail-heading {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.detail-subheading {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.detail-text {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-subtext);
}

.detail-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
}

.detail-bullet-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--color-dark);
  line-height: 1.5;
}

.detail-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: -1px;
  color: var(--color-dark);
  font-size: 18px;
}

.detail-media-banner {
  width: 100%;
  height: 380px;
  border-radius: 28px;
  overflow: hidden;
  margin: 40px 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.detail-media-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sidebar Styles */
.service-detail-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  border-radius: 28px;
  padding: 32px;
}

.sidebar-card--light {
  background-color: #F8F8F8;
  border: 1px solid #ECECEC;
}

.sidebar-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.sidebar-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #E6E6E6;
  color: var(--color-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  font-weight: 700;
}

.sidebar-card--dark {
  background-color: #111111;
  color: #FFFFFF;
}

.sidebar-cta-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.sidebar-cta-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 24px;
}

.sidebar-card--dark .btn-primary-yellow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

/* 4. Related Services Section */
.related-services-section {
  padding: 80px 0 120px 0;
  background-color: #FFFFFF;
  border-top: 1px solid #F0F0F0;
}

.related-services-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 40px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.services-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 1140px;
  margin: 0 auto;
}

.service-archive-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.service-archive-img-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  background-color: var(--color-light-gray);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.service-archive-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-archive-card:hover .service-archive-img-wrapper img {
  transform: scale(1.05);
}

.service-archive-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
}

.service-archive-name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  color: var(--color-dark);
  margin: 0;
}

.service-archive-arrow {
  font-size: 20px;
  color: var(--color-dark);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-archive-card:hover .service-archive-arrow {
  transform: translateX(6px);
}

/* Responsive Rules for Detail Page */
@media (max-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .service-detail-sidebar {
    position: static;
  }
  .service-detail-hero-card {
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
    min-height: 500px;
  }
  .service-detail-hero-content {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .service-detail-hero-section {
    padding: 10px;
  }
  .service-detail-hero-card {
    height: calc(100vh - 20px);
    height: calc(100dvh - 20px);
    min-height: 480px;
    border-radius: 24px;
  }
  .service-detail-hero-content {
    padding: 24px 20px;
  }
  .hero-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .btn-back-service {
    align-self: flex-end;
    margin-top: 4px;
  }
  .service-detail-title {
    font-size: clamp(34px, 8vw, 44px);
    margin-bottom: 10px;
  }
  .service-detail-tagline {
    font-size: 14px;
    line-height: 1.45;
  }
  .detail-bullet-list {
    grid-template-columns: 1fr;
  }
  .services-archive-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .detail-media-banner {
    height: 260px;
    border-radius: 20px;
  }
}
