
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #fffaf4;
    color: #29231f;
}

/* Navbar */
header {
    background: white;
    padding: 20px 8%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    color: #29231f;
}

.logo span {
    color: #c17c49;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar ul a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.nav-btn, .btn {
    background: #c17c49;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 70px 8%;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.tag {
    color: #c17c49;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #c17c49;
}

.hero-text p {
    line-height: 1.8;
    margin-bottom: 30px;
    color: #666;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
}

/* Categories */
.categories, .books {
    padding: 60px 8%;
    text-align: center;
}

.categories h2, .books h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-list div {
    background: #f3e5d7;
    padding: 25px;
    border-radius: 10px;
    font-weight: bold;
}

/* Books */
.subtitle {
    color: #777;
    margin-bottom: 35px;
}

.book-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.book-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px #00000010;
    transition: 0.3s;
}

.book-card:hover {
    transform: translateY(-8px);
}

.book-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 8px;
}

.book-card h3 {
    margin: 15px 0 8px;
}

.book-card p {
    color: #777;
}

.book-card h4 {
    color: #c17c49;
    margin: 15px;
    font-size: 20px;
}

.book-card button {
    background: #c17c49;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
}

/* About */
.about {
    background: #f3e5d7;
    text-align: center;
    padding: 60px 15%;
}

.about h2 {
    margin-bottom: 20px;
}

.about p {
    line-height: 1.8;
    color: #555;
}

/* Footer */
footer {
    background: #29231f;
    color: white;
    text-align: center;
    padding: 30px;
}

footer h2 {
    color: #d69a69;
    margin-bottom: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .navbar ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .category-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .book-container {
        grid-template-columns: 1fr;
    }
}
