/* Additional styles for Partners and Product Detail pages */

/* Partners Page Specific Styles */
.partners-hero {
  background: linear-gradient(135deg, rgba(173, 216, 230, 0.8), rgba(255, 255, 255, 0.9));
  padding: 100px 0;
  text-align: center;
}

.partner-logo-card {
  background: rgba(173, 216, 230, 0.2);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.partner-logo-card:hover {
  background: rgba(173, 216, 230, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.partner-logo-card img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(50%);
  transition: filter 0.3s ease;
}

.partner-logo-card:hover img {
  filter: grayscale(0%);
}

/* Custom 5-column layout */
.col-lg-2-4 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 992px) {
  .col-lg-2-4 {
      flex: 0 0 20%;
      max-width: 20%;
  }
}

/* Product Detail Page Styles */
.product-detail-images {
  position: sticky;
  top: 100px;
}

.main-product-image {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-product-image img {
  max-height: 350px;
  max-width: 100%;
  object-fit: contain;
}

.product-thumbnails {
  align-items: center;
  margin-top: 20px;
}

.thumbnail-nav {
  background: #f8f9fa;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s ease;
  cursor: pointer;
}

.thumbnail-nav:hover {
  background: #ff6b35;
  color: white;
}

.thumbnails-container {
  gap: 10px;
  flex: 1;
  justify-content: center;
  margin: 0 20px;
}

.thumbnail-item {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

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

.thumbnail-item:hover {
  border-color: #ff6b35;
  opacity: 0.8;
}

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

/* Notification styles */
.notification {
  border-radius: 5px;
  padding: 15px 20px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Loading spinner */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #ff6b35;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive improvements */
@media (max-width: 768px) {
  .partner-logo-card {
      height: 100px;
      padding: 20px 15px;
  }
  
  .partner-logo-card img {
      max-height: 40px;
  }
  
  .product-detail-info {
      margin-top: 30px;
  }
  
  .thumbnails-container {
      margin: 0 10px;
  }
  
  .thumbnail-item {
      width: 50px;
      height: 50px;
  }
  
  .main-product-image {
      min-height: 300px;
  }
  
  .main-product-image img {
      max-height: 250px;
  }
}

/* Print styles */
@media print {
  .header, .footer, .thumbnail-nav, .btn {
      display: none !important;
  }
  
  .main-product-image {
      break-inside: avoid;
  }
}