/* ============================================
   PAGES STYLES (Koleksi Buku, Tentang, Kontak)
   ============================================ */

/* Common Page Styles */
.page-section {
    padding: 3rem 0;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header-icon {
    font-size: 2rem;
    color: #00bcd4;
    margin-right: 1rem;
}

.page-header-title {
    margin: 0;
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 800;
}

.page-header-subtitle {
    color: #666;
    font-size: 1.05rem;
    margin: 0;
}

/* ============================================
   KOLEKSI BUKU PAGE
   ============================================ */

.books-filter-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.books-filter-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: flex-end;
}

.books-filter-group {
    display: flex;
    flex-direction: column;
}

.books-filter-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.books-filter-input,
.books-filter-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
}

.books-filter-select {
    cursor: pointer;
}

.books-filter-button {
    width: 100%;
    padding: 0.75rem 1.5rem;
}

.books-filter-clear {
    margin-top: 1rem;
}

.books-filter-clear .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.books-active-filters {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3498db;
}

.books-active-filters p {
    margin: 0;
    color: #1565c0;
    font-size: 0.95rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.books-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 3rem;
}

.books-empty-icon {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
    display: block;
}

.books-empty-text {
    color: #999;
    font-size: 1.1rem;
}

.books-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.book-card-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.book-card-lock-icon {
    font-size: 2.5rem;
    color: white;
}

.book-card-lock-text {
    text-align: center;
    color: white;
}

.book-card-lock-title {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.book-card-lock-subtitle {
    margin: 0.3rem 0 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.book-card-lock-link {
    color: #00bcd4;
    text-decoration: none;
    font-weight: 600;
}

/* ============================================
   TENTANG PAGE
   ============================================ */

.about-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.about-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.about-visi-misi {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.about-visi-misi-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-visi-card,
.about-misi-card {
    border-left: 5px solid;
    height: 100%;
}

.about-visi-card {
    border-left-color: #00bcd4;
}

.about-misi-card {
    border-left-color: #4caf50;
}

.about-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.about-card-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.about-visi-card .about-card-icon {
    color: #00bcd4;
}

.about-misi-card .about-card-icon {
    color: #4caf50;
}

.about-card-title {
    margin: 0;
    color: #2c3e50;
}

.about-card-content {
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.about-misi-list {
    margin: 0;
    padding-left: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.about-misi-list li {
    margin-bottom: 0.5rem;
}

.about-sejarah {
    margin-bottom: 3rem;
    border-top: 5px solid #3498db;
}

.about-sejarah-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.about-sejarah-icon {
    font-size: 2rem;
    color: #3498db;
    margin-right: 1rem;
}

.about-sejarah-title {
    margin: 0;
    color: #2c3e50;
}

.about-sejarah-content {
    color: #555;
    line-height: 1.8;
}

.about-sejarah-content p {
    margin-bottom: 1rem;
}

.about-sejarah-content p:last-child {
    margin: 0;
}

.about-values-section {
    margin-bottom: 3rem;
}

.about-values-header {
    text-align: center;
    margin-bottom: 1.6rem;
}

.about-values-title {
    margin: 0;
    font-size: 2.1rem;
    color: #0f172a;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.about-values-subtitle {
    margin: 0.5rem 0 0 0;
    color: #64748b;
    font-size: 0.98rem;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.about-feature-card {
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 1.2rem 1.2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    border: 1px solid rgba(2, 6, 23, 0.06);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: box-shadow .2s ease;
}

.about-feature-card:hover {
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.12);
}

.about-feature-inner {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1rem;
}

.about-feature-icon-blue {
    background: rgba(2,132,199,.1);
    color: #0284c7;
}

.about-feature-icon-green {
    background: rgba(34,197,94,.1);
    color: #16a34a;
}

.about-feature-icon-amber {
    background: rgba(245,158,11,.12);
    color: #f59e0b;
}

.about-feature-text {
    flex: 1;
}

.about-feature-text-title {
    color:#0f172a;
    font-weight: 800;
    letter-spacing: .02em;
}

.about-feature-text-desc {
    color:#64748b;
    font-size:.9rem;
}

.about-feature-orb {
    position:absolute;
    right:-25px;
    bottom:-25px;
    width:120px;
    height:120px;
    border-radius:50%;
    background: radial-gradient(circle, transparent 60%);
}

.about-feature-orb-blue {
    background: radial-gradient(circle, rgba(14,165,233,.14), transparent 60%);
}

.about-feature-orb-green {
    background: radial-gradient(circle, rgba(34,197,94,.14), transparent 60%);
}

.about-feature-orb-amber {
    background: radial-gradient(circle, rgba(245,158,11,.14), transparent 60%);
}

.about-commitment {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    color: white;
    border: none;
}

.about-commitment-body {
    text-align: center;
    padding: 2.5rem;
}

.about-commitment-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.about-commitment-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   KONTAK PAGE
   ============================================ */

.contact-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-section {
    margin-bottom: 3rem;
}

.contact-info-header {
    text-align: center;
    margin-bottom: 1.6rem;
}

.contact-info-title {
    margin: 0;
    font-size: 2.1rem;
    color: #0f172a;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.contact-info-subtitle {
    margin: 0.5rem 0 0 0;
    color: #64748b;
    font-size: 0.98rem;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.contact-card {
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 1.2rem 1.2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    border: 1px solid rgba(2, 6, 23, 0.06);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: box-shadow .2s ease;
    text-align: left;
}

.contact-card:hover {
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.12);
}

.contact-card-inner {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1rem;
}

.contact-card-icon-email {
    background: rgba(2,132,199,.1);
    color: #0284c7;
}

.contact-card-icon-phone {
    background: rgba(34,197,94,.1);
    color: #16a34a;
}

.contact-card-icon-address {
    background: rgba(245,158,11,.12);
    color: #f59e0b;
}

.contact-card-icon-hours {
    background: rgba(244,63,94,.1);
    color: #f43f5e;
}

.contact-card-text {
    flex: 1;
}

.contact-card-title {
    color:#0f172a;
    font-weight: 800;
    letter-spacing: .02em;
}

.contact-card-link {
    text-decoration:none;
    font-weight:700;
}

.contact-card-link-email {
    color:#0284c7;
}

.contact-card-link-phone {
    color:#16a34a;
}

.contact-card-content {
    color:#64748b;
    font-size:.92rem;
    line-height:1.5;
}

.contact-card-orb {
    position:absolute;
    right:-25px;
    bottom:-25px;
    width:120px;
    height:120px;
    border-radius:50%;
    background: radial-gradient(circle, transparent 60%);
}

.contact-card-orb-email {
    background: radial-gradient(circle, rgba(14,165,233,.14), transparent 60%);
}

.contact-card-orb-phone {
    background: radial-gradient(circle, rgba(34,197,94,.14), transparent 60%);
}

.contact-card-orb-address {
    background: radial-gradient(circle, rgba(245,158,11,.14), transparent 60%);
}

.contact-card-orb-hours {
    background: radial-gradient(circle, rgba(244,63,94,.14), transparent 60%);
}

.contact-faq-section {
    margin-bottom: 3rem;
}

.contact-faq-header {
    display:flex;
    align-items:center;
    gap:.6rem;
    margin-bottom:1.2rem;
}

.contact-faq-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(59,130,246,.12);
    color: #2563eb;
    font-size: 1.1rem;
}

.contact-faq-title {
    margin: 0;
    color: #0f172a;
    font-weight:900;
    letter-spacing:.01em;
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .9rem;
}

.contact-faq-item {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border:1px solid rgba(2,6,23,.06);
    border-radius:14px;
    padding:1rem 1.1rem;
    box-shadow:0 10px 26px rgba(2,6,23,.06);
    transition: box-shadow .2s ease;
}

.contact-faq-item:hover {
    box-shadow: 0 16px 40px rgba(2,6,23,.12);
}

.contact-faq-item-title {
    font-weight:800;
    color:#0f172a;
    margin-bottom:.35rem;
}

.contact-faq-item-content {
    color:#64748b;
    line-height:1.6;
}

.contact-cta {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    color: white;
    border: none;
}

.contact-cta-body {
    text-align: center;
    padding: 2.5rem;
}

.contact-cta-title {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-cta-title-primary {
    color: white;
    font-style: italic;
    font-weight: 700;
}

.contact-cta-title-secondary {
    color: #4caf50;
    font-style: italic;
    font-weight: 700;
}

.contact-cta-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta-button {
    background: white;
    color: #00bcd4;
    font-weight: 600;
    padding: 0.75rem 2rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    .books-filter-form {
        grid-template-columns: 1fr;
    }

    .about-visi-misi-row {
        grid-template-columns: 1fr;
    }

    .about-features-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .contact-cards-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .contact-faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .page-header-title {
        font-size: 2rem;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

    .about-features-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-faq-grid {
        grid-template-columns: 1fr;
    }

    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
