/* Service Page Styles */
:root {
  --primary: #ff7927;
  --secondary: #504142;
  --white: #fff;
  --max-width: 1200px;
  --padding: 1rem;
  --bg-dark: #1a1a1a;
  --bg-darker: #121212;
  --text-light: #e0e0e0;
  --card-bg: #252525;
}

.service-hero {
  padding: 6rem 0 4rem;
  background-color: var(--bg-darker);
  position: relative;
}

.service-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.service-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #ffa767);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-hero p {
  margin-bottom: 2rem;
  color: var(--text-light);
  font-size: clamp(1rem, 3vw, 1.1rem);
  max-width: 800px;
}

.service-icon-large {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.service-main {
  padding: 4rem 0;
  background-color: var(--bg-dark);
}

.service-image-container {
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.service-description {
  margin-bottom: 3rem;
}

.service-description p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--text-light);
}

.service-features {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.service-features h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.features-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
}

.service-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.service-cta h2 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.service-cta p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.related-services {
  padding: 4rem 0;
  background-color: var(--bg-darker);
}

.related-services h2 {
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--primary), #ffa767);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 2.5rem;
}

.related-services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.breadcrumb {
  display: flex;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.breadcrumb li {
  color: var(--text-light);
  opacity: 0.7;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 0.5rem;
}

.breadcrumb li:last-child {
  color: var(--primary);
  opacity: 1;
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* Responsive styles */
@media (min-width: 768px) {
  .related-services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .related-services-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .service-hero {
    padding: 5rem 0 3rem;
  }

  .service-image-container {
    margin-bottom: 2rem;
    max-height: 350px;
  }

  .service-image-container img {
    max-height: 350px;
  }

  .service-features {
    padding: 1.5rem;
  }

  .service-cta {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .service-image-container {
    max-height: 250px;
  }

  .service-image-container img {
    max-height: 250px;
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #e66615;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: white;
}
