/* Project Detail Page Styles */

.project-detail {
    max-width: 900px;
    margin: 0 auto;
}

.project-header {
    text-align: center;
    padding: 3rem 0 2rem;
    border-bottom: 2px solid #e1e8ed;
    margin-bottom: 3rem;
}

.project-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.project-meta {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-style: italic;
}

.project-image-large {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 3rem;
    overflow: hidden;
}

.project-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-section {
    margin-bottom: 3rem;
}

.project-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.project-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.project-section ul {
    list-style: none;
    padding-left: 0;
}

.project-section ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.project-section ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.project-nav {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid #e1e8ed;
    margin-top: 3rem;
}

.back-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: 500;
}

.back-link:hover {
    background-color: #2980b9;
}

/* Make header nav link style consistent */
nav h1 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

nav h1 a:hover {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-header h1 {
        font-size: 2rem;
    }

    .project-meta {
        font-size: 1rem;
    }

    .project-image-large {
        height: 250px;
        font-size: 1.2rem;
    }

    .project-section h2 {
        font-size: 1.5rem;
    }

    .project-section p,
    .project-section ul li {
        font-size: 1rem;
    }
}
