/* ----------------------------------------------------
   ALGEMENE LAYOUT
---------------------------------------------------- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #d6e7f8;
    color: #770505e7;
    overflow-x: hidden;
    z-index: 0;
}

/* ----------------------------------------------------
   DYNAMISCHE FLOATING BLOBS (Stripe-style)
---------------------------------------------------- */

/* Basis blob-stijl */
.blob, .blob3, .blob4, .blob5 {
    position: fixed;
    border-radius: 50%;
    will-change: transform;
    z-index: -1; /* Belangrijk: zichtbaar maar achter content */
}

/* Grote hoofdblobs */
.blob {
    width: 500px;
    height: 500px;
    filter: blur(60px);
    opacity: 1;
    animation: float2 18s ease-in-out infinite;
}

/* Extra dynamische blobs */
.blob3, .blob4, .blob5 {
    width: 450px;
    height: 450px;
    filter: blur(-50px);
    opacity: 0.90;
    animation: float2 22s ease-in-out infinite, colorShift 18s ease-in-out infinite;
}

/* Posities */
.blob1 {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, #0d6efd, #639cf1);
}

.blob2 {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, #6ea8fe, #0d6efd);
    animation-delay: -9s;
}

.blob3 {
    top: 20%;
    left: -150px;
    background: radial-gradient(circle, #6ea8fe, #6b13f8);
    animation-delay: -4s;
}

.blob4 {
    bottom: 10%;
    left: 30%;
    background: radial-gradient(circle, #fd0d35, #fe6ef2);
    animation-delay: -10s;
}

.blob5 {
    top: 50%;
    right: -200px;
    background: radial-gradient(circle, #6ea8fe, #0d6efd);
    animation-delay: -16s;
}

/* Bewegingsanimaties */
@keyframes float {
    0% { transform: translate(0,0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
    100% { transform: translate(0,0) scale(1); }
}

@keyframes float2 {
    0% { transform: translate(0,0) scale(1); }
    40% { transform: translate(-30px, 20px) scale(1.15); }
    70% { transform: translate(20px, -25px) scale(1.05); }
    100% { transform: translate(0,0) scale(1); }
}

/* Subtiele kleurverschuiving */
@keyframes colorShift {
    0% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(40deg); }
    100% { filter: hue-rotate(0deg); }
}

/* ----------------------------------------------------
   NAVIGATIEBALK (Superhuman-style)
---------------------------------------------------- */
.topnav {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    z-index: 10;
}

.nav-left {
    font-size: 1.3rem;
    font-weight: bold;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-item {
    position: relative;
    margin-left: 25px;
    cursor: pointer;
    user-select: none;
}

.dropdown {
    display: none;
    position: absolute;
    top: 30px;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.dropdown a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #222;
    white-space: nowrap;
}

.dropdown a:hover {
    background: #f0f0f0;
}

.nav-item:hover .dropdown {
    display: block;
}

/* ----------------------------------------------------
   HEADER
---------------------------------------------------- */
header {
    text-align: center;
    padding: 40px 20px;
    background: transparent;
    color: #222;
}

header h1 {
    margin: 0;
    font-size: 2.4rem;
}

header p {
    margin-top: 10px;
    opacity: 0.9;
}

/* ----------------------------------------------------
   TILES
---------------------------------------------------- */
/* --- GRID LAYOUT --- */
.grid {
    display: grid;
    gap: 28px;
    padding: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}


/* --- TILE BASE --- */
.tile {
    position: relative;
    padding: 28px;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;

    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.28);

    /* Depth */
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 0 30px rgba(120, 120, 255, 0.12);

    /* Smooth animation */
    transition:
        transform 0.35s cubic-bezier(.25,.8,.25,1),
        box-shadow 0.35s cubic-bezier(.25,.8,.25,1),
        background 0.35s ease;
    cursor: pointer;

    /* 3D tilt effect */
    transform-style: preserve-3d;
}


/* --- TILE HOVER (3D + glow) --- */
.tile:hover {
    transform: translateY(-10px) scale(1.03) rotateX(4deg) rotateY(-4deg);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.18),
        0 0 40px rgba(120, 120, 255, 0.25);
    background: rgba(255, 255, 255, 0.22);
}


/* --- ICON --- */
.icon {
    font-size: 3.2rem;
    margin-bottom: 16px;
    opacity: 0.85;
    transform: translateZ(20px);
    transition: opacity 0.25s ease, transform 0.35s ease;
}

.tile:hover .icon {
    opacity: 1;
    transform: translateZ(35px);
}


/* --- TITLE & TEXT --- */
.tile h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 600;
    transform: translateZ(12px);
}

.tile p {
    margin: 0;
    opacity: 0.85;
    transform: translateZ(8px);
}


.icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
/* --- BLOB TUSSENIN INTENSITEIT --- */
.blob {
    opacity: 0.32;          /* zichtbaar maar niet fel */
    filter: blur(220px);    /* zachte glow, geen harde randen */
    transform: scale(1.45); /* iets groter dan origineel */
}

.blob3, .blob4, .blob5 {
    opacity: 0.26;          /* subtieler dan de hoofdblobs */
    filter: blur(250px);    /* zachte mist */
    transform: scale(1.55); /* iets groter */
}

/* Kleuren iets sterker dan subtiel, maar niet fel */
.blob1, .blob2, .blob3, .blob4, .blob5 {
    background: radial-gradient(circle,
        rgba(13,110,253,0.45),
        rgba(110,168,254,0.30)
    );
}