/* Stain.spot - Premium Natural Cleaner Website Styles */

:root {
  --red: #C41E3A;
  --orange: #FF6B00;
  --yellow: #F4A300;
  --cream: #FFF8F0;
  --dark: #1A1A1A;
  --gray: #4B5563;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Logo treatment */
.logo-img {
  filter: drop-shadow(0 4px 6px rgb(0 0 0 / 0.1));
  transition: transform 0.2s ease;
}

.logo-img:hover {
  transform: scale(1.02);
}

/* Hero overlay */
.hero-overlay {
  background: linear-gradient(
    to bottom, 
    rgba(26, 26, 26, 0.35) 0%, 
    rgba(26, 26, 26, 0.55) 45%, 
    rgba(26, 26, 26, 0.75) 100%
  );
}

/* Product cards */
.product-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f1e7d9;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  border-color: #fed7aa;
}

.product-img {
  transition: transform 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

/* Buttons */
.btn-primary {
  background-color: var(--red);
  color: white;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: #9F1A2F;
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgb(196 30 58 / 0.3);
}

.btn-accent {
  background-color: var(--orange);
  color: white;
}

.btn-accent:hover {
  background-color: #E55A00;
}

.btn-ghost {
  background-color: transparent;
  color: var(--dark);
  border: 2px solid #e5d9c8;
}

.btn-ghost:hover {
  background-color: #f8f1e3;
  border-color: #d4c3a8;
}

/* Modal */
.modal {
  animation: modalPop 0.2s ease-out forwards;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Cart sidebar */
.cart-sidebar {
  box-shadow: -10px 0 30px -15px rgb(0 0 0 / 0.2);
}

/* Trust icons */
.trust-icon {
  transition: transform 0.2s ease;
}

.trust-icon:hover {
  transform: scale(1.1);
}

/* FAQ */
.faq-question {
  transition: all 0.2s ease;
}

.faq-question:hover {
  color: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 200px;
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
}

/* Testimonial cards */
.testimonial-card {
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

/* Toast notification */
.toast {
  animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Navbar */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--red);
  transition: width 0.2s ease;
}

.nav-link:hover:after {
  width: 100%;
}

/* Responsive product grid */
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}