/* =====================================
   Services Page Styles
   (services.css)
   ===================================== */

/* Hero Section */
.services-services-hero {
  background: url('../imgs/services.webp') center/cover no-repeat;
  color: white;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
}

.services-services-hero h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
}

/* Main “Nossos Serviços” heading */
.services-services-section {
  padding: 0px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services-services-section h1 {
  font-size: 34px;
  color: #0056b3;
  margin-bottom: 32px;
  margin-top: 32px;
}

/* Service Item */
.services-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 72px;
  gap: 24px;
}

.services-service-item img {
  width: 90%;
  max-width: 450px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-service-item img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* On larger screens, alternate image/text order */
@media (min-width: 1024px) {
  .services-service-item {
    flex-direction: row;
    justify-content: space-between;
  }

  .services-service-item img {
    width: 100%;
    max-width: 450px;
  }

  .services-service-item:nth-child(even) {
    flex-direction: row-reverse;
  }
}

/* Service Text */
.services-service-text {
  max-width: 500px;
  text-align: left;
}

.services-service-text ul {
  margin: 16px 0;
  padding-left: 20px;
  list-style-type: disc;
}

.services-service-text li {
  margin-bottom: 8px;
}

.services-service-text p {
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .services-service-item {
    margin-bottom: 48px;
  }

  .services-service-text {
    text-align: center;
  }

  .services-service-item img {
    width: 90%;
    max-width: 320px;
  }
}
