/* Projects Layout - Zebra System */


/* Intro Section */
.intro-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-primary);
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    width: 50px;
    background-color: var(--color-secondary);
}

.intro-text {
    text-align: center;
    font-family: var(--font-secondary);
    line-height: var(--line-height-base);
    color: var(--color-text);
}

/* Project Category Sections */
.project-category-section.section-white {
    background-color: #FFFFFF;
}

.project-category-section.section-grey {
    background-color: #F5F5F5;
}

.project-row {
    display: flex;
    gap: 50px;
    align-items: center;
    padding: 60px 0;
}

.project-media {
    flex: 1;
    min-width: 0;
}

.project-image-placeholder {
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio (3/4 = 0.75 = 75%) */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.project-content {
    flex: 1;
    min-width: 0;
}

.category-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--color-primary);
    margin: 0 0 15px;
}

.category-description {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: var(--line-height-base);
    color: var(--color-text);
    margin: 0 0 20px;
}

.project-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-links li {
    margin-bottom: 10px;
}

.project-links a {
    display: inline-block;
    color: var(--color-secondary);
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: var(--color-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .project-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .project-media {
        order: -1; /* Image appears above text on mobile */
    }
    
    .hero-placeholder {
        height: 300px;
    }
    
    .intro-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
}