body {
  @apply custom-scrollbar;
}
  
 body.nav-fixed {
    padding-top: 80px; /* nav-in hündürlüyü */
    transition: padding-top 0.3s ease;
}

/* modal acilib baglanmasi */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.70); }
    to { opacity: 1; transform: scale(1); }
}
.animate-fadeIn {
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.70); }
}
.animate-fadeOut {
    animation: fadeOut 0.3s ease-in forwards;
}


/* scroll top */
/* Sound Wave Animation */
@keyframes sound-wave {
  0% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 0 rgba(255, 201, 0, 0.7);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 20px rgba(63, 63, 63, 0);
  }
}

/* Arrow Popup Animation */
@keyframes arrow-popup {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  15% {
    transform: translateY(-30px);
    opacity: 0;
  }
  30% {
    transform: translateY(30px);
    opacity: 0;
  }
  45% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Scroll Top Button Styles */
.scroll-top-button {
  position: relative;
  /* digər üslublar */
}

.scroll-top-button:hover::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: sound-wave 1s ease-out 1;
  pointer-events: none;
}

.hover-arrow {
  /* əgər lazım olarsa üslublar */
  display: inline-block;
}

.scroll-top-button:hover .hover-arrow {
  animation: arrow-popup 2s ease-in-out infinite;
}



/* İnce scrollbar stili */
.custom-scrollbar::-webkit-scrollbar {
  width: 3px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-button {
  display: none;
}



/* carusel */
.swiper-pagination-bullet {
  background-color: #333333;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
  background-color: #ffc900;
  width: 25px !important;
}


/* loading */
@keyframes spin-reverse {
from {
    transform: rotateX(0deg);
}
to {
    transform: rotateY(360deg);
}
}

.animate-spin-reverse {
animation: spin-reverse 0.6s linear infinite;
backface-visibility: hidden;
}