:root {
  --primary-color: #1f6f5f;
  --primary-light: #70b5a7;
  --white: #ffffff;
  --secondary-color: #f4f1ea; /* Cream/Bone */
  --accent-color: #e7ead9; /* Sage sangat muda */
  --footer-dark: #1a1a1a;
  --text-dark: #2d3436;
  --text-gray: #636e72;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Menghitung padding dalam lebar elemen */
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Mencegah scroll horizontal yang tidak diinginkan */
}

/* State awal: Tersembunyi dan turun sedikit */
.hero,
.about-section,
.services-section,
.book-section,
.journal-section,
.contact-section {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* Animasi Halus untuk Semua Link */
a {
  transition: var(--transition);
}

/* Perbaikan Hover Navigasi agar tidak kaku */
.nav-item::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%; /* Mulai dari tengah agar animasi melebar ke samping */
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-item:hover::after {
  width: 100%;
}

/* Standarisasi Animasi Tombol */
.btn-buy,
.btn-buy-small,
.btn-buy-large,
.btn-contact,
.btn-primary,
.btn-secondary,
.page-nav {
  transition: var(--transition) !important;
  position: relative;
  overflow: hidden;
}

/* Efek Angkat saat Hover */
.btn-buy:hover,
.btn-buy-small:hover,
.btn-buy-large:hover,
.btn-contact:hover,
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(95, 113, 97, 0.2);
}

/* Efek Tekan saat Diklik (Feedback Visual) */
.btn-buy:active,
.btn-buy-small:active,
.btn-buy-large:active,
.btn-contact:active,
.page-nav:active {
  transform: translateY(-1px);
  filter: brightness(0.9);
}

/* Khusus untuk Tombol Navigasi Buku (Prev/Next) */
.page-nav:not(:disabled):hover {
  color: var(--white);
  background: var(--primary-color);
  border-radius: 4px;
}

/* Animasi Muncul saat Scroll */
.section-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Saat section utama terlihat, munculkan card-nya */
.section-visible .journal-promo-card {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar Container */
.navbar-container {
  position: fixed;
  top: 0;
  left: 0; /* Tambahkan ini */
  right: 0; /* Tambahkan ini sebagai pengganti width: 100% agar lebih aman */
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%; /* Gunakan % agar padding menyesuaikan layar */
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: #444;
  font-weight: 400;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}

.nav-item {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.nav-item:hover::after {
  width: 100%;
}

.nav-item.active {
  color: var(--primary-color);
}

/* Tombol Kontak (CTA) */
.btn-contact {
  text-decoration: none;
  background: var(--primary-color);
  color: white !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(95, 113, 97, 0.3);
}

.btn-contact:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(95, 113, 97, 0.4);
}

.hero {
  position: relative;
  height: 80vh; /* Tinggi yang pas untuk kesan profesional */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: linear-gradient(to right, #2d3436, #5f7161);
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Efek parallax halus */
  color: var(--white);
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Dekorasi latar belakang (opsional untuk kesan modern) */
.hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  filter: blur(150px);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  opacity: 0.3;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(95, 113, 97, 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 span {
  color: var(--primary-color);
}

.hero-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Tombol Profesional */
.btn-primary {
  text-decoration: none;
  background: var(--primary-color);
  color: white;
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-secondary {
  text-decoration: none;
  background: transparent;
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* --- About Section Minimalist (Tanpa Gambar) --- */
.about-section {
  /* Section 2: About (Warna Terang/Putih) */
  padding: 100px 10%;
  background-color: var(--white);
  text-align: center; /* Memusatkan semua teks */
}

.about-content-minimal {
  max-width: 900px;
  margin: 0 auto;
}

.about-text-wrapper {
  margin-top: 40px;
}

.lead-text {
  font-size: 1.4rem;
  color: var(--primary-color);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about-description {
  font-size: 1.1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 50px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* Bagian Statistik untuk menggantikan visual gambar */
.about-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Services Section Styling --- */
.services-section {
  /* Section 3: Services (Warna Krem Lembut) */
  padding: 100px 10%;
  text-align: center;
  background-color: var(--secondary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: var(--transition);
  text-align: left; /* Teks layanan lebih rapi rata kiri */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-light);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
}

.service-card h3 {
  color: var(--text-dark);
  font-size: 1.25rem;
  margin-bottom: 15px;
  position: relative;
}

/* Garis kecil di bawah judul layanan */
.service-card h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.service-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 20px;
}

/* --- Layout Toko Buku --- */
.book-section {
  /* Section 4: Book Store (Warna Putih kembali) */
  padding: 100px 0; /* Jarak vertikal antar section */
  background-color: var(--white);
}

.container-shelf {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%; /* Jarak horizontal agar tidak mepet tepi layar */
}

/* Rak Ke Samping (Desktop) */
.book-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 buku berjejer ke samping */
  gap: 40px; /* Jarak antar buku (renggang) */
  margin-top: 50px;
  margin-bottom: 60px;
}

.book-card {
  text-align: left;
  animation: fadeIn 0.5s ease forwards;
}

.book-cover-vertical {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px 12px 12px 4px;
  box-shadow: 8px 10px 20px rgba(0, 0, 0, 0.08);
  border-left: 6px solid var(--primary-color);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.book-card:hover .book-cover-vertical {
  transform: translateY(-10px) rotateY(-5deg);
}

.book-info {
  /* Mengikuti lebar maksimal cover yang sudah ditentukan */
  max-width: 100%;
  margin: 0 auto; /* Memastikan info tetap di tengah jika cover di tengah */
  padding: 0 5px; /* Sedikit ruang agar teks tidak menyentuh garis imajiner lebar cover */
  display: flex;
  flex-direction: column;
}

.book-info h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.book-info .author {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.book-info .price {
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 15px;
}

.btn-buy {
  /* Tambahan: Agar tombol beli juga tidak melebihi lebar tersebut */
  width: 100%;
  box-sizing: border-box; /* Memastikan padding tidak merusak lebar */
  margin-top: auto; /* Mendorong tombol ke bawah jika ada judul yang pendek */
  padding: 8px;
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
}

.btn-buy:hover {
  background: var(--primary-color);
  color: #fff;
}

/* --- Pagination Styling --- */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.page-nav {
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: bold;
  padding: 5px 10px;
  transition: 0.3s;
  cursor: pointer;
  user-select: none; /* Mencegah teks ter-highlight saat diklik cepat */
}

.page-nav:hover {
  color: var(--primary-light);
}

.page-numbers {
  display: flex;
  gap: 10px;
}

.page-num {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.3s;
}

.page-num.active,
.page-num:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Tambahkan ini agar kita tahu tombol mana yang aktif */
.page-num.active {
  background-color: #5f7161;
  color: white;
  border-color: #5f7161;
}

/* --- Styling Navigasi --- */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.page-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.page-num.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Container Utama Jurnal */
.journal-section {
  padding: 80px 0;
  overflow: hidden;
  background-color: var(--secondary-color);
}

/* Container pembungkus utama */
.journal-slider-wrapper {
  max-width: 1200px; /* Lebar maksimal rak */
  margin: 40px auto;
  overflow: hidden; /* Menyembunyikan item yang belum tampil */
  position: relative;
}

/* Pastikan transisi slider halus */
.journal-slider {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1); /* Lebih smooth */
  width: 100%;
  will-change: transform;
}

/* SETIAP ITEM (1 Rak = 1 Item) */
.journal-slide {
  min-width: 100%; /* MEMAKSA 1 ITEM PER RAK */
  box-sizing: border-box;
  padding: 0 15px; /* Memberi sedikit ruang di kiri kanan agar tidak mentok */
}

/* Animasi Fade In untuk Isi Card agar tidak kaku saat slide berpindah */
/* Mempercantik Card agar terlihat premium di ruang lebar */
.journal-promo-card {
  /* Tambahan agar Card Jurnal ikut menganimasi saat section muncul */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out 0.3s; /* Delay 0.3 detik agar halus */
  display: flex;
  background: var(--white);
  padding: 60px;
  gap: 50px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  align-items: center;
}

.journal-cover-big {
  min-width: 250px;
  height: 350px;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 10px 10px 0px var(--accent-color);
}

.journal-info h4 {
  font-size: 1.8rem;
  margin: 10px 0;
}

.journal-summary {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Bagian Kutipan Artikel */
.article-quote {
  background: var(--secondary-color);
  padding: 20px;
  border-radius: 12px;
  border-left: 5px solid var(--primary-color);
  margin-bottom: 25px;
}

.article-quote small {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  color: var(--primary-color);
}

.article-quote p {
  font-style: italic;
  margin-top: 5px;
  color: var(--text-dark);
}

/* Tombol Navigasi (Dots) yang Lebih Menarik */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.dot {
  width: 15px;
  height: 15px;
  background: #d1d1d1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.dot:hover {
  background: var(--primary-light);
}

.dot.active {
  width: 45px; /* Memanjang saat aktif */
  background: var(--primary-color);
  border-radius: 20px;
}

/* Tombol Baca */
.btn-buy-large {
  padding: 15px 35px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-buy-large:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

/* --- Contact Section --- */
.contact-section {
  /* Section 6: Contact (Warna Putih) */
  padding: 100px 0;
  background: #ffffff;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 50px;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.c-icon {
  font-size: 1.5rem;
}

/* --- Contact Form Optimization --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%; /* Memastikan form mengambil seluruh lebar kolomnya */
}

.contact-form input {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box; /* Sangat penting agar padding tidak menambah lebar */
}

.contact-form textarea {
  width: 100%;
  min-height: 180px; /* Tinggi minimal agar proporsional */
  max-height: 400px; /* Batas tinggi maksimal agar tidak merusak layout saat di-resize user */
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical; /* User hanya bisa tarik ke bawah, bukan ke samping */
  box-sizing: border-box;
  line-height: 1.6;
}

/* Fokus state agar lebih profesional */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(95, 113, 97, 0.1); /* Efek glow lembut warna sage */
}

/* Memastikan tombol kirim tidak melebar jika tidak diinginkan */
.contact-form .btn-buy-small {
  align-self: flex-start; /* Tombol tetap di kiri, tidak selebar form */
  padding: 12px 30px;
  font-size: 1rem;
}

/* Tombol Kecil Literasi Publika */
.btn-buy-small {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color); /* Menggunakan variabel #5F7161 */
  color: var(--white); /* Putih #ffffff */
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

/* Efek Hover (Saat kursor di atas tombol) */
.btn-buy-small:hover {
  background-color: var(--primary-light); /* Lebih terang sedikit #849686 */
  transform: translateY(-2px); /* Efek melayang sedikit */
  box-shadow: 0 4px 12px rgba(95, 113, 97, 0.3); /* Bayangan halus */
}

/* Efek Klik (Aktif) */
.btn-buy-small:active {
  transform: translateY(0);
}

/* --- Footer Styling --- */
.footer-main {
  background: #1a1a1a; /* Hitam elegan */
  color: #f4f4f4;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  border-bottom: 1px solid #333;
  padding-bottom: 50px;
}

.footer-brand h2 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-brand span {
  color: var(--primary-color);
}

.footer-brand p {
  color: #999;
  line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #999;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  color: #666;
  font-size: 0.85rem;
}

/* Efek saat konten buku muncul */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (min-width: 1025px) {
  /* 1. Layar Besar (Desktop): 5 Kolom */
  .book-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
  }
}

/* Responsif Mobile */
@media screen and (max-width: 1024px) {
  .book-grid {
    grid-template-columns: repeat(3, 1fr);
  } /* 3 buku di tablet */
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
  /* 2. Layar Tablet (Max 1024px): Maksimal 3 Kolom */
  .container-shelf {
    padding: 0 7%; /* Jarak samping sedikit lebih lebar di tablet */
  }

  .book-grid {
    grid-template-columns: repeat(3, 1fr); /* Maksimal 3 kolom */
    gap: 30px;
  }

  .book-cover-vertical {
    max-width: 220px; /* Menjaga ukuran cover tetap ideal */
    margin: 0 auto 20px;
  }

  .book-card {
    text-align: center; /* Rata tengah agar simetris di tablet */
  }

  .book-info {
    max-width: 220px; /* Sama dengan max-width cover di tablet */
    text-align: center;
  }
}

@media screen and (max-width: 900px) {
  .journal-horizontal-grid {
    grid-template-columns: 1fr; /* Jadi satu baris di tablet/HP */
  }
}

@media screen and (max-width: 600px) {
  .book-grid {
    grid-template-columns: repeat(1, 1fr);
  } /* 1 buku di HP */
}

/* --- Mobile Responsive Styling --- */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
  }

  .nav-links {
    position: absolute;
    top: 100%; /* Muncul tepat di bawah navbar */
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 20px 0;
    gap: 20px;

    /* State Awal: Sembunyi & Transparan */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px); /* Posisi sedikit di atas */
    transition: all 0.4s ease-in-out;

    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  }

  /* State Aktif: Muncul & Fade In */
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Turun ke posisi normal */
  }

  .nav-item {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  /* Animasi Hamburger (X) tetap sama */
  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-btns {
    flex-direction: column;
  }
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text {
    text-align: center;
  }

  .feature-item {
    text-align: left;
  }

  .about-stats {
    flex-direction: column;
    gap: 30px;
  }

  .lead-text {
    font-size: 1.2rem;
  }

  .service-card {
    padding: 30px 20px;
  }

  .container-shelf {
    padding: 0 10%;
  }

  .book-grid {
    grid-template-columns: 1fr; /* Tumpuk satu kolom */
    gap: 50px;
  }

  .book-card {
    text-align: center;
  }

  .book-cover-vertical {
    max-width: 280px;
    margin: 0 auto 20px;
  }

  .book-info {
    max-width: 280px; /* Sama dengan max-width cover di mobile */
    text-align: center;
  }

  .journal-card-featured {
    flex-direction: column;
    text-align: center;
  }
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-section {
    padding: 60px 0;
  }

  .journal-promo-card {
    flex-direction: column;
    padding: 25px;
    text-align: center;
  }
  .journal-cover-big {
    min-width: 100%;
    height: 250px;
  }
}

/* Sembunyikan toggle di layar desktop */
@media screen and (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .journal-item {
    flex-direction: column; /* Menumpuk di HP sangat kecil agar tidak sempit */
    text-align: center;
  }
  .journal-info {
    align-items: center;
  }
  .journal-cover-small {
    margin: 0 auto;
  }
}
