@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

body {
    font-family: 'Lora', serif;
    background-color: #f9f7f1;
    color: #4a4a4a;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: #2c2c2c;
}

/* Header/Hero */
header {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, #f9f7f1, #f0ede6);
    border-bottom: 1px solid #e0e0e0;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

header p {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

/* Nav specific for Author page */
.main-nav {
    background-color: rgba(249, 247, 241, 0.95);
    border-bottom: 1px solid #eee;
}

.main-nav a {
    color: #555;
    font-family: 'Playfair Display', serif;
}

.main-nav a:hover,
.main-nav a.active {
    color: #bfa05f;
    /* Gold accent */
}

/* Content */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.bio-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.bio-section img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    /* Slight softening but mostly rectangle for classic feel */
    box-shadow: 10px 10px 0px #e6e2d8;
}

.bio-text {
    flex: 1;
}

.bio-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.bio-text h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 2px;
    background-color: #bfa05f;
    margin-top: 5px;
}

.bio-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Sagas Preview Section */
.sagas-preview {
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid #e0e0e0;
}

.sagas-preview h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.saga-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.saga-card {
    background: #fff;
    padding: 2rem;
    border: 1px solid #eee;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.saga-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #bfa05f;
}

.saga-card img {
    height: 200px;
    width: auto;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.saga-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.saga-card p {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.btn-discover {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid #bfa05f;
    color: #bfa05f;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-discover:hover {
    background-color: #bfa05f;
    color: #fff;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #2c2c2c;
    color: #fff;
    font-size: 0.9rem;
}

footer a {
    color: #bfa05f;
}

/* Contact */
.contact-section {
    text-align: center;
    margin-bottom: 4rem;
}

.social-links {
    margin-top: 1rem;
    font-size: 1.5rem;
}

.social-links a {
    margin: 0 10px;
    color: #4a4a4a;
}

.social-links a:hover {
    color: #bfa05f;
}

/* Responsiveness */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .bio-section {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .bio-section img {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }

    .bio-text h2::after {
        margin-left: auto;
        margin-right: auto;
    }

    .saga-card {
        width: 100%;
        max-width: 350px;
    }
}