/* Minimalistic Black & Tan Theme */
:root {
    --bg-color: #faf8f3;
    --text-color: #000000;
    --border-color: #000000;
}

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

body {
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Main Content */
main {
    margin-top: 0;
}

section {
    padding: 2rem 2rem;
    max-width: 800px;
    margin: 0;
    margin-left: 2rem;
    min-height: auto;
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding-top: 6rem;
    padding-bottom: 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1rem;
    margin-top: 1rem;
}

/* Section Headings */
h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: normal;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* About Section */
#about p {
    margin-bottom: 1rem;
}

/* Portfolio Section */
.portfolio-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.portfolio-item h3 {
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.portfolio-item p {
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Tidy up lists inside portfolio items (coursework lists) */
.portfolio-item ul {
    list-style-position: outside;
    padding-left: 1.25rem; /* slightly indented */
    margin-top: 0.5rem;
}

.portfolio-item li {
    margin: 0.25rem 0; /* tighter vertical spacing */
    line-height: 1.5;
}

/* Literature Subsections */
.subsection {
    margin-bottom: 3rem;
}

.subsection h3 {
    font-size: 1.1rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subsection .portfolio-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

/* Leadership Section - Tighter Spacing */
#leadership .portfolio-item {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

/* Contact Section */
#contact a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

/* Footer */
footer {
    background-color: var(--bg-color);
    color: var(--text-color);
    text-align: left;
    padding: 2rem;
    margin-top: 2rem;
    margin-left: 2rem;
    border-top: 1px solid var(--border-color);
}

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

    h2 {
        font-size: 1.3rem;
    }

    section {
        padding: 3rem 1.5rem;
        margin-left: 1rem;
    }

    footer {
        margin-left: 1rem;
        padding: 2rem 1.5rem;
    }
}

/* Inline coursework lists are styled using existing .portfolio-item rules.
   No special card/grid styles are applied so lists match the rest of the site. */
