/**
 * Services Page Styles
 * Premium dark theme with Hermes orange accents
 */

/*======================================
  SERVICES HERO WITH PARTICLES
======================================*/
.services-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--space-3xl) + 100px) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0A0A0A 0%, #141414 100%);
}

#services-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.services-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.services-hero-tag {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 140, 66, 0.1);
  border: 1px solid rgba(255, 140, 66, 0.2);
  border-radius: var(--radius-full);
  color: var(--hermes-orange);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: var(--space-lg);
}

.services-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.services-hero-description {
  font-size: 1.25rem;
  color: var(--gray-lighter);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/*======================================
  DETAILED SERVICES SECTION
======================================*/
.services-detailed-section {
  padding: var(--space-3xl) 0;
  background: var(--black);
}

.service-detailed-card {
  position: relative;
  margin-bottom: var(--space-3xl);
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detailed-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detailed-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 140, 66, 0.3);
  transform: translateX(8px);
  box-shadow: 0 0 40px rgba(255, 140, 66, 0.2);
}

.service-detailed-card:hover::before {
  transform: scaleY(1);
}

.service-detailed-number {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(255, 140, 66, 0.05);
  line-height: 1;
  pointer-events: none;
}

.service-detailed-content {
  position: relative;
  z-index: 1;
}

.service-detailed-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.service-detailed-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  font-size: 2.5rem;
  color: var(--white);
  box-shadow: 0 0 30px rgba(255, 140, 66, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detailed-card:hover .service-detailed-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 50px rgba(255, 140, 66, 0.6);
}

.service-detailed-header h2 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.service-detailed-tagline {
  font-size: 1.125rem;
  color: var(--hermes-orange);
  font-weight: 600;
  margin: 0;
}

.service-detailed-description {
  font-size: 1.0625rem;
  color: var(--gray-lighter);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

/*======================================
  SERVICE FEATURES GRID
======================================*/
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.service-feature-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 140, 66, 0.3);
  transform: translateX(5px);
}

.service-feature-item i {
  color: var(--hermes-orange);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.service-feature-item span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
}

/*======================================
  SERVICE FOOTER
======================================*/
.service-detailed-footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/*======================================
  PROCESS SECTION
======================================*/
.services-process-section {
  padding: var(--space-3xl) 0;
  background: var(--black-light);
}

.process-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, 
    rgba(255, 140, 66, 0.2) 0%, 
    rgba(0, 122, 255, 0.2) 100%
  );
  transform: translateX(-50%);
}

.process-step {
  position: relative;
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.process-step:nth-child(odd) {
  padding-right: calc(50% + var(--space-2xl));
  text-align: right;
}

.process-step:nth-child(even) {
  padding-left: calc(50% + var(--space-2xl));
  text-align: left;
}

.process-step-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 0 30px rgba(255, 140, 66, 0.4);
  z-index: 2;
}

.process-step-content {
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.process-step:hover .process-step-content {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 140, 66, 0.3);
  transform: translateY(-5px);
}

.process-step-content h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.process-step-content p {
  color: var(--gray-lighter);
  line-height: 1.7;
  margin: 0;
}

/*======================================
  CTA SECTION
======================================*/
.services-cta-section {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(255, 140, 66, 0.1));
  padding: var(--space-3xl) 0;
}

.services-cta-section .cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.services-cta-section h2 {
  margin-bottom: var(--space-md);
}

.services-cta-section p {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  color: var(--gray-lighter);
}

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

/*======================================
  RESPONSIVE
======================================*/
@media (max-width: 1024px) {
  .service-features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    padding-left: var(--space-2xl);
    padding-right: var(--space-xl);
    text-align: left;
  }
  
  .process-timeline::before {
    left: 30px;
  }
  
  .process-step-number {
    left: 30px;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 768px) {
  .services-hero {
    min-height: 50vh;
    padding: calc(var(--space-2xl) + 80px) 0 var(--space-2xl);
  }
  
  .services-hero-title {
    font-size: 2rem;
  }
  
  .services-hero-description {
    font-size: 1rem;
  }
  
  .service-detailed-card {
    padding: var(--space-xl) var(--space-lg);
  }
  
  .service-detailed-number {
    font-size: 4rem;
    top: var(--space-md);
    right: var(--space-md);
  }
  
  .service-detailed-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .service-detailed-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .service-detailed-header h2 {
    font-size: 1.75rem;
  }
  
  .service-features-grid {
    grid-template-columns: 1fr;
  }
  
  .service-detailed-footer {
    flex-direction: column;
  }
  
  .service-detailed-footer .btn-primary,
  .service-detailed-footer .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .process-step {
    padding-left: 80px;
    padding-right: var(--space-lg);
  }
  
  .process-step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .service-detailed-card {
    padding: var(--space-lg);
  }
  
  .service-detailed-number {
    font-size: 3rem;
  }
  
  .services-cta-section .cta-buttons {
    flex-direction: column;
  }
  
  .services-cta-section .cta-buttons .btn-primary,
  .services-cta-section .cta-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
