/* ========================================
   UPDATED LAUNDRY EQUIPMENT STYLES WITH EXISTING IMAGE MODAL
   ======================================== */

/* Container Styles */
.laundry-simple-container {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  align-items: stretch;
}

/* Card Base Styles - Increased Height */
.laundry-simple-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  max-width: 360px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(0) scale(1);
}

.laundry-simple-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2981f9, #1e6fd8, #3858d6);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.laundry-simple-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 50px rgba(41, 129, 249, 0.2);
}

.laundry-simple-card:hover::before {
  transform: scaleX(1);
}

/* Image Wrapper - Clickable for Modal */
.simple-image-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  cursor: pointer; /* Added for modal functionality */
}

.simple-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1) contrast(1);
  cursor: pointer; /* Added for modal functionality */
}

.laundry-simple-card:hover .simple-product-image {
  transform: scale(1.1) rotate(1deg);
  filter: brightness(1.1) contrast(1.05);
}

/* Image Overlay - Uses Existing Modal System */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(41, 129, 249, 0.1) 0%, rgba(30, 111, 216, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.laundry-simple-card:hover .image-overlay {
  opacity: 1;
}

/* Content Styles - Increased Padding */
.simple-content {
  padding: 1.5rem;
  background: white;
  position: relative;
}

.simple-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  position: relative;
}

.simple-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2981f9, #1e6fd8);
  transition: width 0.4s ease;
}

.laundry-simple-card:hover .simple-title::after {
  width: 50px;
}

.simple-description {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  overflow: visible;
  text-overflow: initial;
  word-wrap: break-word;
  hyphens: auto;
}

/* Enhanced Button Styles - Slightly Larger */
.simple-quote-btn {
  background: linear-gradient(135deg, #2981f9 0%, #1e6fd8 100%);
  color: white;
  border: none;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(41, 129, 249, 0.2);
}

.simple-quote-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.simple-quote-btn:hover {
  background: linear-gradient(135deg, #1e6fd8 0%, #2981f9 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(41, 129, 249, 0.35);
}

.simple-quote-btn:hover::before {
  left: 100%;
}

.simple-quote-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(41, 129, 249, 0.3);
}

/* Success State */
.simple-quote-btn.success {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.simple-quote-btn.success:hover {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Loading State */
.simple-quote-btn.loading {
  opacity: 0.8;
  cursor: not-allowed;
  pointer-events: none;
}

.simple-quote-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================
   INTEGRATED IMAGE MODAL STYLES (FROM YOUR MAIN CODE)
   ======================================== */

/* Zoom Modal - Uses Your Existing System */
.zoom-modal-backdrop {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--modal-backdrop, rgba(26, 28, 32, 0.95));
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.zoom-modal-backdrop.active {
    display: flex !important;
    opacity: 1;
}

/* Modal Content Container */
.zoom-modal-content {
    background: var(--modal-content-bg, #ffffff);
    padding: 0;
    border-radius: 20px;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.4s ease-out;
    display: flex;
    flex-direction: column;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

@keyframes modalSlideIn {
    from { 
        opacity: 0;
        transform: scale(0.85) translateY(-30px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Image Container */
.zoom-modal-image-container {
    text-align: center;
    overflow: hidden;
    max-height: 75vh;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    margin: 10px;
    border-radius: 15px;
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: inset 0 2px 10px rgba(59, 130, 246, 0.05);
}

.zoom-modal-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: default;
}

/* Close Button - Matches Your Existing Style */
.zoom-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #fcfcf7;
    color: #1a202c;
    border: 2px solid rgba(248, 248, 243, 0.8);
    border-radius: 50%;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
    transition: all 0.3s ease;
}

.zoom-modal-close:hover {
    background: #f8f8f3;
    transform: scale(1.1);
}

/* Body Lock When Modal Open */
body.modal-open {
    overflow: hidden !important;
}

/* Card Stagger Animation */
.laundry-simple-card:nth-child(1) {
  animation-delay: 0.1s;
}

.laundry-simple-card:nth-child(2) {
  animation-delay: 0.2s;
}

.laundry-simple-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Coming Soon Sections - Keep Original Style */
.coming-soon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  min-height: 300px;
}

.enhanced-coming-soon-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(41, 129, 249, 0.2);
  box-shadow: 0 8px 32px rgba(41, 129, 249, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  max-width: 400px;
  width: 100%;
}

.enhanced-coming-soon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(41, 129, 249, 0.15);
  border-color: rgba(41, 129, 249, 0.3);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.coming-soon-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.coming-soon-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.brand-tag {
  background: rgba(41, 129, 249, 0.2);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(41, 129, 249, 0.3);
  transition: all 0.3s ease;
}

.brand-tag:hover {
  background: rgba(41, 129, 249, 0.3);
  transform: translateY(-2px);
}

.card-progress {
  background: rgba(255, 255, 255, 0.1);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2981f9, #1e6fd8);
  border-radius: 3px;
  width: 0%;
  transition: width 2s ease-out;
}

.progress-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Responsive Design Adjustments */
@media (max-width: 1024px) {
  .laundry-simple-container {
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .laundry-simple-card {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .laundry-simple-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }
  
  .laundry-simple-card {
    max-width: 100%;
  }
  
  .simple-image-wrapper {
    height: 160px;
  }
  
  .simple-content {
    padding: 1.25rem;
  }
  
  .simple-title {
    font-size: 1.15rem;
  }
  
  .simple-description {
    font-size: 0.85rem;
  }
  
  /* Modal Responsive */
  .zoom-modal-content {
    max-width: 95%;
    max-height: 95%;
  }
  
  .zoom-modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .laundry-simple-container {
    padding: 0.5rem;
  }
  
  .simple-image-wrapper {
    height: 140px;
  }
  
  .simple-content {
    padding: 1rem;
  }
  
  .coming-soon-container {
    padding: 2rem 1rem;
  }
  
  .enhanced-coming-soon-card {
    padding: 2rem 1.5rem;
  }
  
  /* Modal Mobile */
  .zoom-modal-content {
    max-width: 98%;
    max-height: 90%;
    margin: 0.5rem;
  }
  
  .zoom-modal-image {
    max-height: 70vh;
  }
}

/* Animation Classes */
.laundry-simple-card.animate-in {
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Pulse Animation for Loading */
@keyframes pulse {
  0%, 100% { 
    box-shadow: 0 0 0 0 rgba(41, 129, 249, 0.4); 
  }
  50% { 
    box-shadow: 0 0 0 10px rgba(41, 129, 249, 0); 
  }
}

.simple-quote-btn.loading {
  animation: pulse 2s infinite;
}

/* Accessibility */
.laundry-simple-card:focus-within {
  outline: 2px solid #2981f9;
  outline-offset: 2px;
}

.simple-quote-btn:focus {
  outline: 2px solid rgba(41, 129, 249, 0.5);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .laundry-simple-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .simple-quote-btn {
    display: none;
  }
  
  .zoom-modal-backdrop {
    display: none !important;
  }
}

/* Notification Styles */
.enhanced-notification .notification-icon {
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.enhanced-notification .notification-content {
  flex: 1;
}

.enhanced-notification .notification-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.enhanced-notification .notification-message {
  font-size: 0.8rem;
  opacity: 0.9;
}

.enhanced-notification .notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.enhanced-notification .notification-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
