/* PANDUAN PAGE STYLES */
.panduan-page {
  padding-top: 80px;
}

/* --- HERO --- */
.panduan-hero {
  background: linear-gradient(135deg, #1e7e34, #28a745);
  padding: 80px 24px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.panduan-hero-content {
  position: relative;
  z-index: 2;
}

.panduan-hero h1 {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 900;
  margin: 0;
  letter-spacing: -2px;
  opacity: 0.9;
  text-transform: lowercase;
}

.panduan-hero .book-icon {
  font-size: 80px;
  margin-bottom: 20px;
  display: block;
}

/* Floating Animation for Hero Icons */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.panduan-hero::after {
  content: '\f518'; /* FontAwesome book-open icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 20%;
  right: 10%;
  font-size: 150px;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

/* --- E-BOOK GRID --- */
.ebook-section {
  max-width: 1200px;
  margin: -60px auto 100px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.ebook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}

.ebook-card {
  perspective: 1000px;
  cursor: pointer;
}

.ebook-inner {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  height: 420px;
}

.ebook-card:hover .ebook-inner {
  transform: rotateY(-10deg) translateY(-20px);
  box-shadow: 20px 30px 50px rgba(0,0,0,0.2);
}

.ebook-img {
  height: 100%;
  width: 100%;
}

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

.ebook-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: white;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.ebook-card:hover .ebook-info {
  transform: translateY(0);
}

.ebook-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* Static title like in screenshot */
.ebook-static-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  color: white;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.ebook-card:hover .ebook-static-title {
  opacity: 0;
}

@media (max-width: 576px) {
  .panduan-hero h1 {
    font-size: 60px;
  }
}
