/* ==========================================================================
   1. ALGEMENE BASIS STYLES & ACHTERGROND
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background-color: #0303053b; /* Solide donkere basis zodat gradients eroverheen werken */
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    overflow-x: hidden; /* Voorkomt horizontaal scrollen op mobiel */
}

/* De bewegende Aurora gloed */
body::before {
    content: '';
    position: fixed; 
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(at 15% 20%, rgba(6, 182, 212, 0.15) 0px, transparent 45%),   /* Cyaan */
        radial-gradient(at 85% 25%, rgba(99, 102, 241, 0.18) 0px, transparent 50%),  /* Indigo */
        radial-gradient(at 50% 80%, rgba(236, 72, 153, 0.12) 0px, transparent 45%);  /* Roze/Paars */
    background-attachment: fixed;
    animation: auroraGlow 25s infinite ease-in-out alternate;
    z-index: -2; /* Achter de geanimeerde gradient */
}

/* Het flinterdunne Tech-Grid */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 2; /* Ligt subtiel over de content heen */
    pointer-events: none;
}

/* De bewegende achtergrond gradient */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3; /* Helemaal naar de achtergrond verplaatst */
    background: linear-gradient(-45deg, #170a1e, #3f105a, #066c8e, #051d93);
    background-size: 400% 400%;
    animation: gradientMovement 10s ease infinite;
}

/* Media elementen */
img, video {
    max-width: 100%;
    height: auto;
}

.main-content {
  padding: 40px 20px; /* Geeft ruimte aan de boven-, onder- en zijkanten */
}

.img-index {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 6rem;
}

.project-image {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 6rem;
    gap: 6rem;
    padding: 1rem;
}

/* Dit geldt voor ALLE mobiele telefoons (iPhone, Samsung, Google Pixel, etc.) */
@media only screen and (max-width: 767px) {
    body {
        font-size: 16px; /* Altijd goed leesbaar op elk telefoonscherm */
        padding: 15px;   /* Iets meer ademruimte aan de zijkanten */
    }

    .kolom {
        flex: 1 1 100%;  /* Dwingt alle kolommen netjes onder elkaar op ELKE mobiel */
    }
}

section {
    padding: 2rem;
    margin: 0; /* Gereset voor mobiel zodat tekst niet wordt weggedrukt */
}

strong {
    color: #00b3ff;
}

a {
    color: #00b3ff;
    text-decoration: none;
}

a:hover {
    color: #66fe01;
    text-decoration: underline;
}

.img-blog {
    margin-left: auto;  
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.blog-post {
    margin-bottom: 2rem;
    margin: 1rem;
    background-color: #3d3d3d6e; /* Semi-transparant om de bewegende achtergrond te zien */
    padding: 1rem;  
    border-radius: 8px; 
    border: 1px solid #00b3ff 
}

.blog-post h2 {
    color: #00b7ff;
    margin-top: 0;
}

/* ==========================================================================
   2. LOGO & HEADER / NAVBAR
   ========================================================================== */
.navbar { 
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #1a0b2e00;
    padding-top: calc(15px + env(safe-area-inset-top));
    padding-bottom: env(safe-area-inset-bottom);
    margin: 0; 
}

.logo {
    padding: 1rem;
    width: 6rem;
    height: auto;
}

.nav-container {
    color: #00b7ff;
    margin: 0 1vw;
    padding: 0.5rem;
    display: flex;
    gap: 15px; /* Ruimte tussen de knoppen */
}

.nav-container ul {
    display: flex;
    list-style: none; 
    margin: 0;
    padding: 0;
}

.nav-container li {
    margin-left: 20px;
}

.nav-container a {
    background-color: #01bef767;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
    border: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-family: sans-serif;
    white-space: nowrap;
}

.nav-container a:hover {
    background: rgba(255, 255, 255, 0.2); 
    transform: translateY(-2px);
}

/* 1. DE CONTAINER */
.video-container {
  width: 100%;       /* Vult de volledige breedte van je website */
  position: relative;
  overflow: hidden;
  background-color: black;
}

/* 2. DE VIDEO ZELF */
.video-container video {
  display: block;    /* Verwijdert witruimte onder de video */
  width: 100%;       /* Dwingt de video naar de volledige breedte */
  height: auto;      /* Bereken de hoogte automatisch, zo klapt de container niet in */
}


/* ==========================================================================
   3. CONTENT ELEMENTEN
   ========================================================================== */
.contact-info {
    margin: 1.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.333);
    padding: 1.5rem;  
    border-radius: 8px; 
    border: 1px solid #5d00ff; 
}

.contact-info h2 {
    color: #00b7ff;
    margin-top: 0;
}

.label {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #ffffff;
}

.home-title {
    font-family:Arial, Helvetica, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    color: #00b3ff;
}

.home-txt {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
}

/* ==========================================================================
   4. FOOTER STYLES
   ========================================================================== */
footer {
    color: #ffffff;
    text-align: center;
    padding: 2rem;
    margin: 0;
}

footer.label {
    display: flex;
    flex-direction: column-reverse; 
    justify-content: center;
    align-items: center;           
    padding: 30px 20px;            
    background-color: rgba(0, 0, 0, 0.333);     
    gap: 20px;                   
}

.footer-logo img {
    max-height: 30px;              
    display: block;
}

.footer-nav {
    display: flex;
    gap: 25px;                     
    justify-content: center;
}

.footer-nav a {
    color: #ffffff;                
    text-decoration: none;         
    font-size: 14px;
    transition: color 0.3s ease;   
}

.footer-nav a:hover {
    color: #01fc01;                
}

.footer-info p {
    color: #ffffff;                
    margin: 0;
    font-size: 14px;
}

/* ==========================================================================
   5. ANIMATIES
   ========================================================================== */
@keyframes auroraGlow {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(4deg) scale(1.1); }
    100% { transform: rotate(-3deg) scale(0.95); }
}

@keyframes gradientMovement {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; } 
}

/* ==========================================================================
   6. RESPONSIVE DESIGN (DESKTOP)
   ========================================================================== */
@media (min-width: 768px) {
    body {
        padding: 2rem; /* Geeft ademruimte rondom op grote schermen */
    }

    section {
        margin: 0 10rem; /* Luxe brede marges voor je hoofdcontent op desktop */
    }

    .navbar {
        margin: 0 10rem; 
    }

    footer {
        margin: 0 10rem;
    }

    footer.label {
        flex-direction: row; 
        justify-content: space-between;
        padding: 30px 50px;
    }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column; /* Logo en menu onder elkaar */
    gap: 20px;
  }

  .nav-links {
    flex-direction: column; /* Knoppen onder elkaar in plaats van naast elkaar */
    width: 100%; /* Menu neemt de volledige breedte in */
  }

  .nav-links a {
    text-align: center; /* Tekst netjes in het midden van de knop */
    width: 100%; /* Knoppen worden even breed */
    box-sizing: border-box; /* Zorgt dat padding de knop niet buiten het scherm drukt */
  }
}