/* Pacific Northwest & Cascades Color Palette */
:root {
    --forest-green: #2d5016;
    --evergreen: #1e3a1a;
    --moss-green: #4a7c4e;
    --sage: #87a878;
    --mountain-blue: #5b7c8d;
    --slate-gray: #4a5859;
    --mist: #e8f0e8;
    --cedar: #8b6f47;
    --stone: #6b7c7a;
}

/* Sticky Footer */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--mist);
    color: var(--slate-gray);
    margin: 0;
    padding: 0;
}

.main-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* Header Image Section */
.header-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    min-height: 300px; /* Prevents shrinking */
    flex-shrink: 0; /* Prevents flexbox from shrinking this element */
    overflow: hidden;
    background-color: var(--evergreen);

}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(161, 255, 148, 0.2), rgba(1, 11, 0, 0.8));
    display: flex;
    align-items: end;
    justify-content: center;
}

.site-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    padding: 1rem;
    text-align: center;
}

/* Navigation Styling */
.navbar {
    background-color: var(--evergreen);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0; /* Prevents navbar from shrinking */
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--sage) !important;
}

.navbar-nav .nav-link.active {
    color: var(--sage) !important;
    font-weight: 500;
}

.dropdown-menu {
    background-color: var(--forest-green);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--moss-green);
    color: #ffffff;
}

.dropdown-item.active {
    background-color: var(--moss-green);
    color: #ffffff;
}

/* Page Content */
.page-subheader {
    color: var(--forest-green);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--moss-green);
}

.content-section {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

/* Links */
a {
    color: var(--moss-green);
    text-decoration: none;
}

a:hover {
    color: var(--forest-green);
    text-decoration: underline;
}

/* Footer */
footer {
    flex-shrink: 0;
    background-color: var(--evergreen);
    color: rgba(255, 255, 255, 0.85);
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-image-container {
        height: 200px;
        min-height: 200px;
    }
    
    .site-title {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-image-container {
        height: 150px;
        min-height: 150px;
    }
    
    .site-title {
        font-size: 2rem;
    }
}

.header-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--moss-green), var(--sage), var(--mountain-blue), var(--moss-green));
}


/* Resume Specific Styles */
.resume-contact {
    text-align: center;
    font-size: 1rem;
    color: var(--slate-gray);
}

.resume-section-title {
    color: var(--forest-green);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sage);
}

/* Job Experience */
.resume-job {
    margin-bottom: 2rem;
}

.resume-job:last-child {
    margin-bottom: 0;
}

.job-header {
    margin-bottom: 1rem;
}

.job-title {
    color: var(--moss-green);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.job-company {
    display: block;
    color: var(--slate-gray);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.job-dates {
    display: block;
    color: var(--stone);
    font-size: 0.95rem;
    font-style: italic;
}

.job-responsibilities {
    margin-top: 0.75rem;
    padding-left: 1.5rem;
}

.job-responsibilities li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.job-responsibilities ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

/* Education */
.resume-education {
    margin-bottom: 1.5rem;
}

.resume-education:last-child {
    margin-bottom: 0;
}

.education-degree {
    color: var(--moss-green);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.education-school {
    display: block;
    color: var(--slate-gray);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.education-date {
    display: block;
    color: var(--stone);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.resume-education ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.resume-education li {
    line-height: 1.6;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.skill-category {
    padding: 1rem;
    background-color: var(--mist);
    border-radius: 6px;
    border-left: 4px solid var(--moss-green);
}

.skill-category-title {
    color: var(--forest-green);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.skill-category p {
    margin: 0;
    line-height: 1.6;
    color: var(--slate-gray);
}


.project-title {
    color: var(--forest-green);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
    text-align: center;
}

.project-section-title {
    color: var(--moss-green);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sage);
}

.project-list {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.project-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--slate-gray);
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--slate-gray);
}

.content-section p:last-child {
    margin-bottom: 0;
}