/* =================================
   PROJECT DETAIL PAGE
   ================================= */
.project-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.project-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    transform: scale(1.1);
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.project-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.project-category-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--accent);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.project-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.project-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    font-size: 1rem;
    opacity: 0.9;
}

/* Content Layout */
.project-content-section {
    padding: 4rem 0;
}

.project-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
}

.project-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-item {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 6px;
    font-size: 0.9rem;
}

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

.project-link-btn {
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: white;
    text-align: center;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
}

.project-link-btn:hover {
    background: var(--accent);
}

.btn-contact {
    display: block;
    padding: 1rem;
    background: var(--accent);
    color: white;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
}

.btn-contact:hover {
    background: var(--primary);
}

/* Main Content */
.project-main h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.project-description,
.project-features,
.project-gallery {
    margin-bottom: 3rem;
}

.description-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

.features-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.features-list li {
    padding-left: 2rem;
    position: relative;
}

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

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

/* Similar Projects */
.similar-projects {
    padding: 4rem 0;
    background: var(--bg-light);
}

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

    .project-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
