/* Projects Hero Section */
.projects-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--surface-color) 0%, #e0e7ff 100%);
    text-align: center;
}

.projects-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.projects-hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Projects Section */
.projects-section {
    padding: 5rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.project-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-btn {
    background-color: white;
    color: var(--primary-color);
    padding: 1rem;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.project-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.project-category {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background-color: var(--surface-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links .btn {
    flex: 1;
    text-align: center;
}

/* Projects CTA Section */
.projects-cta {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-content .btn {
    background-color: white;
    color: var(--primary-color);
}

.cta-content .btn:hover {
    background-color: var(--surface-color);
    transform: translateY(-2px);
}

/* Footer Styles - Override main styles with higher specificity */
body .footer {
    background-color: var(--text-primary) !important;
    color: white !important;
    padding: 2rem 0 !important;
    margin-top: auto !important;
}

body .footer .footer-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

body .footer .footer-content .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

body .footer .footer-links {
    display: flex !important;
    gap: 2rem !important;
}

body .footer .footer-links a {
    color: white !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    font-weight: 500 !important;
}

body .footer .footer-links a:hover {
    color: var(--accent-color) !important;
}

body .footer p {
    margin: 0 !important;
    font-weight: 400 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-hero {
        padding: 6rem 0 3rem;
    }

    .projects-hero-content h1 {
        font-size: 2.5rem;
    }

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

    .project-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .project-category {
        align-self: flex-start;
    }

    .project-links {
        flex-direction: column;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    body .footer .footer-content {
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center !important;
    }

    body .footer .footer-links {
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .projects-hero-content h1 {
        font-size: 2rem;
    }

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

    .project-content {
        padding: 1.5rem;
    }

    .project-image {
        height: 200px;
    }

    body .footer .footer-content {
        padding: 0 1rem !important;
    }

    body .footer .footer-links {
        flex-direction: column !important;
        gap: 1rem !important;
    }
}

/* Legacy styles - keeping for compatibility but they should be removed eventually */
.projecten {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 40px 20px;
    flex-wrap: wrap;
    row-gap: 30px;
}

.projecten .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(169, 169, 169);
    padding: 20px;
    width: 20%;
    border-radius: 30px;
}

.projecten .box h2 {
    color: #cc0000;
    margin-bottom: 15px;
}   

.projecten a {
    color: blue;
}

.projecten a:hover {
    color: purple;
}

.project-1 img {
    width: 200px;
    height: 200px;
}
.project-2 img {
    width: 200px;
    height: 200px;
}

.project-3 img {
    width: 200px;
    height: 200px;
}

.project-5 img {
    width: 200px;
    height: 200px;
}

.project-6 img {
    width: 200px;
    height: 200px;
}

@media screen and (max-width: 426px) {
    .projecten {
        flex-direction: column;
        align-items: center;
    }
    .projecten .box {
        width: 80%;
        margin-bottom: 20px;
    }
}


