/* ---------------------- */
/*        NAVBAR         */
/* ---------------------- */
#navbar {
  transition: all 0.3s ease;
}
.nav-link {
  position: relative;
  display: inline-block;
  color: #000;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #ff8c00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover {
  color: #ff8c00;
}
.nav-link:hover::after {
  transform: scaleX(1);
}
.nav-link.hover-left::after {
  transform-origin: left;
}
.nav-link.hover-right::after {
  transform-origin: right;
}
#navbar.scrolled {
  background-image: linear-gradient(to right, #ff8c00, #000);
  box-shadow: 0 4px 10px #00000074;
}
#navbar.scrolled .nav-link {
  color: #fff;
}
#navbar.scrolled .nav-link:hover {
  color: #ff8c00;
}
.lg\:hidden {
  display: block;
}

/* ---------------------- */
/*     LOGO CAROUSEL     */
/* ---------------------- */
.logo-carousel-container {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  background-color: #fff;
  border-radius: 10px;
}
.logo-carousel {
  display: flex;
  width: calc(180px * 15);
  animation: scroll 30s linear infinite;
}
.logo-item {
  flex: 0 0 180px;
  height: 100px;
  margin: 0 20px;
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.logo-item:hover {
  background-color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 15px #fff;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-180px * 10 - 40px * 10));
  }
}
/* Pause animation on hover */
.logo-carousel-container:hover .logo-carousel {
  animation-play-state: paused;
}
/* --------------------------------------------------
  MOBILE MENU STYLES
-------------------------------------------------- */
#mobile-menu {
  visibility: hidden;
  opacity: 0;
}

#mobile-menu.active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------
  RESPONSIVE STYLES
-------------------------------------------------- */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 4rem;
  }

  .text-4xl {
    font-size: 2rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #cs-button {
    bottom: 20px;
    right: 20px;
  }

  #cs-popup {
    bottom: 80px;
    right: 10px;
    width: calc(100% - 20px);
    max-width: 300px;
  }

  #scroll-top-button {
    bottom: 20px;
    right: 80px;
    transform: scale(0.9);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  #cs-button {
    bottom: 30px;
    right: 30px;
  }

  #cs-popup {
    bottom: 90px;
    right: 20px;
    width: 320px;
  }

  #scroll-top-button {
    bottom: 30px;
    right: 90px;
  }
}

/* --------------------------------------------------
  TYPOGRAPHY EFFECTS
-------------------------------------------------- */
.animated-gradient-text,
.company-name-animated {
  background: linear-gradient(300deg, #FFBB00, #ff8c00, #ff8c00, #FFBB00);
  background-size: 240% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: gradientFlow 8s ease infinite;
  font-weight: bold;
}

.company-name-animated {
  background: linear-gradient(45deg, #FFBB00, #ff8c00, #ff8c00, #FFBB00);
  background-size: 300% 300%;
}

/* --------------------------------------------------
  BUTTON STYLES
-------------------------------------------------- */
.epic-button-primary {
  position: relative;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  overflow: hidden;
  background: linear-gradient(45deg, #FFBB00, #ff8c00, #ff8c00, #FFBB00);
  background-size: 300% 300%;
  animation: gradientFlow 8s ease infinite;
  color: #fff;
  transition: all 0.4s ease;
  z-index: 1;
}

.epic-button-primary:hover {
  transform: scale(1.05);
}

.epic-button-primary:hover .button-glow {
  opacity: 0.3;
}

.epic-button-secondary {
  background: transparent;
  color: linear-gradient(45deg, #FFBB00, #ff8c00, #ff8c00, #FFBB00);
  position: relative;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  overflow: hidden;
  transition: all 0.4s ease;
}

.epic-button-secondary:hover {
  background: linear-gradient(45deg, #FFBB00, #ff8c00, #ff4500, #FFBB00);
  background-size: 300% 300%;
  animation: gradientFlow 8s ease infinite;
  color: white;
  z-index: 1;
}

.epic-button-secondary:hover .button-highlight {
  opacity: 0.2;
}

.button-glow,
.button-highlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #ff8c00, transparent 70%);
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------
  ANIMATIONS
-------------------------------------------------- */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0% { background-position: -100% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes patternMove {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* --------------------------------------------------
  CS BUTTON ANIMATION
-------------------------------------------------- */
#cs-button button {
  transform-origin: center;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 140, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
  }
}

/* --------------------------------------------------
  SCROLL TO TOP BUTTON
-------------------------------------------------- */
#scroll-top-button {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 49;
}

#scroll-top-button.visible {
  visibility: visible;
  opacity: 1;
}
/* ==========================================================================
   FITURSCROL KEBAWAH
========================================================================== */
@keyframes swipeDown {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.85; }
}

.animate-swipe-down {
  animation: swipeDown 1.8s ease-in-out infinite;
}

#mobile-scroll-hint {
  transition: transform 0.6s ease, opacity 0.6s ease;
}

#mobile-scroll-hint.hide-down {
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
}

#mobile-scroll-hint.show-up {
  transform: translateY(0);
  opacity: 1;
}

.drop-shadow-xl {
filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.custom-icon {
image-rendering: auto;
opacity: 1 !important;
mix-blend-mode: normal;
}

/* ==========================================================================
   FITURSCROL KEBAWAH
========================================================================== */
#scrollHint {
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 9999;
  pointer-events: none;
}
#scrollHint.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
}

#scrollHint span {
  font-weight: 600;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ff8c00;
  text-shadow: 0.5px 0.5px 1px black;
  user-select: none;
}

#scrollHint .mouse {
  width: 18px;
  height: 30px;
  border: 2px solid #ff8c00;
  border-radius: 10px;
  box-shadow: 0.5px 0.5px 2px black;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 4px;
  overflow: visible;
}

#scrollHint .wheel {
  width: 3px;
  height: 6px;
  background: #ff8c00;
  border-radius: 1.5px;
  animation: scrollAnim 1.6s infinite;
  box-shadow: 0 0 6px #ff8c00;
}

@keyframes scrollAnim {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(4px);
  }
  60% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  #scrollHint {
    display: none !important;
  }
}

/* ==========================================================================
   SCROL KANAN FITUR
========================================================================== */
html {
  scrollbar-width: thin;
  scrollbar-color: #ff8c00 #1A1A1A;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #1A1A1A;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #ff8c00;
  border-radius: 10px;
  border: 1px solid #1A1A1A;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #FFA500;
}

::-webkit-scrollbar-thumb:active {
  background-color: #E07B00;
}

::-webkit-scrollbar-button {
  display: none;
}

.card-parallax {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.card-layer {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

 .nav-link.active-produk {
    color: #ff8c00 !important;
  }