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

.page-hero {
  padding: clamp(4rem, 10vw, 8rem) 5vw;
  text-align: left;
  position: relative;
  min-height: 55vh;
  background:
    linear-gradient(90deg,
      var(--color-void) 0%,
      rgba(10, 12, 16, 0.92) 30%,
      rgba(10, 12, 16, 0.55) 65%,
      rgba(10, 12, 16, 0.25) 100%
    ),
    url('../assets/service.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.services-hero {
  padding: var(--space-3xl) 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color-void) 0%, var(--color-deep) 50%, rgba(19, 21, 32, 0.95) 100%);
  border-bottom: 1px solid var(--color-border);
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--color-off-white);
  margin-bottom: var(--space-lg);
  font-weight: 800;
}

.services-hero p {
  color: var(--color-slate);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Services Grid */
.services-section {
  padding: var(--space-3xl) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 450px;
  height: 100%;
  background: linear-gradient(135deg, var(--color-deep) 0%, var(--color-surface) 100%);
}

.service-card:nth-child(1) {
  background: linear-gradient(135deg, #1a1f2e 0%, #2a3445 100%);
  border-color: rgba(200, 169, 110, 0.4);
}

.service-card:nth-child(2) {
  background: linear-gradient(135deg, #1f2635 0%, #2c3a4a 100%);
  border-color: rgba(200, 169, 110, 0.35);
}

.service-card:nth-child(3) {
  background: linear-gradient(135deg, #1b1f2b 0%, #28323d 100%);
  border-color: rgba(200, 169, 110, 0.3);
}

.service-card:nth-child(4) {
  background: linear-gradient(135deg, #1f2a35 0%, #2b3d4d 100%);
  border-color: rgba(200, 169, 110, 0.4);
}

.service-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(200, 169, 110, 0.1);
}

.service-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-gold);
  position: absolute;
  top: var(--space-lg);
  right: var(--space-2xl);
  opacity: 0.2;
  font-family: var(--font-display);
}

.service-card h3 {
  color: var(--color-off-white);
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  margin-top: var(--space-md);
}

.service-card p {
  color: var(--color-slate);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.service-features li {
  color: var(--color-slate);
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  font-size: 0.9rem;
}

.service-features li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 0.8rem;
}

.btn-learn-more {
  background: var(--color-gold);
  color: var(--color-void);
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  align-self: flex-start;
}

.btn-learn-more:hover {
  background: var(--color-gold-light);
  color: var(--color-void);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 169, 110, 0.4);
}

/* CTA Section */
.services-cta {
  padding: var(--space-3xl) 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.08) 0%, rgba(205, 220, 57, 0.05) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.services-cta h2 {
  margin-bottom: var(--space-lg);
  color: var(--color-off-white);
}

.services-cta p {
  color: var(--color-slate);
  font-size: 1rem;
  margin-bottom: var(--space-2xl);
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: var(--space-lg);
  }

  .service-card {
    min-height: 400px;
  }
}

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

  .service-card {
    min-height: auto;
  }

  .services-hero h1 {
    font-size: 2rem;
  }

  .service-number {
    font-size: 2.5rem;
    top: var(--space-md);
    right: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .services-hero {
    padding: var(--space-2xl) 0;
    min-height: 30vh;
  }

  .services-section {
    padding: var(--space-2xl) 0;
  }

  .services-grid {
    gap: var(--space-lg);
  }

  .service-card {
    padding: var(--space-lg);
  }

  .btn-learn-more {
    width: 100%;
    text-align: center;
  }
}

/* Override page-hero title for services page */
.page-hero__title {
  font-family: 'Space Grotesk', 'Arial Black', Impact, sans-serif;
}