/* Cedar Savage Press - Main Stylesheet */

/* Color Variables */
:root {
    --forest-dark: #2d3a2e;
    --forest-green: #4a6741;
    --cedar-brown: #8b6f47;
    --warm-tan: #c9b299;
    --cream: #f4ebe1;
    --paper: #faf7f2;
    --text-dark: #2a2520;
    --accent-rust: #a0522d;
}

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

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    background: var(--paper);
    line-height: 1.7;
    font-size: 18px;
}

/* Subtle Paper Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(139, 111, 71, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(139, 111, 71, 0.03) 3px
        );
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}


/* nav-links */

.nav-links {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* error-message */

.error-message {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.error-message strong {
    color: var(--accent-rust);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
}






/* Header */
header {
    background: var(--forest-dark);
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cream);
    text-decoration: none;
    letter-spacing: 1px;
}



/* contact me */

.contact-line {
    margin-top: 2rem;
    margin-bottom: 5rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.contact-line a {
    color: var(--forest-green);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--cedar-brown);
    transition: color 0.3s ease;
}

.contact-line a:hover {
    color: var(--accent-rust);
}





/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--forest-dark) 100%);
    color: var(--cream);
    padding: 8rem 5% 6rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--paper));
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero .tagline {
    font-size: 1.4rem;
    color: var(--warm-tan);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: var(--accent-rust);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid var(--accent-rust);
}

.cta-button:hover {
    background: transparent;
    border-color: var(--cream);
    color: var(--cream);
    transform: translateY(-2px);
}

/* Main Content Sections */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 5%;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--forest-dark);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--cedar-brown);
}

.content-section p {
    margin-bottom: 1.5rem;
}

/* Two Column Sections */
.two-column-section {
    background: var(--cream);
    padding: 5rem 5%;
}

.two-column-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.column {
    background: white;
    padding: 3rem;
    border-left: 4px solid var(--forest-green);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.column:last-child {
    border-left-color: var(--accent-rust);
}

.column h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    color: var(--forest-dark);
    margin-bottom: 2rem;
}

.column ul {
    list-style: none;
}

.column li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--warm-tan);
    font-size: 1.05rem;
    line-height: 1.7;
}

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

/* About Section */
.about-section {
    background: var(--forest-dark);
    color: var(--cream);
    padding: 5rem 5%;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--warm-tan);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Services Section (Index Page) */
.services-section {
    background: var(--cream);
    padding: 5rem 5%;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.services-intro h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    color: var(--forest-dark);
    margin-bottom: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 3rem;
    border-top: 4px solid var(--forest-green);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-card:last-child {
    border-top-color: var(--accent-rust);
}

.service-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    color: var(--forest-dark);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-card li {
    padding: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.service-link {
    display: inline-block;
    color: var(--forest-dark);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--forest-green);
    transition: all 0.3s ease;
}

.service-card:last-child .service-link {
    border-color: var(--accent-rust);
}

.service-link:hover {
    background: var(--forest-dark);
    color: var(--cream);
    border-color: var(--forest-dark);
}

/* Approach Section (Index Page) */
.approach-section {
    background: white;
    padding: 5rem 5%;
}

.approach-content {
    max-width: 900px;
    margin: 0 auto;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.approach-item {
    padding: 2rem;
    background: var(--cream);
    border-left: 3px solid var(--cedar-brown);
}

.approach-item h3 {
    font-family: 'Crimson Pro', serif;
    color: var(--forest-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Results Section (Copywriting Page) */
.results-section {
    background: white;
    padding: 5rem 5%;
}

.results-content {
    max-width: 900px;
    margin: 0 auto;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.result-item {
    padding: 1.5rem;
    background: var(--cream);
    border-left: 3px solid var(--cedar-brown);
}

.result-item h3 {
    font-family: 'Crimson Pro', serif;
    color: var(--forest-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Final CTA Section */
.final-cta {
    background: var(--cedar-brown);
    color: white;
    padding: 5rem 5%;
    text-align: center;
}

.final-cta h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .cta-button {
    background: white;
    color: var(--cedar-brown);
    border-color: white;
}

.final-cta .cta-button:hover {
    background: transparent;
    color: white;
}

/* Footer */
footer {
    background: var(--forest-dark);
    color: var(--warm-tan);
    padding: 2rem 5%;
    text-align: center;
}

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

    .hero .tagline {
        font-size: 1.2rem;
    }

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

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

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

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

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

    body {
        font-size: 16px;
    }
}