/* ===================================
   PROJECT PAGE STYLES
   =================================== */

/* Project Hero Section */
.project-hero {
    background: linear-gradient(135deg, #00232a 0%, #003d4d 100%);
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 200, 120, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 200, 120, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.project-hero-content {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: #4fc878;
}

.project-category-badge {
    display: inline-block;
    background: rgba(79, 200, 120, 0.15);
    color: #4fc878;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.project-hero h1 {
    color: white;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.project-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 900px;
}

.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.project-meta-grid .meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-meta-grid .meta-item strong {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.project-meta-grid .meta-item span {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Project Main Image */
.project-main-image {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.project-main-image .container {
    max-width: 1300px;
    margin: 0 auto;
}

.main-project-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Project Content Section */
.project-content-section {
    padding: 4rem 2rem 6rem;
    background: white;
}

.project-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 4rem;
}

.content-block h2 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.content-block h3 {
    color: #4a5568;
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.content-block p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-block ul {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-block li {
    margin-bottom: 0.75rem;
}

.content-block li strong {
    color: #2d3748;
    font-weight: 600;
}

/* Tech Stack */
.tech-stack {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.tech-stack h3 {
    color: #2d3748;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    background: white;
    color: #4a5568;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.tech-tag:hover {
    border-color: #4fc878;
    color: #00232a;
    transform: translateY(-2px);
}

/* Highlight Block (Results) */
.highlight-block {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem;
    border-radius: 16px;
    border-left: 4px solid #4fc878;
}

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

.result-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00232a;
    margin-bottom: 0.5rem;
}

.result-label {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

.impact-list {
    list-style: none;
    margin-left: 0;
    margin-top: 2rem;
}

.impact-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.impact-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4fc878;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Project CTA Section */
.project-cta {
    background: #00232a;
    padding: 5rem 2rem;
    text-align: center;
}

.project-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.project-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.project-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-hero {
        padding: 6rem 2rem 3rem;
    }

    .project-hero h1 {
        font-size: 2rem;
    }

    .project-subtitle {
        font-size: 1.1rem;
    }

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

    .project-main-image {
        padding: 3rem 1rem;
    }

    .project-content-section {
        padding: 3rem 1.5rem;
    }

    .content-block h2 {
        font-size: 1.6rem;
    }

    .content-block h3 {
        font-size: 1.2rem;
    }

    .content-block p,
    .content-block ul {
        font-size: 1rem;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .result-number {
        font-size: 2rem;
    }

    .highlight-block {
        padding: 2rem 1.5rem;
    }

    .project-cta h2 {
        font-size: 1.8rem;
    }

    .project-cta p {
        font-size: 1rem;
    }

    .tech-stack {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .project-hero h1 {
        font-size: 1.75rem;
    }

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

    .project-cta .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .project-cta .btn {
        width: 100%;
    }
}
