* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
}

#navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  position: relative;
  min-height: 600px;
}

.bg-hero-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }
}

.coverflow-section {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
  margin-top: 60px;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
}

.coverflow {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cover-item {
  position: absolute;
  width: 220px;
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
  transition: 0.6s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.cover-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CENTER */
.cover-item.active {
  transform: translateX(0) scale(1.2);
  opacity: 1;
  z-index: 5;
  filter: blur(0);
}

/* LEFT */
.cover-item.prev {
  transform: translateX(-260px) scale(0.8) rotateY(20deg);
  opacity: 0.4;
  filter: blur(2px);
  z-index: 2;
}

/* RIGHT */
.cover-item.next {
  transform: translateX(260px) scale(0.8) rotateY(-20deg);
  opacity: 0.4;
  filter: blur(2px);
  z-index: 2;
}

/* FAR LEFT & RIGHT */
.cover-item.far {
  opacity: 0;
  transform: scale(0.6);
}

/* BUTTON */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 10px 20px rgba(0,0,0,.2);
}

.nav-btn.left { left: 20px; }
.nav-btn.right { right: 20px; }

/* IMPORTANT: Mobile tetap sama */
@media (max-width: 768px) {
  .cover-item {
    width: 200px;
    height: 280px;
  }
}
