/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */

body {
    font-family: Georgia, serif;
    background: #ece8df;
    color: #1f2f29;
    line-height: 1.7;
}

/* CONTAINER */

.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}

/* HEADER */

.site-header {
    border-bottom: 1px solid #d7d1c5;
    background: #ece8df;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.brand {
    font-size: 2.4rem;
    font-weight: bold;
    text-decoration: none;
    color: #1f3b33;
}

.nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav a {
    text-decoration: none;
    color: #1f3b33;
    font-weight: 600;
}

.nav a:hover {
    color: #b68b2d;
}

/* HERO */

.hero {
    padding: 50px 0 30px;
}

.hero-card {
    background: #f7f5f1;
    border-radius: 24px;
    padding: 40px;
}

.eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b68b2d;
    margin-bottom: 14px;
    font-weight: bold;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1f3b33;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: #4d5f59;
}

.hero p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* SECTIONS */

.section {
    padding: 40px 0;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #1f3b33;
}

.section-heading p {
    max-width: 850px;
    font-size: 1.15rem;
}

/* BOOK GRID */

.book-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* BOOK CARD */

.book-card {
    display: flex;
    gap: 30px;
    background: #f7f5f1;
    border-radius: 24px;
    padding: 28px;
    align-items: center;
    border: 1px solid #ddd5c8;
}

/* COVER IMAGE */

.cover-image {
    width: 160px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cover-placeholder {
    width: 160px;
    min-height: 220px;
    border-radius: 12px;
    border: 1px solid #d4c8b6;
    background: #eee8dc;
    color: #4d5f59;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px;
    font-weight: bold;
}

/* BOOK CONTENT */

.book-content {
    flex: 1;
}

.book-content h3 {
    font-size: 2.1rem;
    margin-bottom: 14px;
    color: #1f3b33;
}

.book-content p {
    margin-bottom: 24px;
    font-size: 1.08rem;
}

/* BUTTONS */

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-block;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: bold;
    transition: 0.2s ease;
}

.button.primary {
    background: #1f3b33;
    color: white;
}

.button.primary:hover {
    background: #2d5246;
}

.button.secondary {
    background: #d9e1de;
    color: #1f3b33;
}

.button.secondary:hover {
    background: #c8d3cf;
}

/* FREE CARD */

.free-card {
    border-left: 6px solid #c89b2c;
}

/* FOOTER */

.site-footer {
    margin-top: 80px;
    border-top: 1px solid #d7d1c5;
    padding: 40px 0;
}

.footer-inner {
    text-align: center;
}

.footer-inner p {
    margin-bottom: 12px;
}

.footer-inner a {
    color: #1f3b33;
    text-decoration: none;
}

.footer-inner a:hover {
    text-decoration: underline;
}

/* MOBILE */

@media (max-width: 768px) {

    .hero-card {
        padding: 28px;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .section-heading h2 {
        font-size: 2.2rem;
    }

    .book-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .cover-image {
        width: 140px;
    }

    .cover-placeholder {
        width: 140px;
        min-height: 200px;
    }

    .book-content h3 {
        font-size: 1.8rem;
    }

    .button-row {
        flex-direction: column;
        width: 100%;
    }

    .button {
        width: 100%;
        text-align: center;
    }
}
