/* Kleurvariabelen */
:root {
  --color-primary: #0B3C5D;    /* Donkerblauw */
  --color-secondary: #1D9CE5;  /* Lichtblauw/Cyaan */
  --color-accent: #4CAF50;     /* Groen */
  --color-light: #FFFFFF;      /* Wit */
  --color-dark: #333333;       /* Donkergrijs voor tekst */
}

/* Algemene stijlen */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    margin: 0;
    padding: 0;
    background-color: var(--color-light);
}

.container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

/* Header stijlen */
.header {
    background: var(--color-light);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header .logo img {
    height: 50px;
}

.header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header nav ul li {
    display: inline;
    margin-left: 20px;
}

.header nav ul li a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.header nav ul li a:hover {
    color: var(--color-secondary);
}

/* Hero sectie */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: var(--color-light);
    background: rgba(11, 60, 93, 0.6); /* semi-transparent overlay */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--color-secondary);
    color: var(--color-light);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-size: 1.1rem;
}

.btn:hover {
    background: var(--color-accent);
}

/* Services sectie */
.services {
    padding: 4rem 0;
    background: var(--color-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--color-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--color-accent);
}

.service-item i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

/* Portfolio sectie */
.portfolio {
    padding: 4rem 0;
}

.portfolio-slider {
    position: relative;
    overflow: hidden;
    height: 80vh; /* Pas dit aan naar wens */
}

.portfolio-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.portfolio-item.active {
    opacity: 1;
    z-index: 1;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(-30px, -30px);
    }
}

.portfolio-item.active img {
    animation: kenburns 10s ease-out both;
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 60, 93, 0.8);
    color: #fff;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.portfolio-item.active .portfolio-info {
    transform: translateY(0);
}

/* Contact sectie */
.contact {
    padding: 4rem 0;
    background: var(--color-light);
}

.contact-form form {
    display: grid;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-secondary);
    outline: none;
}

.contact-form button {
    justify-self: start;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-message {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}


/* Footer */
.footer {
    background: var(--color-primary);
    color: var(--color-light);
    padding: 2rem 0;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    .header nav ul {
        display: none; /* Voor mobiel menu, later te implementeren */
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
