/* Portfolio Landing Page Styles */

/* Main Content */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

/* Portfolio Intro */
.portfolio-intro {
    margin-bottom: 4rem;
}

.portfolio-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}

.intro-text em {
    color: #1a1a1a;
    font-style: italic;
}

.intro-text strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Portfolio Categories */
.portfolio-categories h2 {
    font-size: 1.5rem;
    margin: 3rem 0 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0.5rem;
}

.portfolio-categories h2:first-of-type {
    margin-top: 0;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Project Cards */
.project-card {
    display: block;
    padding: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    background-color: #fff;
}

.project-card:hover {
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.4;
}

.project-card .organization {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: block;
}

.project-card .project-description {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-card .read-more {
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.9rem;
}

.project-card:hover .read-more {
    text-decoration: underline;
}

/* Portfolio Themes */
.portfolio-themes {
    margin-top: 4rem;
}

.portfolio-themes h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0.5rem;
}

.theme-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.theme-card {
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.theme-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    font-weight: 600;
}

.theme-card p {
    color: #4a4a4a;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        padding: 7rem 1.5rem 3rem;
    }

    .portfolio-intro h1 {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .theme-cards {
        grid-template-columns: 1fr;
    }

    .portfolio-categories h2,
    .portfolio-themes h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 7rem 1rem 2rem;
    }

    .project-card {
        padding: 1.25rem;
    }
}
