/* ==========================================================================
   GLOBAL APPLIANCE REPAIRS - SERVICES DETAILED PAGE STYLESHEET
   ========================================================================== */

/* Base Page Specifics */
.services-page-body {
  background-color: #ffffff;
  color: #1a1d29;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   1. SERVICES HERO SECTION (Full-cover background image matching homepage)
   -------------------------------------------------------------------------- */
.services-hero-fullscreen {
  min-height: 85vh;
  padding-top: calc(var(--header-height, 84px) + 2rem);
  padding-bottom: 4rem;
}

.services-hero-fullscreen .hero-content {
  max-width: 680px;
  position: relative;
  z-index: 10;
}

.services-hero-fullscreen .section-badge-red {
  margin-bottom: 1.25rem;
}

.services-hero-fullscreen .hero-description {
  margin-bottom: 30px;
}

/* Hero Trust Badges (4 circular metrics in a row) */
.services-hero-metrics {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-metric-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-metric-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #e60012;
  background: rgba(230, 0, 18, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e60012;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.hero-metric-item:hover .hero-metric-icon {
  transform: scale(1.12);
  background: #e60012;
  color: #ffffff;
}

.hero-metric-label {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.services-hero-media-wrapper {
  position: relative;
  z-index: 2;
}

.services-hero-img-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 10.5;
  background-color: #121624;
}

.services-hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-hero-img-card:hover img {
  transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   2. CATEGORY SELECTOR SECTION ("We Repair All Major Appliances")
   -------------------------------------------------------------------------- */
.categories-section {
  background-color: #ffffff;
  padding: 80px 0 75px;
}

.categories-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

.categories-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.categories-header-left {
  max-width: 600px;
}

.categories-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: #0d1322;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.categories-header-right {
  max-width: 440px;
  font-size: 0.95rem;
  color: #555e70;
  line-height: 1.6;
}

/* 6 Category Quick Cards */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.category-quick-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(13, 19, 34, 0.06);
  border: 1.5px solid #edf0f7;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.category-quick-card:hover {
  transform: translateY(-8px);
  border-color: rgba(230, 0, 18, 0.4);
  box-shadow: 0 16px 36px rgba(230, 0, 18, 0.15);
}

.cat-thumb-wrap {
  position: relative;
  height: 140px;
  width: 100%;
  overflow: hidden;
  background-color: #f1f3f9;
}

.cat-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-quick-card:hover .cat-thumb-wrap img {
  transform: scale(1.08);
}

/* Floating Red Circular Icon Badge */
.cat-floating-icon {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e60012;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(230, 0, 18, 0.4);
  z-index: 3;
  transition: transform 0.3s ease;
}

.category-quick-card:hover .cat-floating-icon {
  transform: translateX(-50%) scale(1.15);
}

.cat-card-body {
  padding: 26px 12px 18px;
  text-align: center;
  background: #ffffff;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card-name {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.96rem;
  font-weight: 800;
  color: #0d1322;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   3. DETAILED SERVICE SHOWCASE BLOCKS (ALTERNATING LIGHT & DARK)
   -------------------------------------------------------------------------- */
.service-showcase-block {
  padding: 70px 0;
  scroll-margin-top: calc(var(--header-height, 84px) + 20px);
}

.service-showcase-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.25fr 0.95fr;
  gap: 40px;
  align-items: center;
}

/* Layout variation: Media in center for dark blocks */
.service-showcase-container.layout-center-media {
  grid-template-columns: 1.25fr 1fr 0.95fr;
}

/* Light Theme Block */
.service-showcase-block.theme-light {
  background-color: #fbfcfe;
  border-top: 1px solid #edf0f7;
}

.service-showcase-block.theme-light:nth-of-type(even) {
  background-color: #ffffff;
}

/* Dark Theme Block */
.service-showcase-block.theme-dark {
  background-color: #070c18;
  color: #ffffff;
}

/* Media Card inside Showcase */
.showcase-img-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 15, 30, 0.12);
  background-color: #eef1f6;
  aspect-ratio: 4 / 3.2;
}

.theme-dark .showcase-img-card {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.showcase-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-img-card:hover img {
  transform: scale(1.03);
}

/* Content Column */
.showcase-content {
  padding-right: 10px;
}

.showcase-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
  color: #0d1322;
}

.theme-dark .showcase-title {
  color: #ffffff;
}

.showcase-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4b5568;
  margin-bottom: 22px;
}

.theme-dark .showcase-desc {
  color: #c0c4d4;
}

/* Checkmark List */
.showcase-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a1d29;
}

.theme-dark .check-item {
  color: #f3f4f6;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e60012;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  width: 12px;
  height: 12px;
  stroke: #ffffff;
  stroke-width: 3;
}

/* Action / Trust Highlight Card (Right Column) */
.showcase-action-card {
  border-radius: 18px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

/* Light theme action card */
.theme-light .showcase-action-card {
  background: #f2f7fc;
  border: 1.5px solid #e1ebf5;
  box-shadow: 0 10px 30px rgba(13, 19, 34, 0.04);
}

.theme-light .showcase-action-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 0, 18, 0.35);
  box-shadow: 0 16px 36px rgba(230, 0, 18, 0.08);
}

/* Dark theme action card */
.theme-dark .showcase-action-card {
  background: #0b1120;
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.theme-dark .showcase-action-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 0, 18, 0.45);
  box-shadow: 0 18px 40px rgba(230, 0, 18, 0.15);
}

.action-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e60012;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(230, 0, 18, 0.35);
}

.action-card-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0d1322;
  line-height: 1.25;
}

.theme-dark .action-card-title {
  color: #ffffff;
}

.action-card-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #555e70;
}

.theme-dark .action-card-desc {
  color: #9aa1b5;
}

.btn-book-now {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e60012;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 26px;
  border-radius: 9999px;
  margin-top: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(230, 0, 18, 0.35);
  cursor: pointer;
  border: none;
}

.btn-book-now:hover {
  background: #ff1f2d;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(230, 0, 18, 0.5);
}

/* --------------------------------------------------------------------------
   4. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .service-showcase-container,
  .service-showcase-container.layout-center-media {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .showcase-action-card {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 992px) {
  .services-hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-hero-title {
    font-size: 2.75rem;
  }

  .categories-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .service-showcase-container,
  .service-showcase-container.layout-center-media {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .showcase-action-card {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

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

  .showcase-title {
    font-size: 1.85rem;
  }

  .services-hero-metrics {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .services-hero-title {
    font-size: 1.85rem;
  }
}
