/* ---------- GLOBAL STYLES ---------- */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- HEADER ---------- */
header {
    background-color: #1e3a8a;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

nav a {
    margin-left: 20px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* ---------- HERO SECTION ---------- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url("../img/bg-imp.png");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
}

.hero button {
    margin-top: 20px;
    padding: 12px 25px;
    border: none;
    background-color: #f59e0b;
    color: #000;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.hero button:hover {
    background-color: #fbbf24;
}

/* ---------- SECTION ---------- */
section {
    padding: 50px 30px;
    max-width: 1100px;
    margin: auto;
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* ---------- BOOKS ---------- */
.books {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.book {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.book img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
}

.book h3 {
    margin: 10px 0 5px;
}

/* ---------- CONTACT ---------- */
.contact {
    text-align: center;
}

.contact input, .contact textarea {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin: 10px 0;
}

.contact button {
    padding: 10px 20px;
    background-color: #1e3a8a;
    color: white;
    border: none;
    cursor: pointer;
}

/* ---------- FOOTER ---------- */
footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 15px;
}