/* ===== SERVICES PAGE CSS ===== */

/* ===== PAGE HERO / BREADCRUMB ===== */
.page-hero {
  position: relative;
  height: 280px;
  background: url("https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1400&q=80")
    center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 20, 40, 0.75) 0%,
    rgba(15, 20, 40, 0.88) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb a:hover {
  color: var(--orange);
}
.bc-sep {
  color: var(--orange);
}
.page-hero-content h1 {
  font-size: clamp(36px, 6vw, 64px);
  color: #fff;
  margin-bottom: 10px;
}
.page-hero-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  max-width: 480px;
}

/* ===== SERVICES INTRO ===== */
.services-intro {
  padding: 90px 0;
  background: #fff;
}
.services-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.intro-image-wrap {
  position: relative;
}
.intro-image-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  position: relative;
  z-index: 2;
}
.intro-img-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  background: var(--orange);
  border-radius: 8px;
  z-index: 1;
  opacity: 0.15;
}
.intro-content h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  margin-bottom: 18px;
  line-height: 1.1;
}
.intro-content p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 15px;
}
.intro-call {
  margin-top: 28px;
  padding: 22px 26px;
  background: var(--light-gray);
  border-left: 4px solid var(--orange);
  border-radius: 0 6px 6px 0;
}
.call-label {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
  font-weight: 500;
}
.call-number {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.call-number:hover {
  color: var(--orange-dark);
}

/* ===== WHAT WE OFFER ===== */
.what-we-offer {
  padding: 90px 0;
  background: var(--light-gray);
}
.offer-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

/* Service Card */
.svc-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.13);
}
.svc-card-img {
  height: 210px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.svc-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 20, 40, 0.55) 0%,
    transparent 60%
  );
  transition: background 0.4s;
}
.svc-card:hover .svc-card-img::after {
  background: linear-gradient(
    to top,
    rgba(240, 90, 26, 0.5) 0%,
    transparent 60%
  );
}
.svc-cat-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--orange);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
}
.svc-card-body {
  padding: 26px 24px 28px;
}
.svc-card-body h3 {
  font-size: 21px;
  margin-bottom: 10px;
  color: var(--dark);
  transition: color 0.3s;
}
.svc-card:hover .svc-card-body h3 {
  color: var(--orange);
}
.svc-card-body p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.svc-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: uppercase;
  transition: gap 0.3s;
}
.svc-read-more:hover {
  gap: 10px;
}
.svc-read-more span {
  transition: transform 0.3s;
}
.svc-read-more:hover span {
  transform: translateX(4px);
}

/* hidden class for filter */
.svc-card.hidden {
  display: none;
}

.offer-cta {
  text-align: center;
}

/* ===== WHY ELECTRICIANS ===== */
.why-electricians {
  padding: 90px 0;
  background: #fff;
}
.why-elec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.why-elec-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 28px;
}
.why-elec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-elec-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--dark);
  line-height: 1.5;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.why-elec-list li:last-child {
  border-bottom: none;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.why-elec-image {
  position: relative;
}
.why-elec-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.why-elec-badge {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: var(--dark2);
  color: #fff;
  padding: 22px 28px;
  border-radius: 8px;
  text-align: center;
  border-left: 5px solid var(--orange);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}
.web-num {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 46px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.web-text {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ===== PROCESS SECTION ===== */
.process-section {
  padding: 90px 0;
  background: var(--dark2);
}
.process-section .section-label {
  color: rgba(255, 255, 255, 0.5);
}
.process-section .section-title {
  color: #fff;
}
.process-grid {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  position: relative;
  transition: all 0.3s;
}
.process-step:hover {
  background: rgba(240, 90, 26, 0.1);
  border-color: var(--orange);
  transform: translateY(-6px);
}
.step-number {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  user-select: none;
}
.step-icon {
  font-size: 38px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.process-step h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.process-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
.process-connector {
  width: 60px;
  min-width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--orange), rgba(240, 90, 26, 0.3));
  position: relative;
}
.process-connector::after {
  content: ">";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 12px;
}

/* ===== ACTIVE NAV ===== */
.main-nav a.active {
  color: var(--orange) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-intro-grid,
  .why-elec-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-elec-badge {
    left: 20px;
  }
}

@media (max-width: 900px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    flex-wrap: wrap;
    gap: 20px;
  }
  .process-connector {
    display: none;
  }
  .process-step {
    min-width: 200px;
  }
}

@media (max-width: 600px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    height: 220px;
  }
}
