/* Projects Archive Styles */
.projects-archive {
    padding: 40px 0 80px;
    background: #f8fdf9;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8bc34a, #2d4a3d);
    border-radius: 2px;
}

.page-title {
    font-size: 2.5rem;
    color: #2d4a3d;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
}

.page-description {
    font-size: 1.1rem;
    color: #5a6c57;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(45, 74, 61, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 74, 61, 0.15);
    border-color: rgba(139, 195, 74, 0.3);
}

.project-card:nth-child(even) {
    flex-direction: row-reverse;
}

.project-card {
    display: flex;
    align-items: stretch;
    min-height: 300px;
}

.project-image {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    display: block;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.1), rgba(45, 74, 61, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-content {
    flex: 1;
    padding: 40px;
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-title {
    margin-bottom: 20px;
    margin-top: 0 !important;
    position: relative;
}

.project-title a {
    color: #2d4a3d;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.project-title a:hover {
    color: #8bc34a;
}

.project-excerpt {
    color: #5a6c57;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: #8bc34a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    gap: 10px;
    position: relative;
}

.project-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8bc34a;
    transition: width 0.3s ease;
}

.project-link:hover::before {
    width: calc(100% - 30px);
}

.project-link:hover {
    color: #2d4a3d;
    transform: translateX(3px);
}

.project-link i {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.project-link:hover i {
    transform: translateX(5px);
}

/* Navigation */
.posts-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(139, 195, 74, 0.2);
}

.nav-links {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.nav-previous a,
.nav-next a {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: #8bc34a;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 8px;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #2d4a3d;
    transform: translateY(-2px);
}

.no-projects {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.no-projects h2 {
    color: #2d4a3d;
    margin-bottom: 15px;
}

/* Single Project Styles */
.single-project {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

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

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #8bc34a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #2d4a3d;
}

.breadcrumbs .separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumbs .current {
    color: #666;
}

.project-header .project-title {
    font-size: 2.5rem;
    color: #2d4a3d;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.project-featured-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.project-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    line-height: 1.8;
}

.project-content p {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.1rem;
}

.project-content h2,
.project-content h3,
.project-content h4 {
    color: #2d4a3d;
    margin-top: 30px;
    margin-bottom: 15px;
}

.project-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #8bc34a;
    padding-bottom: 10px;
}

.project-content h3 {
    font-size: 1.5rem;
}

.project-content h4 {
    font-size: 1.3rem;
}

.project-content ul,
.project-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.project-content li {
    margin-bottom: 8px;
    color: #333;
}

.project-footer {
    margin-top: 60px;
}

.project-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
    max-width: 45%;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 20px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: #2d4a3d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #2d4a3d;
    color: white;
    border-color: #2d4a3d;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.nav-previous a:hover span,
.nav-next a:hover span,
.nav-previous a:hover strong,
.nav-next a:hover strong {
    color: white;
}

.nav-previous a {
    text-align: left;
}

.nav-next a {
    text-align: right;
}

.nav-previous span,
.nav-next span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.nav-previous strong,
.nav-next strong {
    display: block;
    font-weight: 600;
    color: #2d4a3d;
}

.nav-previous i {
    margin-right: 8px;
}

.nav-next i {
    margin-left: 8px;
}

.back-to-projects {
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid rgba(139, 195, 74, 0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 8px;
    border: 2px solid transparent;
}

.btn-outline {
    background: transparent;
    color: #8bc34a;
    border-color: #8bc34a;
}

.btn-outline:hover {
    background: #8bc34a;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-archive {
        padding: 30px 0 60px;
    }
    
    .projects-grid {
        gap: 30px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .project-card {
        flex-direction: column !important;
        min-height: auto;
    }
    
    .project-image {
        flex: none;
        width: 100%;
        height: 220px;
    }
    
    .project-content {
        padding: 25px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .project-title a {
        font-size: 1.5rem;
    }
    
    .project-excerpt {
        font-size: 1rem;
    }
    
    .project-header .project-title {
        font-size: 2rem;
    }
    
    .project-content {
        padding: 20px;
        margin: 0 20px;
    }
    
    .project-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
    }
    
    .posts-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .projects-archive,
    .single-project {
        padding: 20px 0 40px;
    }
    
    .projects-grid {
        padding: 0 15px;
        gap: 25px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .project-title a {
        font-size: 1.4rem;
    }
    
    .project-excerpt {
        font-size: 0.95rem;
    }
    
    .project-header .project-title {
        font-size: 1.8rem;
    }
} 