/* Reset en basis stijlen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header en navigatie stijlen */
header {
    background-color: rgba(30, 35, 57, 0.8);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}
.logo img {
    height: 40px;
    margin-right: 10px;
}
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}
.nav-links li {
    margin-left: 2rem;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}
.nav-links a.no-wrap {
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    background-color: transparent;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Stijlen voor buttons */
.button {
    display: inline-block;
    background-color: #519ad5;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}
.button:hover {
    background-color: #3d7db3;
}
.contact-button {
    padding: 0.5rem 1rem;
}

/* Hero sectie stijlen */
.hero {
    background-image: url('hero4.webp');
    background-size: cover;
    background-position: center;
    height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}
.hero-content {
    color: white;
    padding: 0 5%;
    max-width: 1600px;
    width: 100%;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    max-width: 800px;
}

/* Gemeenschappelijke sectie stijlen */
.section {
    padding: 4rem 5%;
}
.grid {
    display: grid;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* Diensten sectie stijlen */
.services {
    background-color: #e6f2ff;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-top: -50px;
}
.services h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-family: 'Ubuntu', sans-serif;
    font-size: 44px;
    font-weight: normal;
    line-height: 1.25;
}
.services-grid {
    grid-template-columns: repeat(3, 1fr);
}
.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}
.service-card h3 {
    color: #519ad5;
    margin: 1rem 0;
}
.service-card p {
    flex-grow: 1;
}
.service-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Projecten sectie stijlen */
.projects-section {
    background-color: #f5f5f5;
}
.projects-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}
.projects-content, .projects-image {
    flex: 1;
}
.projects-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.projects-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}
.projects-title {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.projects-description {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Statistieken sectie stijlen */
.stats-section {
    background-color: #f0f8ff;
}
.stats-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}
.stat-item h3 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}
.stat-item p {
    color: #519ad5;
    font-size: 1rem;
    text-transform: uppercase;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
}

/* Footer styles */
footer {
    background-color: rgba(30, 35, 57, 0.8);
    color: white;
    text-align: center;
    padding: 15px 5%;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
}

footer p {
    margin: 0;
    line-height: 1.5;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #3d7db3;
}

/* Responsieve stijlen */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(30, 35, 57, 0.95);
        padding: 1rem;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 1rem 0;
    }
    .services-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    .projects-container {
        flex-direction: column;
    }
    .projects-content {
        order: 1;
    }
    .projects-image {
        order: 2;
        width: 100%;
    }
    .projects-image img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 450px;
    }
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .hero-content {
        text-align: center;
        padding-top: 60px;
    }
    .button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 350px) {
    .hero {
        height: 500px;
    }
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.1;
    }
    .hero-content {
        padding-top: 50px;
    }
}

@media (max-width: 600px) {
    footer {
        font-size: 0.8rem;
    }
    
    footer p {
        display: flex;
        flex-direction: column;
    }
    
    footer span {
        margin: 5px 0;
    }
}

 /* Standaard grootte */
.projects-title {
    font-size: 2.5rem;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .projects-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .projects-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .projects-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .projects-title {
        font-size: 1.25rem;
    }
}

/* Whatsapp knop */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25D366;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Mobiele aanpassingen */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 30px;
        right: 30px;
        padding: 15px;
    }
    
    .whatsapp-button svg {
        width: 35px;
        height: 35px;
    }
}

/* Extra aanpassingen voor zeer kleine schermen */
@media (max-width: 480px) {
    .whatsapp-button {
        bottom: 25px;
        right: 25px;
        padding: 14px;
    }
}