*{

margin:0;
padding:0;
box-sizing:border-box;

}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#F4F5FF;
}

a{

text-decoration:none;

}

img{

max-width:100%;

}
/* ===========================
        NAVBAR
=========================== */

.navbar{
    height:80px;
    background:#fff;

    box-shadow:0 3px 15px rgba(0,0,0,.05);

    z-index:999;

    transition:.3s;
}

.navbar-brand{
    font-weight:700;
    font-size:30px;
    color:#8C7746 !important;
}

.navbar-brand img{

width:45px;
margin-right:10px;

}

.navbar-nav{

gap:15px;
}

.nav-link{
font-weight:500;
font-size:16px;
color:#222 !important;
transition:.3s;
position: relative;

}

.nav-link.active,
.nav-link.active-page{

    color:#8C7746 !important;
    font-weight:600;

}

.nav-link{

    position:relative;
    font-weight:500;
    font-size:16px;
    color:#222 !important;
    transition:.3s;

}

.nav-link:hover{

    color:#8C7746 !important;

}

.nav-link::after{

    content:"";
    position:absolute;

    bottom:-5px;
    left:50%;

    width:0;
    height:2px;

    background:#E79B73;

    transition:.3s;
    transform:translateX(-50%);

}

.nav-link:hover::after,
.nav-link.active::after,
.nav-link.active-page::after{

    width:70%;

}

.search-box{
width:260px;
height:42px;
border:1px solid #D8D8D8;
border-radius:8px;
display:flex;
align-items:center;
padding:0 15px;
background:white;
}

.search-box i{

font-size:18px;

color:#8C7746;

margin-right:10px;

}

.search-box input{

border:none;

outline:none;

width:100%;

font-size:14px;

background:transparent;

}

main{

margin-top:80px;

}

/* =========================
   MOBILE NAVBAR
========================= */

@media (max-width: 991px) {

    .navbar-collapse {
        background-color: #ffffff;
        padding: 15px 20px 20px;
        border-top: 1px solid #eeeeee;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .navbar-nav {
        gap: 5px;
    }

    .navbar-nav .nav-link {
        padding: 12px 0;
    }

    .search-box {
        width: 100%;
        margin-top: 15px;
    }

}
/* =========================
   GLOBAL
========================= */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

section {
    padding: 90px 0;
}

.section-heading {
    margin-bottom: 50px;
}

.section-label {
    color: #E79B73;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-heading h2 {
    color: #8D7B52;
    font-size: 38px;
    font-weight: 700;
    margin-top: 10px;
}

.section-heading p {
    color: #777;
    max-width: 600px;
    margin-top: 15px;
}


/* =========================
   HERO
========================= */

.hero-section {
    min-height: calc(100vh - 80px);
    position: relative;
    align-items: center;
    background-image: 
        linear-gradient(
          rgba(45, 38, 28, 0.55),
          rgba(45, 38, 28, 0.55) 
        ),
    url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
}

.hero-overlay {
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.82);
    padding: 50px;
    border-radius: 20px;
}

.hero-content h1 {
    color: #3E3E3E;
    font-size:46px;
    font-weight: 700;
    line-height: 1.30;
}

.hero-content h1 span {
    color: #8D7B52;
    display: block;
}

.hero-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin: 20px 0 30px;
}

.btn-primary-custom {
    background: #E79B73;
    color: white;
    border: none;
    padding: 13px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary-custom:hover {
    background: #d8845d;
    color: white;
    transform: translateY(-2px);
}


/* =========================
   KATEGORI BUKU
========================= */

.category-section {
    width: 100%;
    background: #8D7B52;
    padding: 14px 0 18px;
}

.category-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.category-title {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 10px;
}

.category-list {
    width: 100%;

    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.category-item {
    width: 120px;
    text-align: center;
}

.category-icon {
    width: 48px;
    height: 48px;

    margin: 0 auto 6px;

    background: #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #8D7B52;
    font-size: 23px;

    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    transform: translateY(-3px);
}

.category-item span {
    display: block;

    color: #fff;

    font-size: 9px;
    line-height: 1.3;
}

/* =========================
   BOOK
========================= */

.book-section {
    background: white;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;

    padding: 40px 0 80px;
}

.book-card {
    height: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.3s;
}

.book-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.book-cover {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-info {
    padding: 20px;
}

.book-category {
    color: #8D7B52;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.book-info h3 {
    margin-bottom: 8px;
    color: #212529;
    font-size: 20px;
    font-weight: 700;
}

.book-info h4 {
    color: #3E3E3E;
    font-size: 18px;
    font-weight: 600;
    margin: 8px 0;
}

.book-info p {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}

.book-link {
    color: #8D7B52;
    font-size: 14px;
    font-weight: 600;
}

.book-link:hover {
    color: #E79B73;
}


/* =========================
   VISI & MISI
========================= */

.vision-section {
    background: #F8F7FC;
    padding: 70px 0;
}

.vision-section .section-heading {
    margin-bottom: 30px;
}

.vision-section .section-heading h2 {
    color: #3E3E3E;
    font-size: 28px;
}

.vision-mission-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.vision-mission-card {
    background: #EBA07A;
    color: white;
    border-radius: 4px;
    padding: 25px 40px;
    margin-bottom: 25px;
    text-align: center;
}

.vision-mission-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.vision-mission-card p {
    font-size: 12px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 750px;
}

.vision-mission-card ol {
    max-width: 650px;
    margin: 0 auto;
    padding-left: 20px;
    text-align: left;
}

.vision-mission-card li {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 4px;
}
@media (max-width: 767px) {

    .vision-mission-card {
        padding: 25px 20px;
    }

    .vision-mission-card p,
    .vision-mission-card li {
        font-size: 11px;
    }

}

/* =========================
   ACTIVITY
========================= */

.activity-section {
    background: white;
}

.activity-card {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
}

.activity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.activity-card:hover img {
    transform: scale(1.05);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content {
        max-width: 550px;
    }

}

@media (max-width: 767px) {

    section {
        padding: 60px 0;
    }

    .hero-content {
        padding: 30px;
        margin: 20px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .vision-image {
        height: 350px;
    }

}
/* =========================
   KEGIATAN PAGE
========================= */

.activity-header {
    background: #F8F7FC;
    padding: 70px 0 50px;
    text-align: center;
}

.activity-header-content {
    max-width: 650px;
    margin: 0 auto;
}

.activity-header h1 {
    color: #5F4D3A;
    font-size: 36px;
    font-weight: 700;
    margin: 8px 0 12px;
}

.activity-header p {
    color: #777;
    font-size: 14px;
    margin: 0;
}


/* =========================
   GALERI
========================= */

.activity-gallery {
    background: #ffffff;
    padding: 60px 0 80px;
}

.activity-gallery-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.gallery-item {
    width: 100%;
    height: 250px;

    overflow: hidden;

    border-radius: 10px;

    background: #f5f5f5;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}
@media (max-width: 767px) {

    .activity-header {
        padding: 50px 20px 40px;
    }

    .activity-header h1 {
        font-size: 28px;
    }

    .activity-gallery {
        padding: 40px 15px 60px;
    }

    .activity-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item {
        height: 160px;
    }

}
/* =========================
   BUKU PAGE
========================= */

.book-header {
    background: #F8F7FC;
    padding: 70px 0 50px;
    text-align: center;
}

.book-header-content {
    max-width: 650px;
    margin: 0 auto;
}

.book-header h1 {
    color: #5F4D3A;
    font-size: 36px;
    font-weight: 700;
    margin: 8px 0 12px;
}

.book-header p {
    color: #777;
    font-size: 14px;
    margin: 0;
}


/* =========================
   BOOK LIST
========================= */

.book-list-section {
    background: #ffffff;
    padding: 50px 0 80px;
}

/* ========================================
   EMPTY BOOK
======================================== */

.empty-book {
    grid-column: 1 / -1;
    padding: 70px 20px;
    text-align: center;
    color: #6c757d;
}


.empty-book i {
    display: block;
    margin-bottom: 15px;
    color: #8D7B52;
    font-size: 50px;
}


.empty-book p {
    margin: 0;
    font-size: 16px;
}

/* =========================
   SEARCH
========================= */

.book-search {
    max-width: 700px;
    margin: 0 auto 40px;
}

.book-search-box {
    display: flex;
    align-items: center;

    width: 100%;
    height: 48px;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: #ffffff;

    overflow: hidden;
}

.book-search-box i {
    color: #8D7B52;
    font-size: 18px;
    margin-left: 15px;
}

.book-search-box input {
    flex: 1;

    height: 100%;

    border: none;
    outline: none;

    padding: 0 15px;

    font-size: 13px;
}

.book-search-box button {
    height: 100%;

    padding: 0 25px;

    border: none;

    background: #E79B73;
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
}

.book-search-box button:hover {
    background: #D98D68;
}


/* =========================
   SEARCH RESULT
========================= */

.search-result-info {
    margin-bottom: 25px;

    color: #777;

    font-size: 13px;
}

.search-result-info strong {
    color: #5F4D3A;
}


/* =========================
   BOOK GRID
========================= */

.book-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}


/* =========================
   BOOK CARD
========================= */

.book-card {
    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 10px;

    overflow: hidden;

    transition: all 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.08);
}


/* =========================
   BOOK COVER
========================= */

.book-card .book-cover {
    width: 100%;
    height: 280px;

    background: #f5f5f5;

    overflow: hidden;
}

.book-card .book-cover img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.04);
}


/* =========================
   BOOK INFO
========================= */

.book-card .book-info {
    padding: 18px;
}

.book-card .book-category {
    color: #E79B73;

    font-size: 10px;
    font-weight: 600;
}

.book-card .book-info h3 {
    color: #5F4D3A;

    font-size: 17px;
    font-weight: 600;

    margin: 7px 0;
}

.book-card .book-info p {
    color: #777;

    font-size: 12px;

    margin-bottom: 15px;
}


/* =========================
   DETAIL BUTTON
========================= */

.book-detail-btn {
    display: inline-block;
    color: #8D7B52;
    transition: 0.3s ease;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.book-detail-btn:hover {
    color: #E79B73;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {

    .book-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 767px) {

    .book-header {
        padding: 50px 20px 40px;
    }

    .book-header h1 {
        font-size: 28px;
    }

    .book-list-section {
        padding: 40px 15px 60px;
    }

    .book-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .book-card .book-cover {
        height: 220px;
    }

    .book-card .book-info {
        padding: 14px;
    }

    .book-card .book-info h3 {
        font-size: 14px;
    }

    .book-search-box button {
        padding: 0 15px;
    }

}
/* =========================
   BUKU PAGE FIX
========================= */

.book-header {
    background: #F8F7FC;
    padding: 70px 0 50px;
}

.book-header-content {
    max-width: 650px;
    margin: 0 auto;
}

.book-header h1 {
    margin: 0 0 12px;
    font-size: 36px;
}

.book-header p {
    margin: 0;
}


.book-list-section {
    background: #fff;
    padding: 50px 0 80px;
}


.book-search {
    max-width: 700px;
    margin: 0 auto 40px;
}

.book-search-box {
    display: flex;
    align-items: center;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.book-search-box i {
    margin-left: 15px;
}

.book-search-box input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: none;
    padding: 0 15px;
}

.book-search-box button {
    height: 100%;
    padding: 0 25px;
    border: 0;
    background: #E79B73;
    color: white;
    cursor: pointer;
}


.book-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}


.book-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}


.book-card .book-cover {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}


.book-card .book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.book-card .book-info {
    padding: 18px;
}


.book-card .book-category {
    font-size: 10px;
    color: #E79B73;
}


.book-card h3 {
    font-size: 17px;
    margin: 7px 0;
}


.book-card p {
    font-size: 12px;
    color: #777;
}


@media (max-width: 991px) {
    .book-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 767px) {
    .book-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* =========================
   DETAIL BUKU
========================= */

.book-detail-section {
    background: #F4F5FF;
    padding: 70px 0 90px;
    min-height: calc(100vh - 80px);
}


/* =========================
   WRAPPER
========================= */

.book-detail-wrapper {
    display: grid;

    grid-template-columns: 350px 1fr;

    gap: 70px;

    max-width: 1000px;

    margin: 0 auto;

    align-items: start;
}


/* =========================
   COVER
========================= */

.book-detail-cover {
    width: 100%;
    height: 480px;

    background: #F5F5F5;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.08);
}

.book-detail-cover img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================
   INFO
========================= */

.book-detail-info {
    padding-top: 15px;
}

.book-detail-category {
    display: inline-block;

    color: #E79B73;

    font-size: 12px;
    font-weight: 600;

    margin-bottom: 10px;
}

.book-detail-info h1 {
    color: #3E3E3E;

    font-size: 38px;
    font-weight: 600;

    line-height: 1.3;

    margin: 0 0 15px;
}


/* =========================
   AUTHOR
========================= */

.book-detail-author {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #777;

    font-size: 14px;

    margin-bottom: 35px;
}

.book-detail-author i {
    color: #8D7B52;

    font-size: 18px;
}


/* =========================
   DESCRIPTION
========================= */

.book-detail-description {
    margin-bottom: 35px;
}

.book-detail-description h3 {
    color: #3E3E3E;

    font-size: 18px;
    font-weight: 600;

    margin-bottom: 12px;
}

.book-detail-description p {
    color: #666;

    font-size: 14px;

    line-height: 1.8;

    margin: 0;
}


/* =========================
   BACA BUKU
========================= */

.book-read-btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #E79B73;

    color: #fff;

    padding: 13px 25px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s;
}

.book-read-btn:hover {
    background: #D8845D;

    color: #fff;

    transform: translateY(-2px);
}


/* =========================
   KEMBALI
========================= */

.book-back-btn {
    display: block;

    width: fit-content;

    margin-top: 20px;

    color: #8D7B52;

    font-size: 13px;
    font-weight: 500;
}

.book-back-btn:hover {
    color: #E79B73;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 767px) {

    .book-detail-section {
        padding: 45px 20px 60px;
    }

    .book-detail-wrapper {

        grid-template-columns: 1fr;

        gap: 35px;

    }

    .book-detail-cover {

        max-width: 300px;

        height: 400px;

        margin: 0 auto;

    }

    .book-detail-info h1 {

        font-size: 30px;

    }

}

/* =========================
   GALLERY IMAGE
========================= */

.gallery-image {
    cursor: pointer;
    transition: .3s ease;
}

.gallery-image:hover {
    transform: scale(1.03);
    opacity: .9;
}


/* =========================
   IMAGE MODAL
========================= */

#imageModal .modal-body {
    max-height: 90vh;
}

#modalImage {
    max-height: 85vh;
    max-width: 100%;
    object-fit: contain;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    margin-top: 0;
    padding: 60px 0 0;

    background-color: #8C7746;
    color: #ffffff;
}


/* ========================================
   FOOTER BRAND
======================================== */

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #ffffff;
    text-decoration: none;

    font-size: 22px;
    font-weight: 700;

    margin-bottom: 18px;
}

.footer-logo:hover {
    color: #E79B73;
}

.footer-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}


.footer-description {
    max-width: 430px;

    margin: 0;

    color: #d6d2ca;

    font-size: 15px;
    line-height: 1.8;
}


/* ========================================
   FOOTER TITLE
======================================== */

.footer-title {
    margin-bottom: 20px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 600;
}


/* ========================================
   FOOTER LINKS
======================================== */

.footer-links {
    list-style: none;

    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d6d2ca;

    text-decoration: none;

    font-size: 15px;

    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #E79B73;

    padding-left: 5px;
}


/* ========================================
   FOOTER INFO
======================================== */

.footer-info {
    color: #d6d2ca;

    font-size: 15px;
    line-height: 1.8;

    margin-bottom: 20px;
}


/* ========================================
   SOCIAL MEDIA
======================================== */

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #ffffff;
    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    transition: 0.3s ease;
}

.footer-social a i {
    font-size: 22px;
}

.footer-social a:hover {
    color: #E79B73;
    transform: translateX(4px);
}


/* ========================================
   FOOTER BOTTOM
======================================== */

.footer-bottom {
    margin-top: 50px;

    padding: 20px 0;

    border-top: 1px solid #8C7746;

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    color: #aaa59c;

    font-size: 14px;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {

    .site-footer {
        padding-top: 45px;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-bottom {
        margin-top: 35px;
    }

}

html {
    scroll-behavior: smooth;
}

#tentang {
    scroll-margin-top: 80px;
}