/* Desswood Advisors Website Styles */

/* Color Palette from Logo */
:root {
    --forest-green: #1B5E3E;
    --sage-green: #8FAE5D;
    --white: #FFFFFF;
    --light-gray: #F8F8F8;
    --medium-gray: #666666;
    --dark-gray: #333333;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--forest-green);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--forest-green);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

a {
    color: var(--forest-green);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--sage-green);
}

/* Navigation */
.main-nav {
    background-color: var(--forest-green);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.logo-link {
    display: block;
    line-height: 0;
}

.logo {
    height: 120px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--sage-green);
}

/* Hero Section */
.hero {
    padding: 4rem 0 3rem;
    background-color: var(--white);
}

.hero-text {
    max-width: 900px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

/* Featured Book Section */
.featured-book {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.book-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.placeholder-cover {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--sage-green) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 2rem;
    text-align: center;
    border-radius: 4px;
}

.placeholder-cover p {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.placeholder-cover .small {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
}

.book-text {
    padding-top: 1rem;
}

.book-text .subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--forest-green);
    color: var(--white);
    border-radius: 4px;
    font-weight: 500;
    margin-top: 1rem;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: var(--sage-green);
    color: var(--white);
}

/* Recent Writing Section */
.recent-writing {
    padding: 4rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.article-card {
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-card h3 a {
    color: var(--forest-green);
}

.article-card h3 a:hover {
    color: var(--sage-green);
}

.article-meta {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.view-all {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 2rem;
}

.view-all a {
    font-weight: 500;
}

/* Writing Archive Page */
.writing-intro {
    padding: 3rem 0 2rem;
}

.articles-list {
    padding: 2rem 0 4rem;
}

.article-item {
    padding: 2rem 0;
    border-bottom: 1px solid #E0E0E0;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item h3 {
    margin-bottom: 0.5rem;
}

/* About Page */
.about-section {
    padding: 3rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.headshot {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-section h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.about-section h2:first-child {
    margin-top: 0;
}

.about-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.about-section li {
    margin-bottom: 0.5rem;
}

/* Book Page */
.book-page {
    padding: 3rem 0 4rem;
}

.book-page-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.book-details h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.book-details ul {
    margin-left: 1.5rem;
}

/* Contact Page */
.contact-section {
    padding: 3rem 0 4rem;
}

.contact-info {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 4px;
    margin-top: 2rem;
    max-width: 600px;
}

.contact-info p {
    margin-bottom: 0.75rem;
}

.contact-info a {
    font-weight: 500;
}

/* Footer */
footer {
    background-color: var(--forest-green);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

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

    .headshot {
        width: 200px;
        height: 200px;
        margin: 0 auto;
        display: block;
    }

    .placeholder-cover {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .hero {
        padding: 2rem 0;
    }

    .hero-text {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-wrap: wrap;
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .container {
        padding: 0 15px;
    }
}
