:root {
    --primary-green: #2d5a27;
    --light-green-bg: #eaf3ed;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
}

/* Navbar */
.navbar-brand img, .navbar-brand i {
    color: var(--primary-green);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 14px;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

.btn-masuk {
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 14px;
}

.btn-daftar {
    background-color: var(--primary-green);
    color: #ffffff;
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 14px;
}

/* Hero Section / Hero Banner */
.hero-section {
    background: linear-gradient(135deg, #eaf4ed 0%, #f4f9f5 100%);
    padding: 60px 0;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1.2;
}

.btn-terbit {
    background-color: var(--primary-green);
    color: #ffffff;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
}

/* Card Buku */
.card-buku-mockup {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    transition: all 0.2s ease-in-out;
}

.card-buku-mockup:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.card-buku-mockup .img-container {
    background-color: #f3f4f6;
    border-radius: 8px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.card-buku-mockup img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.book-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.book-author {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.book-meta {
    font-size: 12px;
    color: var(--text-muted);
}
/* Footer Style (Sesuai Mockup) */
footer {
    background-color: transparent;
    position: relative;
    padding-top: 40px;
    padding-bottom: 30px;
}

.footer-wave {
    background: linear-gradient(180deg, rgba(234, 244, 237, 0) 0%, #eaf4ed 100%);
}

.footer-text {
    color: #6b7280;
    font-size: 14px;
}
/* Header Banner Katalog */
.katalog-banner {
    background-color: #eaf4ed;
    border-radius: 16px;
    padding: 40px;
}

/* Category Pill Buttons */
.btn-kategori {
    background-color: #ffffff;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.btn-kategori:hover, .btn-kategori.active {
    background-color: #1e7040;
    color: #ffffff;
    border-color: #1e7040;
}

/* Card Buku Custom */
.card-katalog {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-katalog:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.card-katalog .img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f7fafc;
    margin-bottom: 12px;
}

.card-katalog .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-katalog .book-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
    line-height: 1.3;
}

.card-katalog .book-author {
    font-size: 13px;
    color: #718096;
    margin-bottom: 4px;
}

.card-katalog .book-meta {
    font-size: 12px;
    color: #a0aec0;
    margin-bottom: 16px;
}

.btn-detail {
    background-color: #1e7040;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-detail:hover {
    background-color: #14522d;
    color: #ffffff;
}