:root {
    --bg-light: #f3f4f6;
    --text-dark: #1a2028;
    --accent: #70c2d2;
    --orange: #fd8814;
    --warm-gray: #b0ada8;
    --blue: #5fa9b8;
    --footer-dark: #2d3748;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Color Utilities */
.bg-accent {
    background-color: var(--accent) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-orange {
    background-color: var(--orange) !important;
}

.text-orange {
    color: var(--orange) !important;
}

.bg-warm-gray {
    background-color: var(--warm-gray) !important;
}

.bg-blue {
    background-color: var(--blue) !important;
}

/* Button Styles */
.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--blue);
    border-color: var(--blue);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-accent {
    border-color: var(--accent);
    color: var(--accent);
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 4rem 0;
}

.author-portrait {
    text-align: center;
    position: relative;
}

.portrait-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--accent) 0%, var(--blue) 100%);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(112, 194, 210, 0.3);
}

/*.portrait-placeholder::after {*/
/*    content: "Froon Akker";*/
/*    font-family: 'Playfair Display', serif;*/
/*}*/

/* Book Sections */
.new-book-section {
    padding: 4rem 0;
    background: white;
}

.book-cover {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, var(--warm-gray) 0%, #9c9891 100%);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    text-align: center;
    padding: 2rem;
}

.book-cover::after {
    content: "De Schaduw van de Wind";
}

.book-cover-small {
    width: 120px;
    height: 180px;
    background: linear-gradient(45deg, var(--warm-gray) 0%, #9c9891 100%);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 1rem;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    background-color: var(--warm-gray);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: var(--accent) !important;
}

/* Footer */
footer {
    background-color: var(--footer-dark) !important;
    margin-top: 4rem;
}

footer h5, footer h6 {
    color: white !important;
    margin-bottom: 1rem;
}

footer .text-muted {
    color: #a0aec0 !important;
}

footer a {
    color: #a0aec0 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent) !important;
}

footer ul li {
    margin-bottom: 0.5rem;
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.bg-orange {
    background-color: var(--orange) !important;
}

/* Markdown Body Styling */
.markdown-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.markdown-body p {
    margin-bottom: 1.5rem;
}

.markdown-body blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin-left: 0;
    font-style: italic;
    color: var(--warm-gray);
    background-color: rgba(112, 194, 210, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

/* Pagination */
.pagination .page-link {
    color: var(--accent);
    border-color: var(--accent);
    border-radius: 6px;
    margin: 0 2px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--accent);
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* Event Cards */
.event-card {
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent) !important;
}

.event-card:hover {
    transform: translateX(5px);
}

/* Blog Preview */
.blog-preview, .bibliography-preview, .events-section {
    padding: 4rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .portrait-placeholder {
        width: 200px;
        height: 200px;
        font-size: 1rem;
    }

    .book-cover {
        height: 300px;
        font-size: 1.2rem;
        margin-top: 2rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-section, .new-book-section, .blog-preview, .bibliography-preview, .events-section {
        padding: 2rem 0;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}