/* ============================================
   MODERN SERVICES PAGE
   Clean, Card-Based Design
   ============================================ */

/* === PAGE SETUP === */
.services-page {
  background: var(--color-bg-primary);
}

/* === HERO SECTION === */
.services-hero {
  padding: var(--space-20) 0 var(--space-12);
  background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
  text-align: center;
  position: relative;
}

.services-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
}

.services-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.services-label {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  display: inline-block;
}

.services-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

.services-hero-description {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* === FEATURES SECTION === */
.services-features {
  padding: var(--space-20) 0;
  background: var(--color-bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--color-gold);
  transition: height 0.4s ease;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card ul {
  list-style: disc;
  margin-left: 20px;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--color-shadow-md);
  border-color: var(--color-gold);
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
  font-size: 32px;
  color: var(--color-white);
}

.feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.feature-card p {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}

/* === SERVICES GRID === */
.services-showcase {
  padding: var(--space-20) 0;
  background: var(--color-bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.section-description {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--color-shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--color-border-light);
  display: block;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px var(--color-shadow-md);
  border-color: var(--color-gold);
}

.service-image {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.service-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.7) 100%
  );
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-image::before {
  opacity: 1;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.service-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8);
  z-index: 2;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 var(--space-3);
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.service-card:hover h3 {
  transform: translateY(-4px);
}

.service-excerpt {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.service-card:hover .service-excerpt {
  opacity: 1;
  transform: translateY(0);
}

.service-tag {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--color-gold);
  color: var(--color-white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 3;
}

/* === CTA SECTION === */
.services-cta {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.services-cta::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.services-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  line-height: 1.2;
}

.services-cta p {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-8);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-10);
  background: var(--color-white);
  color: var(--color-gold);
  border: 2px solid var(--color-white);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background: transparent;
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

/* === FOOTER ENHANCEMENTS === */
.footer-description {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: var(--space-4) 0 var(--space-6);
  max-width: 280px;
}

.footer-column ul li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.footer-column ul li i {
  font-size: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.footer-column ul li span {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.footer-column ul li a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: var(--font-size-sm);
}

.footer-column ul li a:hover {
  color: var(--color-gold);
  transform: translateX(3px);
}

/* Improved footer social links */
.footer-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-hover);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  transition: all 0.3s ease;
  font-size: 18px;
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--color-shadow-md);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding: var(--space-12) 0 var(--space-8);
  }
  
  .services-features,
  .services-showcase {
    padding: var(--space-12) 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .service-image {
    height: 220px;
  }
  
  .services-cta {
    padding: var(--space-12) 0;
  }
  
  .services-cta::before,
  .services-cta::after {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .feature-card {
    padding: var(--space-6);
  }
  
  .service-content {
    padding: var(--space-6);
  }
  
  .cta-button {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-sm);
  }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-box {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.animate-box:nth-child(1) { animation-delay: 0.1s; }
.animate-box:nth-child(2) { animation-delay: 0.2s; }
.animate-box:nth-child(3) { animation-delay: 0.3s; }
.animate-box:nth-child(4) { animation-delay: 0.4s; }
.animate-box:nth-child(5) { animation-delay: 0.5s; }
.animate-box:nth-child(6) { animation-delay: 0.6s; }

