/* Project Detail Page Styles */

/* Color Palette Tokens */
:root {
    --color-sky-blue: #87CEEB;
    --color-mint-green: #90EE90;
    --color-golden-yellow: #F4D738;
    --color-coral-orange: #FF7A5C;
    --color-pink: #FFB2EF;
    --color-lavender: #A388EE;
    --color-black: #000;
    --color-white: #fff;
}

.project-detail-container {
    padding: 40px;
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
}

.project-detail-content {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 60px;
}

/* Hero Section */
.hero-section {
    margin-bottom: 40px;
    animation: slideInUp 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.1s both;
}

.hero-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    background: var(--color-coral-orange);
    color: var(--color-white);
    margin-bottom: 20px;
    border: 3px solid var(--color-black);
}

.hero-section h1 {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    line-height: 1.4;
}

/* Hero Image */
.hero-image-container {
    margin-bottom: 60px;
    animation: slideInUp 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.2s both;
}

.placeholder-image {
    width: 100%;
    min-height: 500px;
    border: 4px solid var(--color-black);
    display: block;
    object-fit: cover;
}

/* Project Meta */
.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--color-white);
    border: 4px solid var(--color-black);
    box-shadow: 8px 8px 0 var(--color-black);
    animation: slideInUp 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.3s both;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.meta-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.4;
}

/* Content Sections */
.content-section {
    margin-bottom: 80px;
    animation: slideInUp 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.4s both;
}

.content-section h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 32px;
    line-height: 1;
}

.content-section h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.content-section p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 24px;
}

.content-section ul {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin-left: 24px;
    margin-bottom: 24px;
}

.content-section li {
    margin-bottom: 12px;
}

.content-section li strong {
    color: var(--color-black);
    font-weight: 700;
}

/* Challenge Cards */
.challenge-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.challenge-card {
    background: var(--color-golden-yellow);
    border: 4px solid var(--color-black);
    box-shadow: 6px 6px 0 var(--color-black);
    padding: 32px;
}

.challenge-type {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 12px;
}

.challenge-card p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-black);
    font-weight: 600;
    margin: 0;
}

/* Context Comparison */
.context-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.comparison-column {
    background: var(--color-sky-blue);
    border: 4px solid var(--color-black);
    box-shadow: 6px 6px 0 var(--color-black);
    padding: 24px;
}

.comparison-column h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.comparison-column ul {
    margin-left: 20px;
    margin-top: 20px;
    font-size: 16px;
}

.context-visual {
    margin-top: 40px;
}

/* Process Steps */
.process-step {
    margin-bottom: 60px;
}

.process-step h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.process-artifact {
    margin-top: 32px;
}

.jobs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.job-card {
    background: var(--color-mint-green);
    border: 4px solid var(--color-black);
    box-shadow: 4px 4px 0 var(--color-black);
    padding: 24px;
}

.job-card strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.job-card p {
    font-size: 16px;
    margin: 0;
    color: #333;
}

/* Solution Features */
.solution-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.solution-feature:nth-child(even) {
    direction: rtl;
}

.solution-feature:nth-child(even) > * {
    direction: ltr;
}

.feature-description h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-description p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.feature-visual .placeholder-image {
    min-height: 300px;
}

/* Impact Section */
.impact-section {
    background: var(--color-white);
    border: 4px solid var(--color-black);
    box-shadow: 8px 8px 0 var(--color-black);
    padding: 60px;
}

.impact-note {
    font-style: italic;
    color: #666;
    margin-bottom: 40px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.impact-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-lavender);
    border: 3px solid var(--color-black);
}

.impact-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--color-black);
    margin-bottom: 12px;
    line-height: 1;
}

.impact-card p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

.impact-insights {
    margin-bottom: 40px;
}

.impact-insights h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.impact-quote {
    background: var(--color-pink);
    border: 4px solid var(--color-black);
    padding: 32px;
    margin-bottom: 32px;
}

.impact-quote blockquote {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-black);
    margin: 0 0 16px 0;
    font-style: italic;
}

.impact-quote cite {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
    font-style: normal;
}

/* Learning Items */
.learning-item {
    margin-bottom: 40px;
}

.learning-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.learning-item p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

/* Project Navigation */
.project-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 4px solid var(--color-black);
}

.nav-card {
    background: var(--color-white);
    border: 4px solid var(--color-black);
    box-shadow: 6px 6px 0 var(--color-black);
    padding: 32px;
    text-decoration: none;
    color: var(--color-black);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.nav-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 var(--color-black);
}

.nav-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.nav-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-black);
}

.nav-arrow {
    font-size: 32px;
    font-weight: 700;
    position: absolute;
    bottom: 32px;
    right: 32px;
}

.previous-project {
    background: var(--color-coral-orange);
}

.next-project {
    background: var(--color-mint-green);
}

/* Responsive */
@media (max-width: 768px) {
    .project-detail-container {
        padding: 20px;
    }

    .hero-section h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .placeholder-image {
        min-height: 300px;
    }

    .project-meta {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }

    .content-section h2 {
        font-size: 36px;
    }

    .content-section h3 {
        font-size: 24px;
    }

    .content-section p,
    .content-section ul {
        font-size: 16px;
    }

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

    .context-comparison {
        grid-template-columns: 1fr;
    }

    .solution-feature {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .solution-feature:nth-child(even) {
        direction: ltr;
    }

    .impact-section {
        padding: 32px 24px;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .impact-number {
        font-size: 42px;
    }

    .impact-quote blockquote {
        font-size: 20px;
    }

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

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .content-section h2 {
        font-size: 28px;
    }

    .nav-title {
        font-size: 20px;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
