/* ===== CSS GLOBAL UNTUK SEMUA HALAMAN ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
}

body {
  background-color: #f0f7f2;
  color: #1e3a2b;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 3px solid #b8d9c0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #1e4a2b;
}

.logo img {
  height: 48px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.logo span {
  color: #2d7a3a;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 500;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links li {
  cursor: pointer;
}

.nav-links a {
  text-decoration: none;
  color: #1e3a2b;
  font-size: 1rem;
  transition: 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  font-weight: 500;
}

.nav-links a:hover {
  color: #2d7a3a;
  border-bottom-color: #6bb07a;
}

.nav-links a.active {
  color: #2d7a3a;
  border-bottom-color: #6bb07a;
}

.nav-links .cart-icon {
  font-size: 1.1rem;
  background: #e8f3ea;
  padding: 6px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links .cart-icon i {
  color: #2d7a3a;
}

/* ===== HERO ===== */
.hero {
  padding: 50px 0 30px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #1e4a2b;
  margin-bottom: 12px;
}

.hero h1 i {
  color: #3d8b4a;
  margin-right: 8px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 780px;
  color: #2d5a3a;
  margin-bottom: 10px;
}

.hero .btn-hero {
  background: #1e4a2b;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 40px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
  margin-top: 12px;
}

.hero .btn-hero:hover {
  background: #6bb07a;
  color: #1e4a2b;
}

/* ===== SECTION ===== */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1e4a2b;
  margin: 40px 0 20px;
  border-left: 6px solid #6bb07a;
  padding-left: 18px;
}

/* ===== PAKET PENERBITAN ===== */
.paket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin: 30px 0 20px;
}

.paket-card {
  background: white;
  border-radius: 20px;
  padding: 28px 22px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: 0.25s ease;
  border: 1px solid #d4e8da;
  display: flex;
  flex-direction: column;
}

.paket-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.10);
  border-color: #6bb07a;
}

.paket-icon {
  font-size: 34px;
  color: #3d8b4a;
  margin-bottom: 8px;
}

.paket-price {
  font-size: 32px;
  font-weight: 800;
  color: #1e4a2b;
  margin: 6px 0 2px;
}

.paket-price small {
  font-size: 18px;
  font-weight: 400;
  color: #5b7a6b;
}

.paket-name {
  font-size: 22px;
  font-weight: 700;
  color: #1e4a2b;
  margin-bottom: 14px;
  border-bottom: 3px solid #6bb07a;
  display: inline-block;
  padding-bottom: 4px;
}

.paket-features {
  list-style: none;
  margin: 14px 0 20px;
  flex: 1;
}

.paket-features li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #1e3a2b;
  border-bottom: 1px solid #e8f3ea;
}

.paket-features li i {
  color: #3d8b4a;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.btn-order {
  background: #1e4a2b;
  color: #fff;
  border: none;
  padding: 12px 0;
  border-radius: 40px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.btn-order:hover {
  background: #6bb07a;
  color: #1e4a2b;
}

/* ===== GALERI BUKU ===== */
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
  margin: 30px 0 20px;
}

.book-card {
  background: white;
  border-radius: 20px;
  padding: 24px 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: 0.2s;
  border: 2px dashed #b8d9c0;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.book-card i {
  font-size: 2.8rem;
  color: #6bb07a;
  background: #e8f3ea;
  padding: 18px;
  border-radius: 60px;
  margin-bottom: 12px;
}

.book-card h4 {
  font-weight: 600;
  color: #1e3a2b;
}

.book-card p {
  font-size: 0.85rem;
  color: #5b7a6b;
  margin-top: 4px;
}

.book-card .btn-tambah {
  margin-top: 12px;
  background: #6bb07a;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}

.book-card .btn-tambah:hover {
  background: #4f8f5e;
}

.book-card .btn-tambah i {
  background: transparent;
  padding: 0;
  font-size: 0.9rem;
  color: white;
  margin: 0 4px 0 0;
}

/* ===== LAYANAN ===== */
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin: 30px 0 50px;
}

.layanan-item {
  background: white;
  padding: 30px 24px;
  border-radius: 28px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.03);
  border: 1px solid #d4e8da;
  transition: 0.2s;
}

.layanan-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

.layanan-item i {
  font-size: 2.2rem;
  color: #3d8b4a;
  background: #e8f3ea;
  padding: 14px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.layanan-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1e4a2b;
}

.layanan-item p {
  color: #3d5a4a;
  font-size: 0.95rem;
}

/* ===== TENTANG KAMI ===== */
.tentang-content {
  background: white;
  padding: 30px;
  border-radius: 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
  border: 1px solid #d4e8da;
  margin: 20px 0;
}

/* ===== KONTAK ===== */
.kontak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin: 20px 0;
}

.kontak-item {
  background: white;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid #d4e8da;
}

.kontak-item i {
  color: #3d8b4a;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

/* ===== KERANJANG ===== */
.cart-table {
  width: 100%;
  background: white;
  border-radius: 20px;
  border-collapse: collapse;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
  margin: 20px 0;
}

.cart-table th {
  background: #e8f3ea;
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  color: #1e4a2b;
}

.cart-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e8f3ea;
}

.cart-total {
  text-align: right;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 20px 0;
  color: #1e4a2b;
}

.btn-checkout {
  background: #3d8b4a;
  color: white;
  border: none;
  padding: 12px 36px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
}

.btn-checkout:hover {
  background: #2d7a3a;
}

.btn-hapus {
  background: #b85a4a;
  color: white;
  border: none;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-hapus:hover {
  background: #9a4a3a;
}

.empty-cart {
  text-align: center;
  padding: 40px 0;
  color: #5b7a6b;
  font-size: 1.2rem;
}

/* ===== FOOTER ===== */
.footer {
  background: #1e3a2b;
  color: #d4e8da;
  padding: 50px 0 20px;
  margin-top: 50px;
  border-radius: 40px 40px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  margin-bottom: 30px;
}

.footer h4 {
  color: #b8d9c0;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer p,
.footer a {
  color: #b8d9c0;
  line-height: 1.8;
  font-size: 0.95rem;
  text-decoration: none;
  display: block;
}

.footer a:hover {
  color: #8fbf9a;
}

.footer i {
  width: 24px;
  color: #6bb07a;
}

.footer-bottom {
  border-top: 1px solid #2d5a3a;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #8fbf9a;
}

.footer-bottom i {
  color: #6bb07a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
  .navbar .container {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .nav-links {
    justify-content: center;
    gap: 16px;
    font-size: 0.95rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .logo img {
    height: 36px;
  }
  .paket-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 10px;
    flex-wrap: wrap;
  }
  .nav-links a {
    font-size: 0.9rem;
  }
}