/* URUNLER.CSS - E-TİCARET KATALOGU */

/* Hero Slider */


/* Kategoriler */
/* Hero Banner */
.products-hero {
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.3rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--accent-gold);
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255,152,0,0.4);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255,152,0,0.5);
}

/* Product Catalog */
.products-catalog {
  padding: 80px 0;
  background: var(--warm-white);
}

.category-section {
  margin-bottom: 80px;
}

.category-section:last-child {
  margin-bottom: 0;
}

.category-title {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 2.5rem;
  color: var(--dark-text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 700;
}

.category-title i {
  font-size: 3rem;
  color: var(--primary-green);
  background: rgba(45,90,39,0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.product-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-gold);
  color: white;
  padding: 8px 12px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(255,152,0,0.4);
  z-index: 2;
}

.badge.new {
  background: var(--primary-green);
}

.badge.economy {
  background: #28a745;
}

.product-info {
  padding: 2rem;
}

.product-info h3 {
  color: var(--primary-green);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.product-info p {
  color: var(--medium-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background: #25D366;
  color: white;
  padding: 1.2rem 2rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  justify-content: center;
  border: 2px solid #25D366;
}

.whatsapp-btn:hover {
  background: #128C7E;
  border-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37,211,102,0.5);
}

.add-cart-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  padding: 1.2rem 2rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(45,90,39,0.4);
  justify-content: center;
  border: 2px solid var(--primary-green);
  cursor: pointer;
  border: none;
}

.add-cart-btn:hover {
  background: var(--light-green);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(45,90,39,0.5);
}


/* Cart Panel & Floating Button */
.cart-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  z-index: 10000;
  transition: all 0.3s ease;
  display: none; /* JS ile göster */
}

.cart-float-btn.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #FF4444;
  color: white;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 300px;
  max-width: 400px;
  background: var(--primary-green, #28a745);
  color: white;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  z-index: 10002;
  transform: translateX(100%);
  opacity: 0;
  animation: notificationSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  font-size: 1rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.notification.success {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.notification.error {
  background: linear-gradient(135deg, #dc3545, #fd7e14);
}

.notification.info {
  background: linear-gradient(135deg, #17a2b8, #6f42c1);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.notification i {
  font-size: 1.3rem;
}

@keyframes notificationSlideIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes notificationSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.cart-overlay {
  position: fixed;

  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  position: fixed;
  right: -400px;
  top: 0;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  z-index: 10001;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.cart-panel.active {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  margin: 0;
  color: var(--primary-green);
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}

.cart-body {
  padding: 1.5rem;
}

.cart-empty {
  text-align: center;
  color: #999;
  padding: 3rem 1rem;
}

.cart-empty i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.cart-item-info {
  flex: 1;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.remove-btn {
  background: #FF4444;
  color: white;
  border-color: #FF4444;
}

.cart-footer {
  position: sticky;
  bottom: 0;
  background: white;
  padding: 1.5rem;
  border-top: 1px solid #eee;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.btn-checkout {
  background: #25D366;
  color: white;
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-clear {
  background: #FF6B6B;
  color: white;
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 10px;
  margin-top: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}

/* Responsive Cart */
@media (max-width: 480px) {
  .cart-panel {
    width: 100%;
    right: -100%;
  }
}

/* Responsive Grid */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .products-hero {
    padding: 60px 0;
  }
  
  .category-title {
    font-size: 2rem;
  }
  
  .category-title i {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}


@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .products-hero {
    padding: 60px 0;
  }
  
  .category-title {
    font-size: 2rem;
  }
  
  .category-title i {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}


/* FAQ */
.faq {
  padding: 80px 0;
  background: var(--soft-cream);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.faq-header {
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-header:hover {
  background: var(--warm-white);
}

.faq-header.active {
  background: var(--primary-green);
  color: white;
}

.faq-header i {
  transition: transform 0.3s ease;
}

.faq-header.active i {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-content.active {
  max-height: 300px;
  padding: 0 2rem 1.5rem;
}

.faq-text p {
  margin: 0;
  line-height: 1.7;
  color: var(--medium-text);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slider {
    height: 60vh;
    min-height: 400px;
  }
  
  .slider-title {
    font-size: 2rem !important;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
}

