/* styles.css */
/* Minimal custom CSS since we use Tailwind */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

/* Base fade-in animazioni da nascondere inizialmente (se non Javascript non attive) */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Animations Keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveling (Gestito da JS) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Setup Carousel Styles */
.carousel-slide {
  flex: 0 0 100%;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(98, 23, 23, 0.3); /* rustico-red con opacity */
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background-color: #621717;
  transform: scale(1.3);
}

/* Custom Scrollbar for a polished look */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #ece4e2;
}
::-webkit-scrollbar-thumb {
  background: #621717;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4a1111;
}
