.hero-section {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  text-align: center;
}

.hero-text {
  margin-bottom: 50px;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 25px;
  letter-spacing: 1px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-text p {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 0;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Product Slider - Yan Yana Görünüm */
.product-slider-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.product-slider {
  position: relative;
  padding: 30px 60px;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* Başlangıçta slider'ı gizle */
.product-slider.loading {
  opacity: 0;
}

/* Loading sırasında transition'ları devre dışı bırak */
.product-slider.loading .product-slides {
  transition: none;
}

.product-slider.loading .product-slide {
  transition: none;
}

.product-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 0;
  width: fit-content;
}

.product-slide {
  flex: 0 0 300px;
  height: 480px;
  transition: all 0.5s ease;
  opacity: 0.4;
  transform: scale(0.85);
  position: relative;
  z-index: 1;
}

.product-slide.active {
  opacity: 0.5;
  transform: scale(0.85);
  z-index: 3;
}

.product-slide.adjacent {
  opacity: 70;
  transform: scale(1);
  z-index: 2;
}

.product-card {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-slide.active .product-card {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-slide.adjacent .product-card {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  background: #ff6b35;
  color: white;
}

.product-badge.new {
  background: #28a745;
}

.product-badge.out-of-stock {
  background: #dc3545;
  color: white;
  font-weight: 700;
}

/* Stokta olmayan ürün kartları için stil */
.product-card:has(.product-badge.out-of-stock) {
  opacity: 0.8;
}

.product-card:has(.product-badge.out-of-stock) .product-image img {
  filter: grayscale(30%);
}

.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  line-height: 1.3;
}

.product-info p {
  color: #666;
  line-height: 1.4;
  margin-bottom: 12px;
  font-size: 13px;
  flex: 1;
}

.product-features {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.product-features span {
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 11px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-features i {
  color: #2563eb;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 15px;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.period {
  color: #666;
  font-size: 12px;
}

.add-to-cart-btn {
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  border: none;
  padding: 12px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Stokta yok buton stilleri */
.add-to-cart-btn.out-of-stock {
  background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
  color: #ffffff;
  cursor: not-allowed;
  opacity: 0.7;
}

.add-to-cart-btn.out-of-stock:hover {
  transform: none;
  box-shadow: none;
  background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

/* Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: #2563eb;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-nav.prev {
  left: 10px;
}

.slider-nav.next {
  right: 10px;
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: white;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* CTA Buttons */
.cta-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.cta-buttons button {
  padding: 15px 30px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1a1a;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.cta-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
  }
  
  /* Mobile Product Slider */
  .product-slider {
    padding: 20px 20px;
    overflow: hidden;
  }
  
  .product-slides {
    display: flex;
    transition: none; /* Mobilde transform yok */
    gap: 0;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    width: 100%;
    position: relative;
  }
  
  .product-slide {
    flex: 0 0 100%;
    height: 400px;
    display: none; /* Tüm slide'ları gizle */
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateX(100%);
    position: relative;
    width: calc(100% - 40px);
    left: 1px;
  }
  
  .product-slide.active {
    display: flex; /* Sadece aktif slide'ı göster */
    opacity: 1;
    transform: translateX(0);
    z-index: 3;
  }
  
  .product-slide.adjacent {
    display: none; /* Adjacent slide'ları da gizle */
    opacity: 0;
    transform: translateX(100%);
  }
  
  .product-card {
    width: 100%;
    max-width: 280px;
    height: 380px;
    margin: 0 auto;
  }
  
  .product-image {
    height: 160px;
  }
  
  .product-info {
    padding: 15px;
  }
  
  .product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  
  .product-info p {
    font-size: 12px;
    margin-bottom: 10px;
  }
  
  .product-features span {
    font-size: 10px;
    padding: 3px 6px;
  }
  
  .product-price .price {
    font-size: 1.3rem;
  }
  
  .add-to-cart-btn {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  /* Mobile Navigation */
  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .slider-nav.prev {
    left: 5px;
  }
  
  .slider-nav.next {
    right: 5px;
  }
  
  /* Mobile Dots */
  .slider-dots {
    margin-top: 20px;
    gap: 8px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  /* Mobile CTA */
  .cta-buttons button {
    padding: 12px 25px;
    font-size: 14px;
  }
}