/* Ürün Detay Sayfası - Kurumsal Basit Tasarım */

.product-detail-page {
  background-color: #f8f9fa;
}

/* Breadcrumb Section */
.breadcrumb-section {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: #6c757d;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: #495057;
}

.breadcrumb-item.active {
  color: #212529;
}

/* Product Detail Section */
.product-detail-section {
  padding: 40px 0;
}

.product-images-wrapper {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
  position: sticky;
  top: 20px;
}

.product-image-clickable {
  transition: transform 0.2s ease;
}

.product-image-clickable:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.thumbnail-image-clickable {
  transition: transform 0.2s ease;
}

.thumbnail-image-clickable:hover {
  transform: scale(1.1);
}

.main-product-image {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
}

.main-product-image img {
  max-height: 500px;
  object-fit: contain;
}

.product-thumbnails {
  margin-top: 1rem;
}

.thumbnail-item {
  width: 80px;
  height: 80px;
  cursor: pointer;
  border: 2px solid #dee2e6;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s ease;
  background: #fff;
}

.thumbnail-item:hover {
  border-color: #667eea;
  transform: scale(1.05);
}

.thumbnail-item.active {
  border-color: #667eea;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info-wrapper {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 2rem;
  height: fit-content;
}

.product-info-wrapper h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1.5rem;
}

.product-description {
  color: #495057;
  line-height: 1.8;
}

.product-description h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 1rem;
}

.product-actions .btn {
  border-radius: 6px;
  font-weight: 500;
  padding: 12px 24px;
}

.product-actions .btn-primary {
  background-color: #667eea;
  border-color: #667eea;
}

.product-actions .btn-primary:hover {
  background-color: #5568d3;
  border-color: #5568d3;
}

.product-actions .btn-outline-secondary {
  border-color: #6c757d;
  color: #6c757d;
}

.product-actions .btn-outline-secondary:hover {
  background-color: #6c757d;
  border-color: #6c757d;
  color: #fff;
}

/* Product Features */
.product-features {
  border-top: 1px solid #e9ecef;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.feature-item {
  padding: 8px 0;
  color: #6c757d;
}

.feature-item i {
  font-size: 1rem;
}

.feature-item span {
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .product-images-wrapper {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }

  .main-product-image img {
    max-height: 300px !important;
  }

  .product-info-wrapper {
    padding: 1.5rem;
  }

  .product-info-wrapper h1 {
    font-size: 1.5rem;
  }

  .thumbnail-item {
    width: 60px;
    height: 60px;
  }
}

/* Modal Styles */
#orderModal .modal-content {
  border-radius: 8px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#orderModal .modal-header {
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 1.25rem 1.5rem;
}

#orderModal .modal-title {
  color: #212529;
  font-size: 1.25rem;
}

#orderModal .modal-body {
  padding: 1.5rem;
}

#orderModal .form-label {
  color: #495057;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

#orderModal .form-control {
  border-radius: 6px;
  border: 1px solid #ced4da;
  padding: 10px 15px;
  font-size: 0.95rem;
}

#orderModal .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

#orderModal .modal-footer {
  border-top: 1px solid #dee2e6;
  padding: 1rem 1.5rem;
}

#orderModal .btn-success {
  background-color: #25d366;
  border-color: #25d366;
}

#orderModal .btn-success:hover {
  background-color: #20ba5a;
  border-color: #20ba5a;
}

@media (max-width: 576px) {
  .product-detail-section {
    padding: 30px 0;
  }

  .product-images-wrapper,
  .product-info-wrapper {
    padding: 1rem;
  }

  .product-info-wrapper h1 {
    font-size: 1.25rem;
  }

  #orderModal .modal-body {
    padding: 1rem;
  }
}

/* Image Modal Styles */
#imageModal .modal-content {
  background: transparent;
  border: none;
}

#imageModal .modal-header {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1055;
  border: none;
  padding: 0;
}

#imageModal .btn-close {
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  opacity: 1;
  padding: 0;
}

#imageModal .btn-close:hover {
  background-color: rgba(0,0,0,0.7);
}

#imageModal .modal-body {
  padding: 0;
  background: rgba(0,0,0,0.8);
  border-radius: 8px;
}

#imageModal #modalImage {
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

#imageModal .modal-dialog {
  max-width: 90%;
}

@media (max-width: 768px) {
  #imageModal .modal-dialog {
    max-width: 95%;
  }
  
  #imageModal #modalImage {
    max-height: 70vh !important;
  }
}

