/* ============================================
   SERVICES PAGE STYLES
   ============================================ */

/* Services Main Section */
.services-main {
  background: linear-gradient(135deg, var(--gray-50), white);
}

.services-detailed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
}

@media (max-width: 1200px) {
  .services-detailed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-detailed-grid {
    grid-template-columns: 1fr;
  }
}

/* Service Detailed Card */
.service-detailed-card {
  background: white;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-100);
}

.service-detailed-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.service-detailed-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-detailed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-detailed-card:hover .service-detailed-image img {
  transform: scale(1.05);
}


.service-detailed-content {
  padding: var(--space-10) var(--space-8) var(--space-8);
}

.service-detailed-content h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}

.service-subtitle {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-5);
}

.service-description {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--gray-700);
}

.service-features svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.cta-content h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: var(--text-4xl);
  }
}

.cta-content p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.cta-buttons .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-buttons .btn-secondary:hover {
  background: white;
  color: var(--primary-700);
  border-color: white;
}
