/* --- Base Variables & Reset --- */
:root {
    --primary-font: 'Newsreader', serif;
    --secondary-font: 'Instrument Serif', serif;
    --text-color: #333333;
    --bg-color: #ebe5d5; /* Matches the cream header */
    --header-bg: #ebe5d5; 
    --header-text: #1d2631; /* Very dark blue / gray */
}

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

body {
    font-family: var(--primary-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Header & Nav --- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4vw;
    background-color: var(--header-bg); 
    color: var(--header-text);
    position: relative;
    width: 100%;
    z-index: 100;
}

.logo a {
    font-family: var(--secondary-font);
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

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

.desktop-nav a {
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    opacity: 0.6;
    border-bottom: 1px solid var(--header-text);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--header-text); 
    transition: all 0.3s ease;
}

/* --- About Page Layout --- */
.about-page {
    padding: 6vw 4vw;
    background-color: var(--bg-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem; /* Increased padding between image and text */
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
}

.about-content h2 {
    font-family: var(--secondary-font);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--header-text);
}

.resume-lists {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.list-section h3 {
    font-family: var(--primary-font);
    font-size: 1.3rem; /* Slightly smaller header */
    margin-bottom: 1rem;
    color: var(--header-text);
}

.list-section ul {
    list-style: none;
    padding-left: 0;
}

.list-section li {
    margin-bottom: 0.75rem;
    font-size: 1rem; /* Smaller body text */
}

/* Creates a nice two-column look for the smaller interests list */
.interests-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

/* Button Styling */
.btn {
    display: inline-block;
    background-color: var(--header-text);
    color: var(--header-bg);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem; /* Smaller button text */
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    
    /* Stacks the image on top of the text on mobile */
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem; /* Adjusted for mobile so it isn't too spaced out */
    }
    
    .interests-list {
        grid-template-columns: 1fr;
    }
}