/* ==========================================================
GLOBAL
========================================================== */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f5f5f7;
    margin: 0;
}

.content-wrapper {
    padding-top: 100px;
}

.glass-nav {
    background: rgba(255, 255, 255, .88) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.ios-card {
    background: #fff;
    border: none;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    transition: .3s;
}

.ios-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .08);
}

/* ==========================================================
STATISTIC CARD
========================================================== */

.stats-card {

    background: #fff;

    border-radius: 24px;

    padding: 28px;

    text-align: center;

    box-shadow: 0 10px 28px rgba(0, 0, 0, .05);

    transition: .3s;

}

.stats-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 22px 45px rgba(0, 0, 0, .08);

}

.stats-icon {

    font-size: 42px;

    color: #0d6efd;

    margin-bottom: 10px;

}

.stats-number {

    font-size: 2.4rem;

    font-weight: 800;

    color: #111;

}

.stats-title {

    color: #6c757d;

    margin-top: 8px;

}

/* ==========================================================
   KOLEKSI MANUSKRIP / KOLEKSI ARKEOLOGI
========================================================== */

.collection-card {

    background: #fff;

    border-radius: 22px;

    overflow: hidden;

    border: 1px solid #ececec;

    transition: .30s;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);

}

.collection-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 25px 60px rgba(0, 0, 0, .12);

}

.collection-body {

    padding: 24px;

}

.collection-title {

    font-size: 1.35rem;

    font-weight: 700;

    line-height: 1.35;

    margin-bottom: 8px;

}

.collection-description {

    color: #6c757d;

    line-height: 1.75;

    min-height: 95px;

}

.collection-badge {

    background: #0d6efd;

    color: #fff;

    padding: 7px 15px;

    border-radius: 999px;

    font-size: .80rem;

    font-weight: 600;

}


/* ==========================================================
THUMB GRID
========================================================== */

.thumb-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 3px;

    background: #f5f5f5;

}

.thumb-item {

    aspect-ratio: 1;

    overflow: hidden;

}

.thumb-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .4s;

}

.collection-card:hover .thumb-item img {

    transform: scale(1.08);

}

.thumb-placeholder {

    aspect-ratio: 2.1;

    display: flex;

    align-items: center;

    justify-content: center;

    background: linear-gradient(135deg, #f6f6f6, #e8e8e8);

    color: #bbb;

    font-size: 55px;

}


/* ==========================================================
SEARCH
========================================================== */

.input-group-lg {

    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);

    border-radius: 999px;

    overflow: hidden;

}

.input-group-lg input {

    border: none;

    box-shadow: none;

}

.input-group-lg .input-group-text {

    border: none;

}

.input-group-lg input:focus {

    box-shadow: none;

}


/* ==========================================================
METADATA
========================================================== */

.collection-body .border {

    border: 1px solid #ececec !important;

    border-radius: 16px !important;

    background: #fafafa;

    transition: .25s;

}

.collection-card:hover .border {

    background: #fff;

}


/* ==========================================================
PAGINATION
========================================================== */

.pagination {

    gap: 8px;

}

.pagination .page-link {

    border: none;

    width: 46px;

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50% !important;

    color: #333;

    background: #f3f4f6;

    font-weight: 600;

    transition: .25s;

}

.pagination .page-link:hover {

    background: #0d6efd;

    color: #fff;

}

.pagination .active .page-link {

    background: #0d6efd;

    color: #fff;

}

.pagination .disabled .page-link {

    background: #ececec;

}


/* ==========================================================
HERO
========================================================== */

.ios-card {

    border-radius: 28px;

}

.ios-card h1 {

    letter-spacing: -.03em;

}

.ios-card p {

    line-height: 1.8;

}


/* ==========================================================
HASIL PENCARIAN
========================================================== */

.result-info {

    color: #6c757d;

    font-size: .95rem;

}


/* ==========================================================
EMPTY STATE
========================================================== */

.empty-state {

    padding: 80px 20px;

    text-align: center;

}

.empty-state i {

    font-size: 70px;

    color: #d5d5d5;

}

.empty-state h2 {

    margin-top: 20px;

    font-weight: 700;

}

.empty-state p {

    color: #777;

}


/* ==========================================================
BUTTON
========================================================== */

.collection-button {

    border-radius: 999px;

    padding: 10px 22px;

}

.collection-button:hover {

    transform: translateY(-2px);

}


/* ==========================================================
RESPONSIVE
========================================================== */

@media(max-width:991px) {

    .collection-title {

        font-size: 1.2rem;

    }

    .collection-description {

        min-height: auto;

    }

}

@media(max-width:767px) {

    .collection-body {

        padding: 18px;

    }

    .thumb-placeholder {

        font-size: 42px;

    }

    .collection-title {

        font-size: 1.1rem;

    }

}