* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #fff8f0;
    color: #5A3E36;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #eed6d3;
    padding: 15px 40px;
}

.logo {
    width: 180px;
    height: auto;
}

.navbar ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

.navbar a {
    color: #5A3E36;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.navbar a:hover {
    color: #a86d63;
}

/* HERO */
.hero {
    position: relative;
}

.hero_img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    display: block;
}

.heroe-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #eed6d3;
    color: #5A3E36;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.heroe-text h1 {
    font-size: 50px;
}

.heroe-text p {
    font-size: 22px;
}

/* GENERAL CONTAINER */
.container {
    text-align: center;
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.title {
    text-align: center;
    color: #5A3E36;
    margin-bottom: 10px;
}

.paragraf {
    color: #5A3E36;
    padding: 15px;
}

/* SECTIONS */
#section-1,
#section-3 {
    background-color: #f5e8e6;
    padding: 40px 0;
}

/* BOOK CARDS */
.books,
.book-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.book-card {
    width: 260px;
    border: 3px solid #5A3E36;
    border-radius: 15px;
    padding: 15px;
    background-color: #fff8f0;
    text-align: center;
}

.book-card img,
.books_img,
.book-img {
    width: 130px;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.book-card h2,
.book-card h3 {
    color: #5A3E36;
    margin-bottom: 10px;
}

.book-card p {
    color: #5A3E36;
    font-size: 15px;
    line-height: 1.5;
}

.book-card span img {
    width: 16px;
    height: 16px;
    padding: 0;
    margin-top: 10px;
}

/* AUTHOR SECTION */
.container-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 50px;
    background-color: #fff8f0;
}

.author-left img {
    width: 350px;
    border-radius: 15px;
}

.author-right {
    max-width: 600px;
    color: #5A3E36;
}

.author-right h1 {
    margin-bottom: 15px;
}

.author-right p {
    line-height: 1.8;
}

.librat {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.librat img {
    width: 100px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* BOOKS PAGE */
.books1 {
    background-color: #fff8f0;
    padding: 50px 20px;
    text-align: center;
}

.books1 h2 {
    color: #5A3E36;
    margin-bottom: 30px;
}

.see-more {
    background-color: #e2b1ad;
    color: #5A3E36;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    margin: 20px;
}

.see-more:hover {
    background-color: #d69b96;
}

/* CONTACT PAGE */
.Contact {
    background-color: #eed6d3;
    color: #5A3E36;
    min-height: 80vh;
    padding: 60px 20px;
    text-align: center;
}

.contact-box {
    background-color: #fff8f0;
    max-width: 650px;
    margin: auto;
    padding: 35px;
    border-radius: 20px;
    border: 2px solid #e2b1ad;
}

.contact-box h5 {
    font-size: 35px;
    margin-bottom: 20px;
}

.contact-box p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.contact-box ul {
    list-style-position: inside;
    margin-bottom: 20px;
}

.contact-box li {
    margin: 8px 0;
}

.email {
    font-weight: bold;
    font-size: 18px;
}

.Contact input,
.Contact textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2b1ad;
    border-radius: 10px;
    font-size: 16px;
    margin: 8px 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.Contact textarea {
    height: 130px;
    resize: none;
}

.Contact button {
    background-color: #e2b1ad;
    color: #5A3E36;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.Contact button:hover {
    background-color: #d69b96;
}

#success-message {
    color: green;
    font-weight: bold;
    margin-top: 15px;
}

/* ABOUT PAGE */
.about {
    background-color: #eed6d3;
    color: #5A3E36;
    padding: 60px 20px;
    text-align: center;
    min-height: 80vh;
}

.about h1,
.about h2 {
    color: #5A3E36;
    margin-bottom: 20px;
}

.team-img {
    width: 300px;
    border-radius: 15px;
    margin: 20px auto;
    display: block;
}

.about p {
    max-width: 750px;
    margin: 20px auto;
    line-height: 1.8;
    font-size: 17px;
}

/* FOOTER */
.footer-section {
    background-color: #e2b1ad;
    color: #5A3E36;
    padding: 35px 20px;
    text-align: center;
    margin-top: 50px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 10px;
}

.footer-section p {
    margin: 8px 0;
}

.footer-section a {
    color: #5A3E36;
    text-decoration: none;
    font-weight: bold;
}

.logo-2 {
    width: 160px;
    height: auto;
    margin: 10px 0;
}

.copyright {
    margin-top: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .navbar ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .hero_img {
        height: 500px;
    }

    .heroe-text h1 {
        font-size: 32px;
    }

    .heroe-text p {
        font-size: 18px;
    }

    .container-author {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .author-left img {
        width: 100%;
        max-width: 350px;
    }

    .book-card {
        width: 90%;
    }
}