/* ============================================
   HİZMETLERİMİZ BÖLÜMÜ - PREMIUM & ELITE DESIGN
   ============================================ */

.services-section {
  position: relative;
  padding: 8rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

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

.services-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  position: relative;
  letter-spacing: -0.02em;
}

.services-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  border-radius: 2px;
}

.underline {
  width: 120px;
  height: 3px;
  margin: 1.5rem auto 3rem;
  background: linear-gradient(90deg, transparent, #D4AF37, #22c55e, #D4AF37, transparent);
  border-radius: 2px;
  position: relative;
}

.underline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #D4AF37;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.services-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #64748b;
  max-width: 700px;
  margin: 0 auto 4rem;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 1rem 0;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.08),
    0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D4AF37, #22c55e, #D4AF37);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 30px 40px -10px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(212, 175, 55, 0.1);
}

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

.service-img {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.service-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.service-card:hover .service-img::after {
  opacity: 1;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1) saturate(1);
}

.service-card:hover .service-img img {
  transform: scale(1.15) rotate(1deg);
  filter: brightness(1.1) saturate(1.2);
}

.service-content {
  padding: 2rem;
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  text-align: left;
}

.service-content h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-card:hover .service-content h3 {
  color: #D4AF37;
}

.service-content p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-weight: 400;
}

.service-content a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #D4AF37;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1rem);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}

.service-content a::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #D4AF37, #22c55e);
  transition: width 0.3s ease;
}

.service-content a:hover {
  color: #22c55e;
  gap: 0.75rem;
}

.service-content a:hover::before {
  width: 100%;
}

.service-content a::after {
  content: '→';
  font-size: 1.2em;
  transition: transform 0.3s ease;
  display: inline-block;
}

.service-content a:hover::after {
  transform: translateX(4px);
}

.services-grid .service-card:last-child {
  grid-column: span 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .services-section {
    padding: 6rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .service-img {
    height: 260px;
  }
}

/* Mobil (max-width: 767px) */
@media (max-width: 767px) {
  .services-section {
    padding: 4rem 1rem;
  }

  .services-container {
    padding: 0;
  }

  .services-title {
    margin-bottom: 0.75rem;
  }

  .services-title::after {
    width: 60px;
    height: 3px;
    bottom: -8px;
  }

  .underline {
    width: 80px;
    margin: 1rem auto 2rem;
  }

  .services-subtitle {
    margin-bottom: 3rem;
    padding: 0 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0.5rem 0;
  }

  .service-card {
    border-radius: 20px;
  }

  .service-card:hover {
    transform: translateY(-8px) scale(1.01);
  }

  .service-img {
    height: 240px;
  }

  .service-content {
    padding: 1.5rem;
  }

  .services-grid .service-card:last-child {
    grid-column: span 1;
  }
}

/* Küçük Mobil (max-width: 480px) */
@media (max-width: 480px) {
  .services-section {
    padding: 3rem 0.75rem;
  }

  .service-img {
    height: 220px;
  }

  .service-content {
    padding: 1.25rem;
  }
}

/* Büyük Ekranlar (min-width: 1400px) */
@media (min-width: 1400px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .service-img {
    height: 300px;
  }
}

/* Ultra Geniş Ekranlar (min-width: 1920px) */
@media (min-width: 1920px) {
  .services-container {
    max-width: 1600px;
  }

  .services-grid {
    gap: 3.5rem;
  }
}

/* Yüksek Çözünürlük ve Retina Ekranlar için */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-img img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Animasyonlar için performans optimizasyonu */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-img img,
  .service-content a,
  .service-card::before {
    transition: none;
  }

  .service-card:hover {
    transform: none;
  }
}
