/* ===== PROJECT DETAIL STYLES ===== */

.project-detail {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.project-header {
    margin-bottom: 40px;
    text-align: center;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.project-date {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.project-date i {
    color: var(--primary-color);
}

.project-links {
    display: flex;
    gap: 15px;
}

/* Project Showcase */
.project-showcase {
    margin-bottom: 50px;
}

.project-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.main-image {
    width: 100%;
    height: auto;
    min-height: 500px;
    max-height: 700px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
}

.placeholder-img {
    background: linear-gradient(135deg, #0a2e69 0%, #0f4392 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.image-description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image:hover .image-description {
    opacity: 1;
}

.image-description h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.image-description p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.thumbnail-desc {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    font-size: 0.8rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail {
    width: 150px;
    height: 100px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail:hover .thumbnail-desc {
    opacity: 1;
}

.main-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: none;
}

.main-image img:hover {
    transform: none;
}

.thumbnail-gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Project Content */
.project-content {
    max-width: 1200px;
    margin: 0 auto;
}

.project-info {
    margin-bottom: 50px;
}

.technologies {
    margin-bottom: 40px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tech-tags span {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-description {
    margin-bottom: 40px;
}

.project-description p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

.project-features {
    margin-bottom: 40px;
}

.feature-category {
    margin-bottom: 30px;
}

.feature-category h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-category ul {
    list-style: none;
    padding-left: 0;
}

.feature-category li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feature-category i {
    color: var(--primary-color);
}

/* Setup Instructions */
.project-setup {
    margin-bottom: 40px;
}

.setup-instructions {
    background-color: var(--bg-color-2);
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

.setup-instructions h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.setup-instructions pre {
    background-color: var(--bg-color);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.setup-instructions code {
    color: var(--text-color);
    font-family: 'Courier New', Courier, monospace;
}

/* API Documentation */
.project-api {
    margin-bottom: 40px;
}

.api-docs {
    margin-top: 15px;
}

/* Project Navigation */
.project-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--primary-color);
}

.nav-item i {
    font-size: 1.2rem;
}

.nav-item span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-item h4 {
    font-size: 1.1rem;
    margin: 0;
}

/* Project Files */
.project-files {
    margin-top: 40px;
}

.files-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.uploaded-files, .file-upload {
    background-color: var(--bg-tertiary);
    padding: 20px;
    border-radius: 8px;
}

.files-list {
    list-style: none;
    margin-top: 15px;
}

.files-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background-color: var(--bg-secondary);
    border-radius: 5px;
    transition: var(--transition);
}

.files-list li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.files-list .no-files {
    color: var(--text-secondary);
    font-style: italic;
    justify-content: center;
}

.file-icon {
    margin-right: 10px;
    color: var(--primary-color);
}

.file-name {
    flex-grow: 1;
    color: var(--text-secondary);
}

.file-actions {
    display: flex;
    gap: 10px;
}

.file-action-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.file-action-btn:hover {
    color: var(--primary-color);
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.upload-area:hover {
    border-color: var(--primary-color);
}

.upload-area i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.upload-area p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.select-files-btn {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.select-files-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.selected-files {
    margin-top: 15px;
}

.selected-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: var(--bg-secondary);
    border-radius: 5px;
    margin-bottom: 8px;
}

.selected-file-name {
    flex-grow: 1;
    margin-left: 10px;
    color: var(--text-secondary);
}

.remove-file {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.remove-file:hover {
    color: #f44336;
}

.upload-btn {
    margin-top: 10px;
}

.upload-area.highlight {
    border-color: var(--primary-color);
    background-color: rgba(59, 130, 246, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-detail {
        padding: 60px 0;
    }

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

    .project-meta {
        flex-direction: column;
        gap: 15px;
    }

    .main-image {
        height: 300px;
    }

    .thumbnail {
        width: 120px;
        height: 80px;
    }

    .tech-tags {
        justify-content: center;
    }

    .project-navigation {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 1.8rem;
    }

    .main-image {
        height: 250px;
    }

    .thumbnail {
        width: 100px;
        height: 70px;
    }

    .tech-tags span {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
} 