/* Services List Page Styling */

/* Variables are now imported from variables.css */

.services-intro {
  margin-bottom: 3rem;
  background-color: var(--bg-alt-color);
  border-radius: 5px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.services-intro:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), rgba(0, 255, 0, 0));
}

.services-intro h2 {
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.services-intro h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--color-primary);
}

.intro-content {
  color: var(--text-muted-color);
  font-size: 1rem;
  line-height: 1.6;
}

.intro-content p {
  margin-bottom: 1rem;
}

.services-list {
  margin-bottom: 3rem;
}

/* Horizontal band layout for services */
.services-band {
  display: flex;
  flex-direction: column;
  gap: 3rem; /* Increased gap between services */
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.service-band-item {
  background-color: var(--bg-alt-color);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: row;
  border-left: 3px solid var(--color-primary);
}

.service-band-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 255, 0, 0.1);
}

.service-band-item:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-primary), rgba(0, 255, 0, 0.1));
}

.service-band-content {
  padding: 2.5rem 3rem;
  flex: 1;
}

.service-title {
  color: var(--color-title);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

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

.service-title a:hover {
  color: var(--color-secondary);
}

.service-description {
  color: var(--text-muted-color);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--color-secondary);
}

.service-link:after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.service-link:hover:after {
  transform: translateX(4px);
}

.cta-section {
  background-color: var(--bg-alt-color);
  padding: 2.5rem;
  border-radius: 5px;
  margin-top: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--color-primary), rgba(0, 255, 0, 0.1), var(--color-primary));
}

.cta-title {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.cta-text {
  color: var(--text-muted-color);
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--color-primary);
  color: #292424;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 0.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-band-item {
    flex-direction: column;
  }

  .service-band-content {
    padding: 2rem;
  }

  .services-band {
    gap: 2.5rem;
  }
}
