/* Project Detail Section */
.project-detail-section {
    padding: 80px 0;
    background: #f9fafb;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.project-main-image {
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
}

.project-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-meta-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.95rem;
}

.meta-item svg {
    stroke: #9ca3af;
}

.project-name {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.project-short-description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
}

.project-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
}

.details-content {
    color: #374151;
    line-height: 1.8;
}

.details-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 1.5rem 0 0.75rem;
}

.details-content ul,
.details-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.details-content li {
    margin-bottom: 0.5rem;
}

.details-content p {
    margin-bottom: 1rem;
}

.project-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-large svg {
    flex-shrink: 0;
}

.btn-outline {
    background: white;
    color: #f59e0b;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #f59e0b;
    color: white;
}

/* Related Projects */
.related-projects-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin-bottom: 3rem;
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-project-card {
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.related-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.related-project-image {
    height: 200px;
    overflow: hidden;
    background: white;
}

.related-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-project-card:hover .related-project-image img {
    transform: scale(1.1);
}

.related-project-content {
    padding: 1.5rem;
}

.related-project-year {
    display: inline-block;
    background: #f59e0b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.related-project-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.related-project-content h3 a {
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-project-content h3 a:hover {
    color: #f59e0b;
}

.related-project-content p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.related-project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.related-project-link:hover {
    gap: 0.75rem;
}

@media (max-width: 1024px) {
    .project-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {

    .project-detail-section {
        padding: 60px 0;
    }

    .project-detail-grid {
        padding: 2rem 1.5rem;
    }

    .project-name {
        font-size: 1.75rem;
    }

    .project-short-description {
        font-size: 1rem;
    }

    .project-actions {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .related-projects-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .related-projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .project-detail-section {
        padding: 50px 0;
    }

    .project-detail-grid {
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .project-name {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .project-description {
        font-size: 1rem;
    }

    .project-meta-bar {
        gap: 1rem;
        padding: 1rem;
    }

    .project-meta-item {
        font-size: 0.8125rem;
    }

    .related-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}
