/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Algemene instellingen */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #0b1a33;
    padding-top: 140px; /* ruimte voor vaste header */
}

/* HEADER */
header,
.fixed-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #0b1a33;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    z-index: 1000;
}

/* Logo */
header .logo,
.fixed-header .logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

/* Titel */
header h1 {
    color: #f2f2f2;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Navigatie */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #f2f2f2;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

nav a:hover,
nav li.active a {
    color: #d4af37;
    transform: scale(1.05);
}

/* HERO SECTION */
.hero {
    position: relative;
    background: url('../image/foto2.webp') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    background-color: rgba(11, 26, 51, 0.55);
}

.hero-text {
    position: relative;
    color: #fff;
    max-width: 700px;
    z-index: 1;
    padding: 20px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* Knoppen */
.btn {
    display: inline-block;
    background-color: #d4af37;
    color: #0b1a33;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #b9972f;
    transform: scale(1.05);
}

.btn-gallery {
    background-color: #b9972f;
    color: #0b1a33;
}

.btn-gallery:hover {
    background-color: #d4af37;
}

/* ABOUT SECTION */
.about {
    text-align: center;
    padding: 80px 20px;
    background-color: #fff;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about p {
    max-width: 800px;
    margin: 10px auto;
    line-height: 1.6;
}

/* FOOTER */
footer {
    background-color: #0b1a33;
    color: #f2f2f2;
    padding: 40px 20px 20px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: #d4af37;
    margin-bottom: 10px;
}

.footer-section p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.footer-bottom {
    background: #0b1a33;
    color: #fff;
    text-align: center;
    border-top: 1px solid #d4af37;
    margin-top: 20px;
    padding: 25px 0 15px 0;
    font-size: 0.85rem;
}

/* GALLERY SECTION */
.gallery {
    padding: 160px 20px 80px 20px;
    background-color: #f2f2f2;
    text-align: center;
    min-height: 100vh;
}

.gallery h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #0b1a33;
}

.video-title {
    margin: 70px 0 30px 0;
    font-size: 2rem;
    color: #0b1a33;
}

/* GRID */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

/* VIDEO AANPASSINGEN */
.gallery-item.video-item {
    aspect-ratio: 16 / 10;
    position: relative;
}

.gallery-item.video-item video {
    border-bottom: 4px solid #d4af37;
}

.gallery-item.video-item::after {
    content: "VIDEO";
    position: absolute;
    bottom: 6px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 3px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
}

/* HOVER EFFECT */
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* LIGHTBOX */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#lightbox-content img,
#lightbox-content video {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

#closeBtn {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

/* MEDIA QUERIES */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 10px 20px;
    }

    header h1 {
        font-size: 1.5rem;
        margin: 5px 0;
    }

    header .logo {
        height: 70px;
    }

    nav ul {
        gap: 15px;
        padding: 5px 0 10px 0;
    }

    body {
        padding-top: 170px;
    }

    .gallery {
        padding-top: 200px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}




/* Lightbox basis */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Active lightbox via :target */
.lightbox:target {
    display: flex;
}

/* Grote foto/video */
.lightbox img,
.lightbox video {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* Sluitknop */
.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 40px;
    height: 40px;
    text-decoration: none;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
}

.lightbox .close:hover {
    opacity: 1;
}

/* Gallery styling */
.gallery-item img,
.gallery-item video {
    width: 100%;
    cursor: pointer;
}
