/* Custom CSS for Dovima Website */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* FAQ accordion animation */
.faq-toggle i {
  transition: transform 0.3s ease;
}

.faq-toggle.active i {
  transform: rotate(180deg);
}

/* Carousel transitions */
#carousel-inner {
  transition: transform 0.5s ease-in-out;
}

/* Form focus states */
input:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Back to top button hover */
#back-to-top:hover {
  transform: translateY(-3px);
}

/* Buy button pulse animation */
.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-pulse:hover {
  animation: none;
}

/* Mobile menu animation */
#mobile-menu {
  transition: max-height 0.3s ease;
  overflow: hidden;
}

/* Loading state for form */
.loading {
  pointer-events: none;
  opacity: 0.7;
}

/* Image hover effects */
.hover-zoom {
  transition: transform 0.3s ease;
}

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

/* Table responsive styling */
@media (max-width: 640px) {
  table {
    font-size: 14px;
  }
  
  table th,
  table td {
    padding: 8px;
  }
}

/* Print styles */
@media print {
  .fixed,
  #mobile-menu-btn,
  #back-to-top,
  .buy-btn {
    display: none !important;
  }
  
  main {
    padding-top: 0 !important;
  }
}
