/* Services Page Specific Styles */

/* Services Hero */
.services-hero {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  text-align: center;
}

.services-hero-content {
  max-width: 64rem;
  margin: 0 auto;
}

.services-hero-title {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.services-hero-description {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: #d1d5db;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* Services Detail */
.services-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .service-detail-item {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .service-detail-item.reverse {
    direction: rtl;
  }

  .service-detail-item.reverse > * {
    direction: ltr;
  }
}

.service-detail-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-detail-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.service-detail-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-detail-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-detail-icon .icon {
  color: white;
  width: 2rem;
  height: 2rem;
}

.service-detail-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.service-detail-description {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Service Features Grid */
.service-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .service-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #10b981;
  flex-shrink: 0;
}

.service-feature span {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Service Pricing */
.service-pricing {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.price-item {
  background: #f9fafb;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  min-width: 120px;
}

.price-label {
  display: block;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.price-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #d4af37;
}

/* Services CTA */
.services-cta {
  background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
  color: white;
  text-align: center;
}

.services-cta-content {
  max-width: 48rem;
  margin: 0 auto;
}

.services-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.services-cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.services-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.services-cta .btn-secondary {
  background: white;
  color: #d4af37;
  border: 2px solid white;
}

.services-cta .btn-secondary:hover {
  background: transparent;
  color: white;
  border-color: white;
}

/* Active Navigation Link */
.nav-link.active {
  color: #fbbf24 !important;
}

.nav-link.active::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-detail-grid {
    gap: 4rem;
  }

  .service-detail-item {
    gap: 2rem;
  }

  .service-detail-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .service-detail-icon {
    width: 3rem;
    height: 3rem;
  }

  .service-detail-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .service-features-grid {
    grid-template-columns: 1fr;
  }

  .service-pricing {
    justify-content: center;
    gap: 1rem;
  }

  .services-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .services-cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Animation for service items */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.service-detail-item:nth-child(odd) .service-detail-content {
  animation: slideInLeft 0.8s ease-out;
}

.service-detail-item:nth-child(even) .service-detail-content {
  animation: slideInRight 0.8s ease-out;
}

.service-detail-item:nth-child(odd) .service-detail-image {
  animation: slideInRight 0.8s ease-out;
}

.service-detail-item:nth-child(even) .service-detail-image {
  animation: slideInLeft 0.8s ease-out;
}

/* Reduce animations on mobile */
@media (max-width: 768px) {
  .service-detail-item .service-detail-content,
  .service-detail-item .service-detail-image {
    animation: fadeInUp 0.6s ease-out;
  }
}

/* Print styles */
@media print {
  .services-hero {
    background: none;
    color: black;
  }

  .services-cta {
    background: none;
    color: black;
  }

  .service-detail-icon {
    background: #d4af37;
  }

  .btn {
    display: none;
  }
}
