:root {
    --primary: #1a1a1a;
    --secondary: #666;
    --accent: #2a5d84;
    --background: #fafafa;
    --white: #ffffff;
    --border: #e5e5e5;
}

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

body {
    font-family: 'Karla', -apple-system, sans-serif;
    color: var(--primary);
    background: var(--background);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    z-index: 100;
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--primary);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--secondary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-image {
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero h1 strong {
    font-weight: 600;
    display: block;
}

.hero p {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: #1f4a6a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 93, 132, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Page Header */
.page-header {
    padding: 10rem 0 4rem;
    background: var(--white);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--secondary);
}

/* Section Styling */
section {
    padding: 7rem 0;
}

section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent);
}

/* Overview Section (Homepage) */
.overview {
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.overview-card {
    padding: 2rem;
    background: var(--background);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.overview-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.overview-card p {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.expertise-areas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.expertise-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.expertise-item p {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* Writings Section */
.writings {
    background: var(--background);
}

.writings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.writing-card {
    background: var(--white);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.writing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.writing-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.writing-card .meta {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.writing-card p {
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.writings-note {
    margin-top: 3rem;
    text-align: center;
    color: var(--secondary);
}

.writings-note a {
    color: var(--accent);
    text-decoration: none;
}

.writings-note a:hover {
    text-decoration: underline;
}

/* Book Reviews Section */
.books {
    background: var(--background);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.book-card {
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.book-cover {
    width: 100%;
    background: var(--background);
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover img {
    width: 100%;
    max-width: 180px;
    height: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.book-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.book-author {
    color: var(--secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.book-meta {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.book-excerpt {
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.book-card .read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.book-card .read-more:hover {
    text-decoration: underline;
}

.books-note {
    margin-top: 3rem;
    text-align: center;
    color: var(--secondary);
}

.books-note a {
    color: var(--accent);
    text-decoration: none;
}

.books-note a:hover {
    text-decoration: underline;
}

/* Speaking Section */
.speaking {
    background: var(--white);
}

.speaking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.speaking-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.speaking-info p {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.topics {
    list-style: none;
}

.topics li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--secondary);
}

.topics li:last-child {
    border-bottom: none;
}

.topics li strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.25rem;
}

.speaking-features {
    display: grid;
    gap: 1.5rem;
}

.feature-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Form */
.form-container {
    background: var(--background);
    padding: 2.5rem;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

input, textarea, select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: 'Karla', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.form-container .btn {
    width: 100%;
    cursor: pointer;
    border: none;
}

/* CTA Section */
.cta-section {
    background: #f0f0f0;
    color: var(--primary);
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.cta-section h2::after {
    display: none;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: var(--secondary);
}

.cta-section .btn-primary {
    background: var(--accent);
    color: var(--white);
}

.cta-section .btn-primary:hover {
    background: #1f4a6a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 93, 132, 0.2);
}

.cta-section .btn-secondary {
    border-color: var(--primary);
    color: var(--primary);
}

.cta-section .btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: block;
    text-align: center;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        gap: 1.5rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 100%;
    }

    .hero {
        min-height: 70vh;
    }

    .about-content,
    .speaking-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .expertise-areas {
        grid-template-columns: 1fr;
    }

    .writings-grid {
        grid-template-columns: 1fr;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 4rem 0;
    }

    .page-header {
        padding: 8rem 0 3rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Fade-in animation for sections */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Add these styles to your existing styles.css file */

/* Featured Series Section */
.featured-series {
    background: var(--white);
    padding: 5rem 0;
}

.series-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.series-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.series-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.series-header h2::after {
    display: none;
}

.series-description {
    font-size: 1.15rem;
    color: var(--secondary);
    line-height: 1.6;
}

/* Series Card Styling */
.series-card {
    position: relative;
    border-left: 3px solid var(--accent);
}

.series-card:hover {
    border-left-color: #1f4a6a;
}

.series-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

/* Coming Soon State */
.coming-soon {
    opacity: 0.6;
    pointer-events: none;
    cursor: default;
    border-left-color: var(--border);
}

.coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
}

.coming-soon-text {
    color: var(--secondary);
    font-weight: 600;
    font-style: italic;
}

/* Other Writings Section */
.other-writings {
    background: var(--background);
    padding: 5rem 0;
}

.other-writings h2 {
    margin-bottom: 3rem;
}

/* Article Page Styles */
.article-header {
    background: var(--white);
    padding: 10rem 0 4rem;
    border-bottom: 1px solid var(--border);
}

.article-meta-top {
    text-align: center;
    margin-bottom: 2rem;
}

.article-series-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-series-link:hover {
    text-decoration: underline;
}

.article-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    color: var(--secondary);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Article Content */
.article-content {
    padding: 5rem 0;
    background: var(--white);
}

.article-body {
    max-width: 740px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-body strong {
    color: var(--primary);
    font-weight: 600;
}

.article-body em {
    font-style: italic;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--secondary);
}

.article-body li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-body blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--accent);
    background: var(--background);
    font-style: italic;
    color: var(--secondary);
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

/* Key Takeaway Box */
.key-takeaway {
    background: var(--background);
    border: 2px solid var(--accent);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 2px;
}

.key-takeaway h3 {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.key-takeaway p:last-child {
    margin-bottom: 0;
}

/* Article Navigation */
.article-nav {
    background: var(--background);
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.article-nav-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.nav-card {
    background: var(--white);
    padding: 1.5rem;
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.nav-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-label {
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.nav-card h4 {
    font-size: 1.1rem;
    font-family: 'Fraunces', serif;
    color: var(--primary);
}

.nav-card.next {
    text-align: right;
}

/* Share Section */
.article-share {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.article-share h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.75rem 1.5rem;
    background: var(--background);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .featured-series,
    .other-writings {
        padding: 3rem 0;
    }

    .series-header {
        margin-bottom: 2.5rem;
    }

    .article-nav-content {
        grid-template-columns: 1fr;
    }

    .nav-card.next {
        text-align: left;
    }

    .article-body {
        padding: 0 1.5rem;
    }

    .article-body h2 {
        font-size: 1.75rem;
        margin: 2rem 0 1rem;
    }

    .article-body h3 {
        font-size: 1.35rem;
    }
}
