/* Typography */
body {
    font-family: 'Merriweather', serif;
    font-size: 1.15em;
    background-color: #e2e2d3;
    color: #222;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #2c3e50;
}

a {
    color: #222;
    text-decoration: underline;
}
a:hover {
    color: #222;
    text-decoration: underline;
}

/* Author header */
.author-header {
    background: linear-gradient(90deg, #e3e3e3 0%, #f8f9fa 100%);
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.author-header img {
    border-radius: 50%;
    max-width: 120px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.08);
}

.author-header h1 {
    margin-bottom: 0.5rem;
}

.author-header p {
    font-size: 1.2rem;
    color: #555;
}

/* Book cards */
.book-card {
    border: none;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
    transition: box-shadow 0.2s;
    background: #fff;
}
.book-card:hover {
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.13);
}

.book-card .card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #2c3e50;
}

.book-card .card-text {
    color: #444;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.95rem;
}

.site-footer a {
    color: #f8c471;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .author-header {
        padding: 1rem 0;
    }
    .author-header img {
        max-width: 80px;
    }
}

.navbar-custom .nav-link,
.navbar-custom .dropdown-toggle {
  color: white !important;
  font-size: 1.2rem; /* match this to other nav links */
  padding: 0.5rem 1rem; /* consistent spacing */
}

.navbar-custom .dropdown-menu {
  background-color: #343a40; /* dark like navbar */
}

.navbar-custom .dropdown-item {
  color: white;
}

.navbar-custom .dropdown-item:hover {
  background-color: #495057;
}

/* Ensure navbar items stack vertically when collapsed */
/* @media (max-width: 576px) {
    .navbar-collapse {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }
}
*/