/* Project Detail Page */
.project-detail-main {
    padding: 3rem 0;
}

.project-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.project-detail-content {
    background: var(--bg-color);
}

.project-detail-header {
    margin-bottom: 2rem;
}

.project-type-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.project-detail-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.project-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
}

.project-links-header {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    text-decoration: none;
}

.project-link-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.project-link-btn.github {
    background: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.project-link-btn.github:hover {
    background: var(--border-color);
}

.project-featured-image {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-description-section {
    margin-bottom: 3rem;
}

.project-description-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.project-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-full-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-color);
}

.project-full-description p {
    margin-bottom: 1.25rem;
}

.project-full-description h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.project-full-description ul,
.project-full-description ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.project-full-description li {
    margin-bottom: 0.5rem;
}

.project-technologies-section {
    margin-bottom: 3rem;
}

.project-technologies-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
}

.technology-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.technology-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.tech-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.tech-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9375rem;
}

.project-features-section {
    margin-bottom: 3rem;
}

.project-features-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.project-screenshots-section {
    margin-bottom: 3rem;
}

.project-screenshots-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.screenshot-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.project-challenges-section {
    margin-bottom: 3rem;
}

.project-challenges-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.challenges-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.challenge-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.challenge-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.challenge-item p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Project Sidebar */
.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-info-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.project-info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.project-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.info-value {
    font-size: 0.9375rem;
    color: var(--text-color);
    font-weight: 600;
}

.info-value.status-active {
    color: #22c55e;
}

.project-quick-links {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.project-quick-links h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.quick-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
    text-decoration: none;
}

.quick-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.related-projects {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.related-projects h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.related-projects-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-project-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.related-project-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.related-project-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-project-item div {
    flex: 1;
}

.related-project-item h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.related-project-item span {
    font-size: 0.8125rem;
    color: var(--text-light);
}

