/* services.css - CLASS ÇAKIŞMASI DÜZELTİLDİ */

/* Ana container */
#services.services-section {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  padding: 6rem 0 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
  z-index: 1;
  display: flex;
  align-items: center;
}

#services .services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Header */
#services .services-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

#services .services-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  opacity: 0;
  animation: servicesSlideUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

#services .services-number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #0061EF;
  margin-right: 0.8rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid #0061EF;
  border-radius: 2px;
  background: rgba(0, 97, 239, 0.1);
}

#services .services-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
}

#services .services-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffffff;
  opacity: 0;
  animation: servicesSlideUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

#services .title-word {
  display: inline-block;
  margin-right: 0.3em;
  position: relative;
  color: #ffffff;
}

#services .title-word.highlight {
  background: linear-gradient(90deg, #0061EF, #A71623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#services .services-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: servicesSlideUp 0.8s ease forwards;
  animation-delay: 0.6s;
  white-space: nowrap;
}

/* 3D Carousel */
#services .services-carousel {
  position: relative;
  margin: 3rem 0 2rem;
  perspective: 1200px;
}

#services .carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  transform-style: preserve-3d;
}

#services .carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
}

#services .service-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 350px;
  height: 400px;
  margin-left: -175px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
  cursor: pointer;
  opacity: 0.6;
  scale: 0.8;
}

#services .service-slide.active {
  opacity: 1;
  scale: 1;
  z-index: 10;
}

#services .service-slide.prev {
  transform: translateX(-320px) rotateY(30deg);
  opacity: 0.4;
  scale: 0.7;
}

#services .service-slide.next {
  transform: translateX(320px) rotateY(-30deg);
  opacity: 0.4;
  scale: 0.7;
}

#services .service-slide.far-prev {
  transform: translateX(-550px) rotateY(40deg);
  opacity: 0.2;
  scale: 0.6;
}

#services .service-slide.far-next {
  transform: translateX(550px) rotateY(-40deg);
  opacity: 0.2;
  scale: 0.6;
}

/* SERVICE SLIDE BG */
#services .service-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* SERVICE SLIDE CONTENT */
#services .service-slide-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  overflow: hidden;
  box-sizing: border-box;
}

#services .service-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  z-index: 10;
}

#services .service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

#services .service-icon svg {
  width: 30px;
  height: 30px;
}

/* Renk Varyasyonları */
#services .service-slide[data-color="#A71623"] .service-icon {
  background: linear-gradient(135deg, #A71623, rgba(167, 22, 35, 0.3));
}

#services .service-slide[data-color="#0061EF"] .service-icon {
  background: linear-gradient(135deg, #0061EF, rgba(0, 97, 239, 0.3));
}

#services .service-slide[data-color="#FFA1CC"] .service-icon {
  background: linear-gradient(135deg, #FFA1CC, rgba(255, 161, 204, 0.3));
}

#services .service-slide[data-color="#FFCE00"] .service-icon {
  background: linear-gradient(135deg, #FFCE00, rgba(255, 206, 0, 0.3));
  color: #0A0A0A;
}

#services .service-slide[data-color="#3B197F"] .service-icon {
  background: linear-gradient(135deg, #3B197F, rgba(59, 25, 127, 0.3));
}

#services .service-slide[data-color="#02873E"] .service-icon {
  background: linear-gradient(135deg, #02873E, rgba(2, 135, 62, 0.3));
}

#services .service-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.8rem;
  line-height: 1.25;
  flex-shrink: 0;
  width: 100%;
}

#services .service-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.2rem;
  flex: 1;
  width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

#services .service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0;
  flex-shrink: 0;
  width: 100%;
}

#services .feature {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Carousel Navigation */
#services .carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
  opacity: 0;
  animation: servicesSlideUp 0.8s ease forwards;
  animation-delay: 1s;
}

#services .nav-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
}

#services .nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

#services .carousel-dots {
  display: flex;
  gap: 0.8rem;
}

#services .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

#services .dot.active {
  background: #0061EF;
  transform: scale(1.2);
  box-shadow: 0 0 12px #0061EF;
}

/* === SERVICES FOOTER - DÜZELTİLDİ === */
#services .services-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: servicesSlideUp 0.8s ease forwards;
  animation-delay: 1.2s;
  flex-wrap: wrap;
  gap: 2rem;
}

/* ✅ YENİ: .services-stats (eski .footer-stats) */
#services .services-stats {
  display: flex;
  gap: 3rem;
  align-items: center;
}

#services .services-stats .stat {
  text-align: center;
  position: relative;
}

#services .services-stats .stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

#services .services-stats .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #0061EF;
  margin-bottom: 0.3rem;
  line-height: 1;
}

#services .services-stats .stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

#services .footer-cta {
  display: flex;
  align-items: center;
}

#services .footer-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #0061EF, #A71623);
  color: #ffffff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

#services .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 97, 239, 0.4);
}

#services .btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

#services .cta-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Arka Plan Efektleri */
#services .bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#services .floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.1;
}

#services .shape-1 {
  width: 250px;
  height: 250px;
  background: #0061EF;
  top: 10%;
  right: 10%;
  animation: servicesFloat 8s ease-in-out infinite;
}

#services .shape-2 {
  width: 180px;
  height: 180px;
  background: #A71623;
  bottom: 15%;
  left: 15%;
  animation: servicesFloat 6s ease-in-out infinite reverse;
}

#services .shape-3 {
  width: 130px;
  height: 130px;
  background: #FFA1CC;
  top: 50%;
  right: 20%;
  animation: servicesFloat 7s ease-in-out infinite;
}

/* Slide Animasyon Class'ları */
.slide-animate-hidden {
  opacity: 0 !important;
  transform: translateY(20px) !important;
}

.slide-animate-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Animasyonlar */
@keyframes servicesSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes servicesFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) rotate(5deg);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  #services .services-title {
    font-size: 2.5rem;
  }
  
  #services .service-slide {
    width: 320px;
    margin-left: -160px;
  }
  
  #services .services-description {
    white-space: normal;
  }
}

/* MOBİL - 768px */
@media (max-width: 768px) {
  #services.services-section {
    padding: 5rem 0 2rem;
    height: auto;
    min-height: 100vh;
  }
  
  #services .services-title {
    font-size: 2rem;
  }
  
  #services .services-description {
    white-space: normal;
  }
  
  #services .services-carousel {
    margin: 2rem 0 1.5rem;
  }
  
  #services .carousel-container {
    height: 350px;
  }
  
  #services .service-slide {
    width: 290px;
    height: 350px;
    margin-left: -145px;
  }
  
  #services .service-slide-content {
    padding: 1rem 1.3rem !important;
    gap: 0.7rem !important;
  }
  
  #services .service-number {
    top: 0.7rem !important;
    right: 0.7rem !important;
    font-size: 0.7rem !important;
  }
  
  #services .service-icon {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 0 !important;
  }
  
  #services .service-icon svg {
    width: 24px !important;
    height: 24px !important;
  }
  
  #services .service-title {
    font-size: 1.1rem !important;
    margin-bottom: 0 !important;
  }
  
  #services .service-desc {
    font-size: 0.75rem !important;
    -webkit-line-clamp: 2 !important;
  }
  
  #services .service-features {
    gap: 0.35rem !important;
  }
  
  #services .feature {
    font-size: 0.68rem !important;
    padding: 0.28rem 0.7rem !important;
  }
  
  #services .services-footer {
    flex-direction: column;
    text-align: center;
  }
  
  #services .services-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  #services .services-stats .stat::after {
    display: none;
  }
}