/* === General Reset and Font === */
body {
    font-family: 'Times New Roman', serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

/* === Reuse Header + Navbar from shared layout === */
.header {
    padding: 30px 1px 1px;
    text-align: center;
    background: #1A3C34;
    color: white;
    position: relative;
    min-height: 115px;
    z-index: 10;
}

.logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1A3C34;
    height: 70px;
    z-index: 1;
}

.navbar {
    overflow: visible;
    background-color: #f0f0f0;
    border: 2px solid #f0f0f0;
    position: relative;
    z-index: 20;
}

.navbar a {
    float: left;
    display: block;
    color: #1A3C34;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}

.navbar a:hover,
.dropbtn:hover {
    background-color: rgba(12, 135, 111, 0.967);
    color: white;
}

.dropdown {
    position: relative;
    display: inline-block;
    float: left;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f0f0f0;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 30;
}

.dropdown-content a {
    color: #1A3C34;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* === Main Content Styling === */
.content {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.section {
    margin-bottom: 60px;
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
    border-left: 5px solid #1A3C34;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

.section h2 {
    font-size: 2em;
    color: #1A3C34;
    border-bottom: 2px solid #1A3C34;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.entry {
    margin-bottom: 30px;
}

.entry h3 {
    font-size: 1.5em;
    color: #2A5C52;
    margin-bottom: 5px;
}

.entry p {
    font-size: 1em;
    color: #333;
    margin: 8px 0;
}

.entry a {
    color: #1A3C34;
    text-decoration: underline;
}

.entry a:hover {
    color: rgba(12, 135, 111, 0.967);
}

/* === Footer === */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #1A3C34;
    color: white;
    margin-top: 40px;
}

/* === Responsive === */
@media screen and (max-width: 768px) {
    .content {
        padding: 20px 10px;
    }
    .section h2 {
        font-size: 1.7em;
    }
    .entry h3 {
        font-size: 1.3em;
    }
}

.section-nav {
    clear:both;
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: #f0f0f0;
    padding: 10px 0;
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    margin-top: 20px;
    margin-bottom: 20px;
    z-index: 25;
    position: sticky;
    top: 0;
}

.section-nav a {
    margin: 0 15px;
    padding: 10px 20px;
    color: #1A3C34;
    text-decoration: none;
    font-weight: bold;
    background-color: white;
    border: 1px solid #1A3C34;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.section-nav a:hover {
    background-color: rgba(12, 135, 111, 0.967);
    color: white;
    border-color: rgba(12, 135, 111, 0.967);
}

html {
    scroll-behavior: smooth;
}

.book-entry {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.book-cover {
    width: 120px;
    height: auto;
    margin-right: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.book-details {
    flex: 1;
}

.star-rating {
    font-size: 1.2em;
    color: gold;
    margin: 5px 0;
}

.book-summary,
.book-reflection {
    color: #333;
    margin: 10px 0;
}
