/* ==========================================================================
   Homecoming Movers - Our Services Page Stylesheet (services.css)
   ========================================================================== */

/* 1. Hero / Subpage Banner Section */
.services-banner {
  position: relative;
  background-image: url('../images/new_contact_banner.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 150px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.services-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(11, 27, 61, 0.65) 0%,
      rgba(11, 27, 61, 0.8) 100%);
  z-index: 1;
}

.services-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
}

.services-breadcrumbs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.services-breadcrumbs .breadcrumb-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.25s ease-in-out;
}

.services-breadcrumbs .breadcrumb-link:hover {
  color: var(--accent-orange, #FF6600);
}

.services-breadcrumbs .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 10px;
}

.services-breadcrumbs .breadcrumb-current {
  color: var(--accent-orange, #FF6600);
  font-weight: 600;
}

.services-banner-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.services-banner-divider {
  width: 60px;
  height: 3.5px;
  background-color: var(--accent-orange, #FF6600);
  margin: 15px auto;
  border-radius: 5px;
}

.services-banner-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 2. Services Section & Card Grid UI (Reused from Home Page) */
.services-page-section {
  background-color: #FFFFFF;
  position: relative;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(11, 27, 61, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(11, 27, 61, 0.12);
  border-color: rgba(255, 102, 0, 0.35);
}

.service-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 250px;
  max-height: 295px;
  overflow: hidden;
  background-color: #F8FAFC;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.06) translateZ(0);
}

.service-card-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  color: var(--primary-navy, #0B1B3D);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card-desc {
  color: var(--text-body, #475569);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-action {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #F1F5F9;
}

.btn-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-orange, #FF6600);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.btn-service-link:hover {
  color: var(--accent-orange-hover, #E55C00);
  gap: 12px;
}

/* 3. Bottom CTA Section */
.services-cta-banner {
  background: linear-gradient(135deg, #0B1B3D 0%, #162C5B 100%);
  border-radius: 24px;
  padding: 48px 40px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 27, 61, 0.18);
  border: 1px solid rgba(255, 102, 0, 0.2);
}

.services-cta-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.services-cta-desc {
  color: #CBD5E1;
  font-size: 1rem;
  margin-bottom: 0;
}

.btn-cta-quote {
  background-color: var(--accent-orange, #FF6600);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.25);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.btn-cta-quote:hover {
  background-color: var(--accent-orange-hover, #E55C00);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 102, 0, 0.35);
}

/* ==========================================================================
   Multi-Device Responsive Breakpoints
   ========================================================================== */

/* Laptops / Desktops (< 1200px) */
@media (max-width: 1199.98px) {
  .services-banner {
    padding: 130px 0;
    min-height: 480px;
  }

  .service-img-wrapper {
    aspect-ratio: 4 / 3;
    min-height: 240px;
    max-height: 320px;
  }
}

/* Tablets & iPad Mini (< 992px) */
@media (max-width: 991.98px) {
  .services-banner {
    padding: 110px 0;
    min-height: 440px;
  }

  .service-card-body {
    padding: 20px 18px;
  }

  .service-img-wrapper {
    aspect-ratio: 4 / 3;
    min-height: 220px;
    max-height: 320px;
  }

  .services-cta-banner {
    padding: 36px 28px;
    text-align: center;
  }

  .services-cta-btns {
    justify-content: center !important;
    margin-top: 20px;
  }
}

/* Large Phones & Small Tablets (< 768px) */
@media (max-width: 767.98px) {
  .services-banner {
    padding: 90px 0;
    min-height: 380px;
  }

  .services-banner-title {
    font-size: 2.2rem;
  }

  .service-img-wrapper {
    aspect-ratio: 4 / 3;
    min-height: 210px;
    max-height: 320px;
  }
}

/* Mobile Portrait (< 576px) */
@media (max-width: 575.98px) {
  .services-banner {
    padding: 80px 0;
    min-height: 340px;
  }

  .services-banner-desc {
    font-size: 0.95rem;
  }

  .service-card-body {
    padding: 18px 16px;
  }

  .service-card-title {
    font-size: 1.15rem;
  }

  .services-cta-banner {
    padding: 28px 20px;
  }

  .btn-cta-quote {
    width: 100%;
    justify-content: center;
  }
}