/* DMA Project Page Specific Styles */

.project-section {
    margin-bottom: 20px;
}

.project-section h2 {
    font-size: 40px;
    font-weight: 200;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1.2;
}

.project-section h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 28px 0 12px;
    color: var(--text-primary);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-section p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 300;
}

.project-section ul {
    list-style-type: disc;
    padding: 0;
    margin: 0 0 20px;
}

.project-section li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 0px;
    position: relative;
    font-weight: 300;
    list-style-type: disc;
    margin-left: 20px;
}


.quote {
    font-size: 18px;
    font-style: italic;
    color: var(--text-primary);
    border-left: 3px solid var(--text-primary);
    padding-left: 20px;
    margin: 24px 0;
    font-weight: 400;
    line-height: 1.6;
}

.highlight-box {
    background: rgba(var(--accent-primary-rgb), 0.07);
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
    border-left: 2px solid var(--accent-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
}

.highlight-box h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-primary);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.highlight-box ul {
    margin-bottom: 0;
    list-style-type: none;
    padding-left: 0;
}

.highlight-box li {
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 300;
    line-height: 1.6;
    padding-left: 0;
    margin-left: 0;
    list-style-type: none;
}

.highlight-box li:last-child {
    margin-bottom: 0;
}

.project-company-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.project-title {
    font-size: 48px;
    font-weight: 200;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.project-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 800px;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 32px;
}

/* Full-width image rows with padding */
.image-row {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(var(--accent-primary-rgb), 0.03);
    padding: 40px 40px 40px 40px;
    margin: 40px 0 20px 0;
}

[data-theme="light"] .image-row {
    background: rgba(var(--accent-primary-rgb), 0.02);
}

.image-row-container {
    display: flex;
    gap: 20px;
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 0;
    flex-wrap: nowrap;
}

.image-row img {
    flex: 1;
    width: 100%;
    height: auto;
    max-width: 1200px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    /* No transform transition for cleaner design */
    min-width: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

hr {
    margin: 40px 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

/* Special styling for the main section headers */
.project-section h2:first-of-type {
    margin-top: 0;
}

/* Improve strong text within paragraphs and lists */
.project-section strong,
.highlight-box strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .image-row {
        padding: 20px 20px 0 20px;
    }
    
    .image-row-container {
        flex-direction: column;
        align-items: center;
    }
    
    .image-row img {
        width: 100%;
        max-width: 100%;
        height: auto;
        flex: none;
        object-fit: contain;
    }
    
    .project-section {
        margin-bottom: 40px;
    }
    
    .project-section h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .project-section h3 {
        font-size: 16px;
        margin: 20px 0 10px;
    }
    
    .project-section p,
    .project-section li {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .quote {
        font-size: 16px;
        padding-left: 16px;
    }
    
    .project-title {
        font-size: 32px;
        margin-bottom: 16px;
    }
    
    .project-subtitle {
        font-size: 18px;
    }
    
    .highlight-box {
        padding: 16px;
    }
    
    .highlight-box h4 {
        font-size: 14px;
    }
    
    .highlight-box li {
        font-size: 14px;
    }
}

/* Placeholder Images */
.placeholder-image {
    width: 100%;
    height: 300px;
    background: var(--card-bg);
    border: 2px dashed var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.image-row.large .placeholder-image {
    height: 400px;
}

.image-row.medium .placeholder-image {
    height: 400px;
}


/* Experience Items */
.experience-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--card-border);
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.experience-header {
    margin-bottom: 16px;
}

.experience-header h3 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: normal;
}

.experience-role {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 0;
}

/* Compact About Page Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
    position: relative;
    padding: 0 30px;
}

.about-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--card-border);
    transform: translateX(-50%);
}

.about-section {
    margin-bottom: 30px;
    position: relative;
}

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

.about-section h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.8px;
    line-height: 1.1;
    font-family: 'Poppins', sans-serif;
}

.about-section h3 {
    font-size: 13px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.9;
    font-family: 'Poppins', sans-serif;
}

.about-section:first-child h3:first-of-type {
    margin-top: 28px;
}

.compact-list {
    margin-bottom: 28px;
}

.compact-list li {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.6;
    list-style: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}

.compact-list li strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Intro section enhancement */
.intro-enhanced {
    background: rgba(var(--accent-primary-rgb), 0.07);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.intro-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-primary);
}

.intro-enhanced p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile responsive for about grid */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .about-grid::before {
        display: none;
    }
    
    .about-section h2 {
        font-size: 24px;
        padding-left: 16px;
    }
    
    .about-section h2::before {
        width: 6px;
        height: 6px;
    }
} 