/* Project Page Specific Styles */

.project-hero {
    padding: 8rem 0 4rem;
    background-color: var(--bg-white);
    color: white;
    margin-top: 70px;
}

.project-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.back-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    margin-bottom: 2rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 1;
}

.project-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 300;
}

.project-details {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.project-featured-image {
    margin-bottom: 4rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-visualization {
    width: 100%;
    background-color: var(--bg-card);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.project-visualization svg {
    width: 100%;
    height: auto;
    display: block;
}

.project-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.project-description-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.project-description-section p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.project-description-section h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    color: var(--text-light);
    position: relative;
    line-height: 1.7;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.project-tech-section {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-color);
}

.project-tech-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.tech-tag {
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tech-tag:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.project-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-button.primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.project-button.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.project-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.project-button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.project-visualizations {
    margin-top: 4rem;
}

.project-visualizations h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

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

.viz-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.viz-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.viz-placeholder {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viz-placeholder svg {
    width: 100%;
    height: 100%;
}

.viz-card h4 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .project-info-grid {
        grid-template-columns: 1fr;
    }

    .project-tech-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .project-hero-title {
        font-size: 2.5rem;
    }

    .project-hero-subtitle {
        font-size: 1rem;
    }

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

    .project-description-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .project-hero {
        padding: 6rem 0 3rem;
    }

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

