/* CSS KHUSUS HALAMAN PERPUSTAKAAN */

/* Hero Section Perpustakaan (Nuansa Amber/Cokelat Terang) */

/* Pola buku/gelombang */

/* Global Section */

.perpus-section {

    padding: 80px 0;

    background-color: #FAFAFA;

}

.perpus-section.bg-white {

    background-color: var(--white);

}

.perpus-section.bg-wood {

    background-color: #fffbeb; /* amber-50 */

}

.section-heading {

    text-align: center;

    margin-bottom: 48px;

}

.sec-title {

    font-size: 32px;

    font-weight: 800;

    color: var(--charcoal);

    margin-bottom: 16px;

}

.sec-desc {

    color: var(--slate);

    font-size: 16px;

    max-width: 650px;

    margin: 0 auto;

    line-height: 1.7;

}

/* Etalase Buku / Koleksi Grid */

.book-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 30px;

}

@media (min-width: 640px) {

    .book-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media (min-width: 1024px) {

    .book-grid {

        grid-template-columns: repeat(4, 1fr);

    }

}

.book-card {

    background: var(--white);

    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 4px 15px rgba(0,0,0,0.04);

    border: 1px solid rgba(0,0,0,0.03);

    transition: transform 0.3s, box-shadow 0.3s;

}

.book-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 15px 30px rgba(0,0,0,0.08);

}

.book-cover {

    height: 220px;

    background: #f1f5f9;

    position: relative;

    overflow: hidden;

}

.book-cover img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}

.book-card:hover .book-cover img {

    transform: scale(1.1);

}

.book-badge {

    position: absolute;

    bottom: 12px;

    right: 12px;

    background: rgba(217, 119, 6, 0.9); /* amber-600 */

    color: white;

    padding: 6px 12px;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 700;

    backdrop-filter: blur(4px);

}

.book-info {

    padding: 24px;

}

.book-title {

    font-size: 18px;

    font-weight: 800;

    color: var(--charcoal);

    margin-bottom: 8px;

}

.book-desc {

    font-size: 14px;

    color: var(--slate);

    line-height: 1.5;

}

/* Fasilitas Layanan (Horizontal Cards) */

.fasilitas-container {

    display: flex;

    flex-direction: column;

    gap: 24px;

    max-width: 900px;

    margin: 0 auto;

}

.fasilitas-card {

    display: flex;

    flex-direction: column;

    background: var(--white);

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 4px 20px rgba(0,0,0,0.03);

    border: 1px solid rgba(0,0,0,0.02);

}

@media (min-width: 768px) {

    .fasilitas-card {

        flex-direction: row;

        align-items: center;

    }

}

.fasilitas-img {

    height: 200px;

    background: #e2e8f0;

}

@media (min-width: 768px) {

    .fasilitas-img {

        width: 35%;

        height: 100%;

        min-height: 220px;

    }

}

.fasilitas-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.fasilitas-content {

    padding: 32px;

    flex: 1;

}

.f-icon {

    width: 48px;

    height: 48px;

    background: #fef3c7; /* amber-50 */

    color: #d97706; /* amber-600 */

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 16px;

}

.fasilitas-content h3 {

    font-size: 22px;

    font-weight: 800;

    color: var(--charcoal);

    margin-bottom: 12px;

}

.fasilitas-content p {

    font-size: 15px;

    color: var(--slate);

    line-height: 1.6;

}

/* Tata Tertib / Aturan Layout */

.aturan-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 30px;

    max-width: 1000px;

    margin: 0 auto;

}

@media (min-width: 768px) {

    .aturan-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

.aturan-box {

    background: var(--white);

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.03);

    border: 1px solid rgba(0,0,0,0.03);

}

.aturan-header {

    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 24px;

    padding-bottom: 16px;

    border-bottom: 1px solid #f1f5f9;

}

.aturan-header svg {

    color: #d97706; /* amber-600 */

}

.aturan-header h3 {

    font-size: 20px;

    font-weight: 800;

    color: var(--charcoal);

}

.aturan-list {

    list-style: none;

    padding: 0;

    margin: 0;

}

.aturan-list li {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 16px;

    font-size: 15px;

    color: var(--slate);

    line-height: 1.5;

}

.aturan-list li:last-child {

    margin-bottom: 0;

}

.aturan-list li svg {

    margin-top: 3px;

    color: var(--primary-green);

    flex-shrink: 0;

}