.project-detail-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem 6rem 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: gap 0.2s ease;
}

.back-link:hover {
    gap: 0.75rem;
}

.project-header h1 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.project-header {
    animation: rise-in 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.project-meta-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: rise-in 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.12s both;
}

.badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge i {
    color: var(--accent-gold);
}

.hero-project-image {
    width: 100%;
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    animation: fade-in 0.8s ease-out both;
}

.hero-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    animation: fade-in 0.8s ease-out 0.25s both;
}

.project-description h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.project-description p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.specs-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.specs-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.spec-item {
    margin-bottom: 1rem;
}

.spec-item label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.spec-item span {
    font-weight: 600;
    color: var(--text-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.gallery-item {
    height: 340px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .project-info-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .hero-project-image {
        height: 350px;
    }
}
