:root {
    --primary-color: #bd1919;
    --text-color: #333;
    --text-muted: #666;
    --bg-color: #fff;
    --bg-light: #f9f9f9;
    --nav-bg: #fff;
    --border-color: #eee;
    --font-family: 'Open Sans', Arial, sans-serif;
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #9c1515;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

ul, ol {
    margin-left: 1.2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Header & Nav */
.site-header {
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    max-width: 250px;
    height: auto;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Main Content Area */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 60px 0;
}

.content-section {
    margin-bottom: 40px;
}

/* Specific Layouts */
.bio-image {
    max-width: 300px;
    float: left;
    margin: 0 20px 20px 0;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.book-image {
    max-width: 250px;
    float: right;
    margin: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.testimonial {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial cite {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    font-style: normal;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 16px;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(189, 25, 25, 0.2);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: #9c1515;
    color: #fff;
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: var(--border-radius);
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.site-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--nav-bg);
        padding: 20px;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .bio-image, .book-image {
        float: none;
        margin: 0 auto 20px auto;
        display: block;
    }
}
