/* Projects Section */
.projects-section {
    padding: 80px 0;
    background: #f9fafb;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.project-image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #f3f4f6;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-quick-view {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #f59e0b;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.project-card:hover .project-quick-view {
    transform: translateY(0);
}

.project-quick-view:hover {
    background: #d97706;
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.project-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.project-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.project-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-date svg {
    stroke: #9ca3af;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.project-link:hover {
    gap: 0.75rem;
}

.project-link svg {
    stroke: currentColor;
}

/* No Projects */
.no-projects {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.no-projects svg {
    stroke: #d1d5db;
    margin-bottom: 1.5rem;
}

.no-projects h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.no-projects p {
    color: #6b7280;
    font-size: 1.125rem;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 60px 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-content {
        padding: 1.5rem;
    }

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

    .project-image {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .projects-section {
        padding: 50px 0;
    }

    .projects-grid {
        gap: 1.25rem;
    }

    .project-content {
        padding: 1.25rem;
    }

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

    .project-description {
        font-size: 0.875rem;
    }

    .project-image {
        height: 220px;
    }

    .project-quick-view {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .no-projects {
        padding: 3rem 1.5rem;
    }

    .no-projects h3 {
        font-size: 1.5rem;
    }

    .no-projects p {
        font-size: 1rem;
    }
}
