/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Header */
header {
    background-color: #1b1f3b;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    align-items: center;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header ul {
    list-style: none;
    display: flex;
}

header ul li {
    margin-left: 15px;
}

header ul li a {
    text-decoration: none;
    color: white;
}

/* Home Section */
#home {
    text-align: center;
    padding: 100px 20px;
    background-color: #f0f0f0;
}

#home h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

#home p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    padding: 10px 20px;
    background-color: #1b1f3b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* About and Contact */
#about, #contact {
    padding: 50px 20px;
    text-align: center;
}

#contact form {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: 0 auto;
}

#contact input, #contact textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact button {
    padding: 10px;
    background-color: #1b1f3b;
    color: white;
    border: none;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #1b1f3b;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Book Page Styles */
#book-details {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.book-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin: 0 auto;
    max-width: 900px;
}

.book-cover {
    width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.book-info {
    max-width: 500px;
}

.book-info h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.author {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-purchase {
    background-color: #1b1f3b;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-purchase:hover {
    background-color: #3a416f;
}

/* Reviews Section */
#reviews {
    background-color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    margin-top: 30px;
}

.review {
    margin-bottom: 10px;
}

footer {
    background-color: #1b1f3b;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Book Listings Section */
#book-listings {
    padding: 50px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

#book-listings h1 {
    margin-bottom: 30px;
    font-size: 36px;
}

.book-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    max-width: 800px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.book-image {
    width: 200px;
    height: auto;
}

.book-description {
    padding: 20px;
    text-align: left;
}

.book-description h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.book-description p {
    line-height: 1.6;
}

/* Book Listings Section */
#book-listings {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#book-listings h1 {
    margin-bottom: 30px;
    font-size: 36px;
}

.book-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 20px auto;
    max-width: 900px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.book-image {
    width: 150px;
    height: auto;
    margin: 10px;
}

.book-info {
    padding: 20px;
    text-align: left;
}

.book-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.book-info p {
    line-height: 1.6;
}

/* Contact Us Section */
#contact {
    padding: 50px 20px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#contact h1 {
    margin-bottom: 20px;
    font-size: 32px;
}

#contact p {
    margin: 10px 0;
    font-size: 18px;
}

a {
    color: #1b1f3b;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


