/* Project Details Page Styling */

/* Home Button Styles */
.home-btn {
    text-decoration: none;
    display: inline-block;
    margin: 10px;
}

.home-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    background: var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-icon:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: var(--neon-glow);
}

.home-icon i {
    font-size: 24px;
    color: white;
}

.home-icon span {
    color: white;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
}

/* Pulse animation for the home icon */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Project Details Page Styling */

.project-container {
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation Styles */
.project-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.nav-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.back-btn, .share-btn {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover, .share-btn:hover {
    background: var(--surface-3);
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

/* Profile Section Styles */
.profile-section {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: var(--neon-glow);
}

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

.profile-info {
    flex: 1;
}

.username {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.social-link {
    color: var(--text);
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.profile-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.action-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 180px;
    justify-content: center;
}

.action-box i {
    font-size: 1.2rem;
}

.more-projects-box {
    background: var(--accent-color);
    color: var(--text-light);
    border: none;
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.1);
}

.message-box {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.1);
}

.action-box:hover {
    transform: translateY(-2px) scale(1.02);
}

.more-projects-box:hover {
    background: var(--accent-hover);
    box-shadow: var(--neon-glow);
}

.message-box:hover {
    background: var(--accent-color);
    color: var(--text-light);
    box-shadow: var(--neon-glow);
}

.action-box:active {
    transform: translateY(0) scale(0.98);
}

/* Project Details Styles */
.project-details {
    padding: 30px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.project-title {
    font-size: 32px;
    color: var(--text);
    margin-bottom: 15px;
}

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

/* Project Image Section */
.project-image-section {
    margin-bottom: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project-image:hover {
    transform: scale(1.02);
}

/* Project Info Grid */
.project-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.info-card {
    background: var(--surface-2);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.info-card i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 20px;
}

/* Tech Stack Styles */
.tech-stack {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-badge {
    background: var(--surface-3);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

/* Project Links Styles */
.project-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
}

.project-link i {
    font-size: 1.2rem;
}

.project-link.live-demo {
    background: var(--accent-color);
    color: var(--text-light);
    border: none;
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.1);
}

.project-link.source-code {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.1);
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

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

.project-link.source-code:hover {
    background: var(--accent-color);
    color: var(--text-light);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: '→';
    color: var(--primary);
    margin-right: 10px;
}

/* Stats Grid */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .social-links {
        justify-content: center;
    }

    .project-info-grid {
        grid-template-columns: 1fr;
    }
}
