/* portfolio.css */

/* --- General Portfolio Page Styling --- */
.page-header {
    text-align: center;
    padding: 100px 5% 50px 5%;
    /* Ensures the header sits nicely under the main page animation */
    background-color: var(--color-background); 
}

.sub-nav a {
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    display: inline-block;
}

.project-category {
    padding: 80px 5%;
    border-bottom: 1px solid rgba(255, 215, 0, 0.05); /* Very subtle separator */
}

.category-summary {
    font-size: 1.1em;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 800px;
}

/* --- Thematic Project Grid Layout --- */
.project-grid-alt {
    display: grid;
    /* 2 columns on small screens, 3 columns on larger screens */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px;
}

/* --- Individual Project Card Styling --- */
.project-card-full {
    background-color: rgba(26, 52, 89, 0.2);
    border-radius: 8px;
    padding: 25px;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    min-height: 280px;
}

.project-card-full:hover {
    background-color: rgba(26, 52, 89, 0.4);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3); /* Stronger gold glow for visual interest */
}

.project-card-full h3 {
    color: var(--color-primary);
    font-size: 1.5em;
    margin-top: 0;
}

.project-role {
    font-style: italic;
    font-size: 0.9em;
    margin-bottom: 15px;
}

/* portfolio.css: New styles for project categorization */

/* Specific badge for Medical/Technical Projects */
.project-badge {
    display: inline-block;
    background-color: #3A66A8; /* A professional, secondary blue shade */
    color: var(--color-text-light);
    font-size: 0.8em;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Ensure the button style is also defined for this page */
.view-project-btn {
    margin-top: auto;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
    display: block; /* Ensures the link takes up the line */
    padding-top: 15px;
}