/* Algemene Reset & Basis Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
    color: #333;
}

h2 { font-size: 2.5em; }
h3 { font-size: 2em; }
h4 { font-size: 1.5em; }

p {
    margin-bottom: 15px;
}

/* Knoppen */
.button {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.button:hover {
    background-color: #0056b3;
}

.button-small {
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: #6c757d;
}

.button-small:hover {
    background-color: #5a6268;
}

/* Header */
header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    color: #007bff;
    margin: 0;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin-left: 25px;
}

nav ul li a {
    color: #555;
    font-weight: 400;
}

nav ul li a:hover {
    color: #007bff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://via.placeholder.com/1920x600/343a40/ffffff?text=Synology+NAS+Background') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    padding: 100px 0;
}

.hero-section h2 {
    font-size: 3em;
    margin-bottom: 15px;
    color: #ffffff;
}

.hero-section p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* Algemene Sectie Styling */
section {
    padding: 60px 0;
    text-align: center;
}

.about-section {
    background-color: #e9ecef;
}

.services-section {
    background-color: #ffffff;
}

.contact-section {
    background-color: #f8f9fa;
}


/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #007bff;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.service-item img {
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 50%; /* Voor ronde iconen */
}

.service-item h4 {
    color: #007bff;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #333;
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

/* Media Queries voor Responsiviteit */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 15px;
        padding-left: 0;
    }

    nav ul li {
        margin: 0 10px;
        display: block; /* Maak lijstitems blok-elementen */
        margin-bottom: 10px; /* Voeg wat ruimte toe tussen links */
    }

    .hero-section h2 {
        font-size: 2em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .service-grid {
        grid-template-columns: 1fr; /* Stapel diensten op mobiel */
    }
}