/* IMPORT FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Inter:wght@300;400;500&display=swap');

/* BASE */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #b0b5b5, #66707d);
    min-height: 100vh;
}

/* NAVBAR */
.navbar {
    background: rgb(151, 154, 154);
    padding: 15px 30px;
    color: rgb(248, 250, 250);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.navbar h1 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.navbar a {
    margin-left: 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.navbar a:hover {
    opacity: 0.7;
}

/* LOGIN BUTTON */
.btn-login {
    background: white;
    color: #004aad !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
}

/* HERO */
.hero {
    text-align: center;
    padding: 140px 20px;
}

.hero h2 {
    font-size: 40px;
    font-family: 'Poppins', sans-serif;
    color: #003a7a;
}

.hero p {
    max-width: 600px;
    margin: auto;
}

.btn-primary {
    background: #004aad;
    color: white;
    padding: 12px 26px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-4px);
    opacity: 0.9;
}

/* BOOK LIST */
.book-list {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.book-card {
    background: white;
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.15);
    transition: 0.3s;
    text-align: center;
}

.book-card:hover {
    transform: translateY(-6px);
}

.book-card img {
    width: 100%;
    border-radius: 10px;
}

/* LOGIN */
.login-box {
    width: 320px;
    margin: 120px auto;
    padding: 25px;
    background: white;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.login-box button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    border: none;
    background: #004aad;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.login-box button:hover {
    opacity: 0.85;
}

/* DASHBOARD */
.dashboard {
    width: 350px;
    margin: 120px auto;
    padding: 30px;
    background: white;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: #777;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}
