/* ===========================================
   Project Detail Page Styles
   Matches the visual style of original project pages
   within the Clean Minimal design language
   =========================================== */

/* Project Hero */
.project-page .project-hero {
    padding: 120px 0 40px;
    background: #ffffff;
}

.project-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #999999;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.project-page .back-link:hover {
    color: #333333;
}

.project-page .project-header {
    margin-bottom: 30px;
}

.project-page .project-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.project-page .project-category-badge {
    display: inline-block;
    background: #333333;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-page .project-date {
    color: #999999;
    font-size: 0.9rem;
}

.project-page .project-title-big {
    font-size: 2.5rem;
    color: #333333;
    margin: 0;
    line-height: 1.2;
}

.project-page .project-featured-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

/* Content Layout */
.project-page .content-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .project-page .content-layout {
        grid-template-columns: 1fr;
    }
}

/* Portfolio Info Panel */
.project-page .portfolio-info-panel {
    background: #ffffff;
    border: 2px solid rgba(204, 204, 204, 0.2);
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 100px;
}

.project-page .info-quote {
    position: relative;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.project-page .info-quote .fa-quote-left {
    color: #cccccc;
    font-size: 1rem;
    margin-bottom: 10px;
    display: block;
}

.project-page .info-quote p {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.project-page .info-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.project-page .info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project-page .info-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999999;
    margin: 0 0 10px;
}

.project-page .info-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-page .info-links-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-page .info-links-list li:last-child {
    margin-bottom: 0;
}

.project-page .info-links-list a {
    color: #555555;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    word-break: break-all;
}

.project-page .info-links-list a:hover {
    color: #333333;
}

.project-page .info-links-list .fa-link,
.project-page .info-links-list .fa-github,
.project-page .info-links-list .fa-external-link-alt {
    color: #999999;
    width: 14px;
    text-align: center;
}

.project-page .info-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-page .info-tech-tags .tech-tag {
    background: #f0f0f0;
    color: #555555;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.project-page .info-tag-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-page .info-tag-links a {
    background: #f5f5f5;
    color: #777777;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-page .info-tag-links a:hover {
    background: #333333;
    color: white;
}

/* Entry Content */
.project-page .entry-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    line-height: 1.8;
    color: #444444;
}

.project-page .entry-content p {
    margin-bottom: 20px;
}

.project-page .entry-content strong {
    color: #333333;
}

.project-page .entry-content a {
    color: #333333;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.project-page .entry-content a:hover {
    color: #000000;
}

.project-page .entry-content blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    border-left: 4px solid #333333;
    background: #fafafa;
    border-radius: 0 8px 8px 0;
}

.project-page .entry-content blockquote p {
    margin-bottom: 0;
    font-style: italic;
    color: #666666;
}

.project-page .entry-content blockquote a {
    color: #555555;
}

.project-page .entry-content ul {
    margin: 20px 0;
    padding-left: 20px;
    list-style: disc;
}

.project-page .entry-content li {
    margin-bottom: 8px;
    color: #555555;
}

.project-page .entry-content figure {
    margin: 30px 0;
}

.project-page .entry-content figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.project-page .entry-content figcaption {
    text-align: center;
    color: #888888;
    font-size: 0.85rem;
    margin-top: 10px;
}

.project-page .entry-content pre {
    background: #22272e;
    color: #adbac7;
    padding: 1rem;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.5rem;
    border-radius: 8px;
    margin: 25px 0;
}

.project-page .entry-content pre code {
    background: none;
    padding: 0;
    font-family: 'Consolas', 'Monaco', monospace;
}

.project-page .entry-content code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Action Buttons at bottom */
.project-page .project-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.project-page .project-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f5f5f5;
    color: #333333;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-page .project-action-link:hover {
    background: #333333;
    color: white;
}

/* Adjust nav for project pages */
.project-page .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
