/* Project Page Specific Styles */

.project-header {
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%);
    color: var(--text-dark);
    position: relative;
}

.project-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(132, 204, 22, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* Project Stars (Dark Mode Only - matching hero section) */
.project-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: none;
}

[data-theme="dark"] .project-stars {
    display: block;
}

.project-stars .star {
    opacity: 0.4;
}

.project-stars .star.small {
    width: 1.5px;
    height: 1.5px;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
}

.project-stars .star.medium {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.7);
}

.project-stars .star.large {
    width: 2.5px;
    height: 2.5px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

/* Light mode project header */
[data-theme="light"] .project-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%);
}

[data-theme="light"] .project-header .meta-item {
    background: rgba(59, 130, 246, 0.15);
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.back-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #84cc16;
    transition: width 0.3s ease;
}

.back-link:hover {
    color: var(--white);
    transform: translateX(-8px);
}

.back-link:hover::before {
    width: 100%;
}

.project-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.project-tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.project-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.meta-item {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.project-details {
    padding: 80px 20px;
    background: var(--bg-dark);
}

.detail-section {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.detail-section h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.detail-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.detail-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Project Image */
.project-image-large {
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.image-placeholder p {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 500;
}

/* Tech Stack Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5), var(--shadow-glow);
    background: var(--bg-darker);
    border-top-color: #84cc16;
    border-top-width: 6px;
    border-color: var(--accent-green);
}

.tech-item h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.tech-item ul {
    list-style: none;
    padding: 0;
}

.tech-item li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.tech-item li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Features List */
.features-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    transform: translateX(12px) scale(1.02);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5), var(--shadow-glow);
    border-left-color: #84cc16;
    border-left-width: 6px;
    border-color: var(--accent-green);
    background: var(--bg-darker);
}

.feature-item h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

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

.result-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    color: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.result-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.result-card p {
    font-size: 1rem;
    color: #000000;
    font-weight: 500;
}

/* Project Links Section */
.project-links-section {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 4rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-title {
        font-size: 2rem;
    }

    .project-tagline {
        font-size: 1.125rem;
    }

    .project-meta {
        gap: 1rem;
    }

    .meta-item {
        font-size: 0.85rem;
    }

    .image-placeholder {
        height: 300px;
    }

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

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

@media (max-width: 480px) {
    .project-header {
        padding: 100px 20px 40px;
    }

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

    .detail-section h2 {
        font-size: 1.5rem;
    }

    .project-links-section {
        flex-direction: column;
    }

    .project-links-section .btn {
        width: 100%;
        text-align: center;
    }
}

