/* Single Project Page */

.project-single-header {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 6rem 0 2rem;
    margin-top: 70px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span:not(.category-badge) {
    color: var(--text-secondary);
    opacity: 0.5;
}

.project-title-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-title-section h1 {
    font-size: 2.5rem;
    margin: 0;
    color: var(--text-primary);
    flex: 1;
}

.project-title-section h1 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.project-meta-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-secondary);
}

.project-meta-header span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Content Layout */
.project-single-content {
    padding: 3rem 0;
}

.project-single-content .container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.project-main-col {
    min-width: 0;
}

.project-featured-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-description-section,
.project-content-section,
.project-tags-section {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.project-description-section h2,
.project-content-section h2,
.project-tags-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-description-section p,
.project-content-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Sidebar */
.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-section {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

/* Download Cards */
.download-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-dark);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.download-card:last-child {
    margin-bottom: 0;
}

.download-card:hover {
    border-color: var(--accent);
    background: rgba(67, 181, 129, 0.1);
}

.download-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.download-info i {
    font-size: 1.5rem;
    color: var(--accent);
}

.download-info strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.download-meta {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.download-icon {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Link Cards */
.link-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-dark);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.link-card:last-child {
    margin-bottom: 0;
}

.link-card:hover {
    border-color: var(--primary-color);
    background: rgba(114, 137, 218, 0.1);
    color: var(--text-primary);
}

.link-card span {
    flex: 1;
}

.link-icon-small {
    opacity: 0.5;
    font-size: 0.85rem;
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-value {
    color: var(--text-primary);
    font-weight: 600;
}

/* Buttons */
.btn-block {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

    .project-sidebar {
        order: -1;
    }

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

@media (max-width: 768px) {
    .project-single-header {
        padding: 4rem 0 1.5rem;
    }

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

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

    .project-meta-header {
        gap: 1rem;
    }

    .download-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
