/* Animation classes for elements */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

.slide-down {
  animation: slideDown 0.8s ease forwards;
}

.slide-left {
  animation: slideLeft 0.8s ease forwards;
}

.slide-right {
  animation: slideRight 0.8s ease forwards;
}

/* Animation for Products Card hover */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

/* Product card image container */
.product-card .h-56 {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CSS Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Mobile menu animations */
.mobile-menu-enter {
  animation: slideDown 0.3s ease forwards;
}

.mobile-menu-exit {
  animation: slideUp 0.3s ease forwards reverse;
}

/* Form focus effect */
input:focus, textarea:focus {
  transform: scale(1.01);
}

/* Product category buttons */
.category-btn {
  transition: all 0.3s ease;
}

.category-btn:hover {
  transform: scale(1.05);
}

.category-btn:active {
  transform: scale(0.95);
}

/* Toast notification animation */
.toast-enter {
  transform: translateX(0);
}

.toast-exit {
  transform: translateX(400px);
}

/* Carousel/Lightbox animation */
.carousel-item {
  transition: opacity 0.5s ease;
}

/* Lightbox zoom animation */
.lightbox-zoom {
  animation: zoom 0.3s ease forwards;
}

@keyframes zoom {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Scroll animation for hero parallax */
.parallax-scroll {
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Bounce animation for scroll indicator */
.bounce {
  animation: bounce 1.5s infinite;
}

/* Scroll-to-top button fade in/out */
.scroll-to-top-show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-to-top-hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Input focus within effect for form fields */
.input-group:focus-within label {
  color: var(--color-primary);
  transform: translateY(-2px);
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Semi-transparent navbar styles */
.navbar-transparent {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-opaque {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
}

/* Mobile menu background */
.mobile-menu-bg {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* Contact information items */
.contact-info-item {
  flex: 1 1 22%;
  margin-bottom: 1rem;
}
