/* Hero Slider - Bağımsız Platform Renkli Slider CSS */

/* Hero Slideshow Container */
.hero-slideshow {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* Hero Slides Wrapper - Ana Container */
.hero-slides-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 500px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.8s ease;
}

/* Modern Pattern Background for All Platforms */
.hero-slides-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    linear-gradient(45deg, 
      rgba(255, 255, 255, 0.03) 25%, 
      transparent 25%, 
      transparent 50%, 
      rgba(255, 255, 255, 0.03) 50%, 
      rgba(255, 255, 255, 0.03) 75%, 
      transparent 75%
    );
  background-size: 60px 60px, 80px 80px, 20px 20px;
  z-index: 1;
}

/* Platform Renkleri - Class Tabanlı */
.hero-slides-wrapper.platform-android {
  background: linear-gradient(135deg, #a8e6cf 0%, #3d8b37 100%) !important;
}

.hero-slides-wrapper.platform-android::after {
  background: 
    radial-gradient(circle at 25% 25%, rgba(61, 139, 55, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(168, 230, 207, 0.15) 0%, transparent 50%),
    linear-gradient(45deg, 
      rgba(255, 255, 255, 0.08) 25%, 
      transparent 25%, 
      transparent 50%, 
      rgba(255, 255, 255, 0.08) 50%, 
      rgba(255, 255, 255, 0.08) 75%, 
      transparent 75%
    );
  background-size: 60px 60px, 80px 80px, 15px 15px;
}

.hero-slides-wrapper.platform-ios {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%) !important;
}

.hero-slides-wrapper.platform-ios::after {
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 154, 158, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(254, 207, 239, 0.15) 0%, transparent 50%),
    linear-gradient(45deg, 
      rgba(255, 255, 255, 0.08) 25%, 
      transparent 25%, 
      transparent 50%, 
      rgba(255, 255, 255, 0.08) 50%, 
      rgba(255, 255, 255, 0.08) 75%, 
      transparent 75%
    );
  background-size: 50px 50px, 70px 70px, 18px 18px;
}

.hero-slides-wrapper.platform-smart-tv {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.hero-slides-wrapper.platform-smart-tv::after {
  background: 
    radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
    linear-gradient(45deg, 
      rgba(255, 255, 255, 0.08) 25%, 
      transparent 25%, 
      transparent 50%, 
      rgba(255, 255, 255, 0.08) 50%, 
      rgba(255, 255, 255, 0.08) 75%, 
      transparent 75%
    );
  background-size: 65px 65px, 85px 85px, 22px 22px;
}

.hero-slides-wrapper.platform-firestick {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%) !important;
}

.hero-slides-wrapper.platform-firestick::after {
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 107, 107, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(238, 90, 36, 0.15) 0%, transparent 50%),
    linear-gradient(45deg, 
      rgba(255, 255, 255, 0.08) 25%, 
      transparent 25%, 
      transparent 50%, 
      rgba(255, 255, 255, 0.08) 50%, 
      rgba(255, 255, 255, 0.08) 75%, 
      transparent 75%
    );
  background-size: 45px 45px, 65px 65px, 16px 16px;
}

.hero-slides-wrapper.platform-roku {
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%) !important;
}

.hero-slides-wrapper.platform-roku::after {
  background: 
    radial-gradient(circle at 25% 25%, rgba(108, 92, 231, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(162, 155, 254, 0.15) 0%, transparent 50%),
    linear-gradient(45deg, 
      rgba(255, 255, 255, 0.08) 25%, 
      transparent 25%, 
      transparent 50%, 
      rgba(255, 255, 255, 0.08) 50%, 
      rgba(255, 255, 255, 0.08) 75%, 
      transparent 75%
    );
  background-size: 55px 55px, 75px 75px, 20px 20px;
}

.hero-slides-wrapper.platform-web {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%) !important;
}

.hero-slides-wrapper.platform-web::after {
  background: 
    radial-gradient(circle at 25% 25%, rgba(116, 185, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(9, 132, 227, 0.15) 0%, transparent 50%),
    linear-gradient(45deg, 
      rgba(255, 255, 255, 0.08) 25%, 
      transparent 25%, 
      transparent 50%, 
      rgba(255, 255, 255, 0.08) 50%, 
      rgba(255, 255, 255, 0.08) 75%, 
      transparent 75%
    );
  background-size: 60px 60px, 80px 80px, 18px 18px;
}

/* Data Attribute Tabanlı Renkler (Yedek) */
.hero-slides-wrapper[data-platform="android"] {
  background: linear-gradient(135deg, #a8e6cf 0%, #3d8b37 100%) !important;
}

.hero-slides-wrapper[data-platform="ios"] {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%) !important;
}

.hero-slides-wrapper[data-platform="smart-tv"] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.hero-slides-wrapper[data-platform="firestick"] {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%) !important;
}

.hero-slides-wrapper[data-platform="roku"] {
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%) !important;
}

.hero-slides-wrapper[data-platform="web"] {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%) !important;
}

/* Vertical Lines Animation on Right */
.hero-slides-wrapper::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 100px;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.1) 0px,
    rgba(255, 255, 255, 0.1) 2px,
    transparent 2px,
    transparent 20px
  );
  animation: slideVertical 3s linear infinite;
  z-index: 1;
}

@keyframes slideVertical {
  0% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Hero Slide */
.hero-slide {
  display: none;
  padding: 80px 60px;
  min-height: 500px;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.hero-slide.active {
  display: block;
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Slide Inner Container */
.hero-slide-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Slide Media */
.hero-slide-media {
  flex: 0 0 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-slide-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Slide Content */
.hero-slide-content {
  flex: 1;
  text-align: left;
}

.hero-slide-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-slide-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-slide-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hero Slide Actions */
.hero-slide-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #ffffff !important;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-slide-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Slide Dots Navigation - Modern Design */
.hero-slide-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
  padding: 12px 20px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hero-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 0;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.hero-dot:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

.hero-dot.active {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.hero-dot.active::before {
  opacity: 1;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 1);
}

/* Responsive Design */
@media (max-width: 880px) {
  .hero-slide-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .hero-slide {
    padding: 60px 40px;
  }
  
  .hero-slides-wrapper::before {
    width: 60px;
  }
  
  .hero-slide-media {
    flex: 0 0 200px;
  }
  
  .hero-slide-title {
    font-size: 2.2rem;
  }
  
  .hero-slide-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 640px) {
  .hero-slideshow {
    padding: 10px;
  }
  
  .hero-slide {
    padding: 40px 20px;
  }
  
  .hero-slides-wrapper {
    min-height: 400px;
  }
  
  .hero-slide-title {
    font-size: 1.8rem;
  }
  
  .hero-slide-subtitle {
    font-size: 1rem;
  }
  
  .hero-slide-description {
    font-size: 0.95rem;
  }
  
  .hero-slide-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}
