/* File: assets/css/style.css */

/* 1. Reset & Global Font */
body {
    background-color: #f4f6f9; /* Abu-abu sangat muda biar tidak silau */
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: #333;
}

/* 2. Navbar Modern (Transparan ke Biru) */
.navbar {
    background: #0d6efd; /* Biru Bootstrap */
    box-shadow: none; /* Hilangkan shadow navbar bawaan */
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

/* 3. Hero Section (Lengkungan Elegan) */
.hero-section {
    background: linear-gradient(180deg, #0d6efd 0%, #0043a8 100%);
    color: white;
    padding-top: 2rem;
    padding-bottom: 5rem; /* Ruang lebih untuk lengkungan */
    border-radius: 0 0 50% 50% / 40px; /* Efek lengkung di bawah */
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* 4. Search Box yang Menonjol */
.search-container {
    margin-top: -3.5rem; /* Menarik search box ke atas agar menumpuk background */
    position: relative;
    z-index: 2;
    padding: 0 15px;
}
.input-group-lg > .form-control {
    border-radius: 50px 0 0 50px;
    padding-left: 1.5rem;
    font-size: 1rem;
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Bayangan halus */
}
.input-group-lg > .btn {
    border-radius: 0 50px 50px 0;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    background: white;
    color: #0d6efd;
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.input-group-lg > .btn:hover {
    background: #f8f9fa;
    color: #0a58ca;
}

/* 5. Kartu Info Lokasi & Buku */
.card-info-lokasi {
    border: none;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.card-book {
    border: none;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.card-book:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.book-cover {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* 6. Section Titles */
.section-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0;
    font-size: 1.1rem;
}
.section-link {
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
}

/* 7. Empty State (Jika buku kosong) */
.empty-state {
    padding: 3rem 1rem;
    text-align: center;
    background: white;
    border-radius: 15px;
    margin-top: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.empty-state i {
    color: #dee2e6;
    margin-bottom: 1rem;
}