/* Font & Variables */
:root {
    --bg-color: #0D0D0D;       /* Velvet Charcoal */
    --text-main: #CEC0B3;      /* Almond Suede */
    --text-muted: #8A8076;     /* A darker tint for secondary text */
    --text-bright: #FFFFFF;    /* White for high contrast headings/links */
    --grid-line: #2A2623;      /* Subtle border matching the palette */
    --font-main: 'Helvetica Neue', sans-serif;
    --font-mono: 'Courier New', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    padding: 32px 32px 0px 32px; /*was 32px all round, couldn't  adjust footer spacing*/ 
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--text-bright);
}

/* Top Navigation */
.site-top-navigation {
    display: flex;
    justify-content: space-between;
    padding-bottom: 32px;
    font-family: var(--font-mono);
    font-size: 14.4px;
}

.site-brand-logo {
    font-weight: bold;
    color: var(--text-bright);
    letter-spacing: 1px;
}

.navigation-link-group a {
    margin-left: 20px;
    color: var(--text-muted);
}

.navigation-link-group a:hover {
    color: var(--text-bright);
}

/* Top Split Container */
.hero-about-split-container {
    display: grid;
    /* Two equal columns */
    grid-template-columns: 1fr 1fr; 
    /* Gap creates the space between Hero and About text */
    gap: 64px; 
    padding-bottom: 48px;
    border-bottom: none;
    align-items: start;
}

.hero-title-section h1 {
    font-size: 80px;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-bright);
    font-weight: 700;
    margin-top: 3.2px;
}

.hero-about-description-section {
    /* reset to default padding, to ensure the right column text aligns with the right resume columns below*/
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    margin-top: 16px; /* Add some vertical spacing from top-navigation */
}

.hero-about-description-section .hero-about-subtitle {
    font-size: 19.2px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-main);
    /* Ensure no extra indent */
    padding-left: 0;
}

.hero-about-description-section p {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 14.4px;
    /* Ensure no extra indent */
    padding-left: 0;
    margin-bottom: 24px;
}

/* Circular profile picture */
.hero-profile-image {
    width: 100%;
    max-width: 295px;
    margin: 16px auto;
}

.hero-profile-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 0 4px var(--grid-line), 0 10px 25px -5px rgba(0,0,0,0.5);
}

/*call to action button*/
.hero-call-to-action-button {
    margin-top: 25px;
    font-family: var(--font-mono);
    font-size: 13.6px;
    display: inline-block;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.hero-call-to-action-button:hover {
    color: var(--text-bright);
    text-decoration: underline;
    text-underline-offset: 6px;
    background-color: transparent;
}



/* Main Layout */
.main-resume-layout-container {
    margin-top: 32px;
    margin-bottom: 32px;
}

/* Resume Section Styles */
.resume-content-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px; /* Must match the gap in .top-split-container for vertical alignment */
}


.resume-content-grid-column {
    display: flex;
    flex-direction: column;
    /* CRITICAL: Ensure the column itself doesn't add extra padding */
    padding-left: 0;
}
.resume-content-grid-column.left-column,
.resume-content-grid-column.right-column {
    /* Ensure both columns have the same padding to align with the top split container */
    padding-left: 0;
    padding-right: 0;
}
.resume-section-main-heading {
    display: block;
    clear: both;
    width: 100%;

    font-family: var(--font-mono);
    font-size: 14.4px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 24px;
    margin-top: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--grid-line);
    
    /* Ensure heading aligns to the very start of the column */
    padding-left: 0;
}

.resume-project-entry-block,
.resume-education-entry-block {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--grid-line);
} /*Controlling the spacing between project entries, reducing from 40px to 24px */

.resume-project-entry-block:last-child,
.resume-education-entry-block:last-child {
    border-bottom: none;
}

.resume-entry-header-container {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3.2px;
    flex-wrap: wrap;
}

.resume-entry-header-container h4 {
    font-size: 20.8px;
    font-weight: 500;
    color: var(--text-bright);
}

.resume-project-date-range,
.resume-education-date-range {
    font-family: var(--font-mono);
    font-size: 13.6px;
    color: var(--text-muted);
}

.resume-project-organization-name,
.resume-education-degree-name {
    font-family: var(--font-mono);
    font-size: 15.2px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.resume-project-detailed-description,
.resume-education-detailed-description {
    font-size: 15.2px;
    color: var(--text-main);
    line-height: 1.6;
}

.resume-skills-list-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin-bottom: 32px;
}

.resume-skills-list-grid li {
    font-family: var(--font-mono);
    font-size: 14.4px;
    color: var(--text-muted);
    padding: 4px 0;
}

.resume-skills-list-grid li::before {
    content: "▹ ";
    color: var(--text-main);
}

.resume-category-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.resume-education-sub-item-spacing {
    border-bottom: none !important;
    padding-bottom: 24px;
    margin-bottom: 16px;
}

.resume-education-sub-item-spacing:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.resume-category-specific-group {
    border: none;
    padding: 0;
    border-radius: 0;
}

.resume-category-specific-group h5 {
    font-family: var(--font-mono);
    font-size: 13.6px;
    color: var(--text-bright);
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.resume-category-specific-group ul {
    list-style: none;
}

.resume-category-specific-group li {
    font-size: 14.4px;
    color: var(--text-muted);
    margin-bottom: 6.4px;
    font-family: var(--font-main);
}

.resume-category-specific-group li::before {
    content: "▹ ";
    color: var(--text-main);
}


/* Footer */
footer {
    margin-top: 24px;
    padding-top: 0px;
    border-top: none;
    text-align: center;
}

.site-footer-bottom {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
}

.footer-message-container p {
    font-family: var(--font-mono);
    font-size: 12.8px; 
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase; 
}


/* inline styles migrated from HTML, for texting and help fix errors */
.hero-about-description-section .hero-about-secondary-paragraph { /* Fix: specificity conflict by adding more specific selector */
    margin-top: 20px;
    font-size: 14.5px; 
    color: #d1cece;
    line-height: 1.9;
}

.resume-project-main-title {
    font-size: 20.8px; 
    font-weight: 500;
    color: var(--text-bright);
    margin-bottom: 3.2px; 
}

.resume-education-university-title {
    font-size: 19.2px; 
    font-weight: 500;
    color: var(--text-bright);
    margin-bottom: 3.2px; 
}

.resume-education-secondary-title {
    font-size: 17.6px; 
    font-weight: 500;
    color: var(--text-bright);
    margin-bottom: 3.2px; 
}

.resume-project-metadata-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px; }
.resume-education-metadata-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px; 
}

.helper-remove-bottom-margin {
    margin-bottom: 0;
}

.helper-heading-margin-top-36px {
    margin-top: 24px;
}

/* For New Contact Block in Left Column */
.resume-contact-block {
    margin-top: 64px;
}

.resume-contact-greeting {
    font-size: 48px; 
    font-weight: 700;
    color: var(--text-bright);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.resume-contact-description {
    font-size: 15.2px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 95%; /* keeps the text from stretching too wide */
}

.resume-contact-email {
    display: inline-block;
    font-size: 22px;
    font-family: var(--font-mono);
    color: var(--text-bright);
    text-decoration: underline;
    text-decoration-color: var(--text-muted);
    text-underline-offset: 6px;
    margin-bottom: 40px;
}

.resume-contact-email:hover {
    text-decoration-color: var(--text-bright);
}

.resume-contact-socials {
    display: flex;
    gap: 24px;
    font-family: var(--font-mono);
    font-size: 13.6px;
}

.resume-contact-socials a {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resume-contact-socials a:hover {
    color: var(--text-bright);
}