/* 1. Global Setup & Variables */
:root {
    --bg-color: #FFFFFF;
    --text-primary: #111111;
    --text-secondary: #555555;
    --accent-color: #8c7242;
    --accent-hover: #715737;
    --border-color: #EAEAEA;

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 800px;
    --border-radius: 8px;
}

/* Basic Reset & Body Styling */
body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    margin: 0;
    padding: 40px 20px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* 2. Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

p {
    margin: 1em 0;
    color: var(--text-secondary);
}

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

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

/* 3. Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: #2f2119;
}
.hero h3 {
    color: #534030;
}

.hero .subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 24px;
    margin-top: 5px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--border-color);
}

.cta-button.secondary:hover {
    background-color: var(--border-color);
    color: var(--accent-hover);
}


/* 4. About Section */
.about {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    padding: 40px 0;
    font-size: 1.1rem;
    border-top: 1px solid var(--border-color);
}

/* 5. Projects Section */
.projects {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.projects h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.project-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 32px;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.project-card .tagline {
    font-size: 1rem;
    margin: 0 0 16px 0;
    font-style: italic;
}

.project-card .note {
    font-size: 0.9rem;
    color: #777;
    background-color: #f9f9f9;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tech-stack span {
    background-color: #f0f0f0;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 12px;
}

.project-links {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.project-button {
    display: inline-block;
    background-color: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.project-button:hover {
    background-color: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
}

.project-button.secondary {
    background-color: transparent;
    color: var(--text-secondary);
}

.project-button.secondary:hover {
    background-color: #f9f9f9;
    color: var(--text-primary);
}

.key-decisions h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.key-decisions ul {
    padding-left: 20px;
    margin: 0;
}

.key-decisions li {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.key-decisions li b {
    color: var(--text-primary);
}

/* 6. Footer */
.footer {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.footer h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.footer p {
    max-width: 500px;
    margin: 0 auto 32px auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* 7. Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .project-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}