/* Service Page Styles */

body {
  padding-top: 120px; /* Adjust based on your header height */
}

.service-hero {
  position: relative;
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 40px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--light-color);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.service-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: var(--light-color);
}

.service-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.service-content {
  padding: 4rem 0;
}

.service-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-description p {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
}

.get-price-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--accent-color);
  color: var(--light-color);
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  font-weight: bold;
}

.get-price-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  body {
    padding-top: 80px; /* Adjust for smaller screens */
  }

  .service-hero {
    min-height: 250px;
    padding-top: 60px;
  }

  .service-title {
    font-size: 2.5rem;
  }

  .service-subtitle {
    font-size: 1.1rem;
  }

  .service-content {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .service-hero {
    padding-top: 80px;
  }

  .service-title {
    font-size: 2rem;
  }

  .service-subtitle {
    font-size: 1rem;
  }
}

