/* Our Work Page Styles - Minimal Design System */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.7;
    color: #1d1d1f;
    background: #ffffff;
}

/* Header */
.header {
    background: linear-gradient(135deg, #000000 0%, #1d1d1f 100%);
    color: white;
    padding: 60px 20px 40px;
}

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

.header .container {
    padding-bottom: 20px;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    opacity: 0.9;
}

.back-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.header h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.header p {
    font-size: 1.2em;
    opacity: 0.9;
    line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.project-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

/* Project Header */
.project-header {
    background: linear-gradient(135deg, #000000 0%, #1d1d1f 100%);
    color: white;
    padding: 25px;
}

.project-category {
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.project-domain {
    font-size: 0.95em;
    opacity: 0.85;
    font-style: italic;
}

/* Project Body */
.project-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-challenge,
.project-solution {
    margin-bottom: 16px;
}

.project-challenge h3,
.project-solution h3 {
    font-size: 0.95em;
    color: #000;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.project-challenge p,
.project-solution p {
    font-size: 0.95em;
    color: #444;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #000;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    padding: 10px 0;
    transition: gap 0.3s ease;
    gap: 8px;
    margin-top: auto;
}

.read-more:hover {
    gap: 12px;
}

.read-more::after {
    content: '→';
    font-size: 1.2em;
}

/* Footer */
.footer {
    background: #f5f5f7;
    padding: 40px 20px;
    text-align: center;
    color: #666;
    margin-top: 80px;
}

.footer .container {
    font-size: 0.95em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }

    .header p {
        font-size: 1.05em;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        margin: 40px auto;
    }

    .project-title {
        font-size: 1.3em;
    }
}
