/* ==========================================================================
   UI COMPONENTS (Cards, Buttons, Terminal, Modal)
   ========================================================================== */
.btn-solid {
    background: var(--text-dark); color: white !important; padding: 12px 28px; 
    border-radius: 50px; text-decoration: none; transition: var(--transition); 
    border: none; font-weight: 700; display: inline-flex; align-items: center; gap: 10px;
}
.btn-solid:hover { background: var(--accent-blue); transform: translateY(-3px); box-shadow: var(--shadow-hover); }

/* BRUISEND EFFECT (Minecraft Style Fizz) SPECIFIEK VOOR DE CV KNOP */
.btn-fizz { position: relative; z-index: 1; }
.btn-fizz::before, .btn-fizz::after {
    content: ''; position: absolute; left: -20%; width: 140%; height: 100%; z-index: -1; 
    background-repeat: no-repeat; display: none;
}
.btn-fizz:hover::before {
    display: block; top: -25%;
    background-image: 
        radial-gradient(circle, var(--accent-blue) 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, var(--accent-blue) 15%, transparent 20%),
        radial-gradient(circle, var(--accent-blue) 20%, transparent 20%),
        radial-gradient(circle, var(--accent-blue) 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, var(--accent-blue) 15%, transparent 20%),
        radial-gradient(circle, var(--accent-blue) 20%, transparent 20%),
        radial-gradient(circle, var(--accent-blue) 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%;
    animation: topFizz 0.6s ease-in-out forwards;
}
.btn-fizz:hover::after {
    display: block; bottom: -25%;
    background-image: 
        radial-gradient(circle, var(--accent-blue) 20%, transparent 20%),
        radial-gradient(circle, var(--accent-blue) 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, var(--accent-blue) 15%, transparent 20%),
        radial-gradient(circle, var(--accent-blue) 20%, transparent 20%),
        radial-gradient(circle, var(--accent-blue) 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, var(--accent-blue) 15%, transparent 20%),
        radial-gradient(circle, var(--accent-blue) 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%;
    animation: bottomFizz 0.6s ease-in-out forwards;
}

@keyframes topFizz {
    0% { background-position: 5% 90%, 15% 90%, 25% 90%, 45% 90%, 65% 90%, 80% 90%, 95% 90%; }
    50% { background-position: 0% 40%, 20% 20%, 30% 50%, 50% 10%, 70% 40%, 85% 20%, 100% 50%; }
    100% { background-position: -5% 20%, 25% 0%, 35% 30%, 55% -10%, 75% 20%, 90% 0%, 105% 30%; background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
}
@keyframes bottomFizz {
    0% { background-position: 5% 10%, 15% 10%, 25% 10%, 45% 10%, 65% 10%, 80% 10%, 95% 10%; }
    50% { background-position: 0% 60%, 20% 80%, 30% 50%, 50% 90%, 70% 60%, 85% 80%, 100% 50%; }
    100% { background-position: -5% 80%, 25% 100%, 35% 70%, 55% 110%, 75% 80%, 90% 100%, 105% 70%; background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
}

/* SPLASH EFFECT BIJ KLIKKEN OP CV */
.btn-solid.is-splashing {
    animation: buttonSplash 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: none; /* Voorkomt dubbelklikken tijdens animatie */
}

@keyframes buttonSplash {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.8); }
    20% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.8); }
    100% { transform: scale(1.1); box-shadow: 0 0 0 40px rgba(2, 132, 199, 0); }
}

.badge-float {
    position: absolute; bottom: -20px; left: 10px; background: white; padding: 15px 25px;
    border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); display: flex; align-items: center; 
    gap: 15px; font-weight: 800; color: var(--text-dark); transform: rotate(-3deg); transition: var(--transition);
}
.badge-float:hover { transform: rotate(0deg) scale(1.05); }
.badge-float i { color: var(--accent-orange); font-size: 1.5rem; }

/* TERMINAL */
.terminal-intro { text-align: center; margin-bottom: 40px; }
.terminal-intro h2 { color: white; font-size: 2.5rem; margin-bottom: 15px; }
.terminal-intro p { color: #94a3b8; max-width: 600px; margin: 0 auto; }
.terminal-window { max-width: 1000px; margin: 0 auto; background: #1e293b; border-radius: var(--radius-box); box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
.t-header { background: #0f172a; padding: 16px 24px; display: flex; gap: 10px; border-bottom: 1px solid #334155; align-items: center; }
.t-dot { width: 14px; height: 14px; border-radius: 50%; } .t-red { background: #ef4444; } .t-yel { background: #f59e0b; } .t-grn { background: #10b981; }
.t-title { margin-left: 15px; font-family: var(--font-code); color: #94a3b8; font-size: 0.9rem; }
.t-source { padding: 40px; font-family: var(--font-code); color: #cbd5e1; }
.c-kw { color: #c678dd; font-weight: 600; } .c-str { color: #98c379; } .c-fn { color: #61afef; } .c-vr { color: #e5c07b; }
.t-action-bar { margin-top: 40px; display: flex; align-items: center; gap: 20px; border-top: 1px dashed #334155; padding-top: 30px; }
.btn-run {
    background: rgba(16, 185, 129, 0.1); color: var(--accent-green); border: 1px solid var(--accent-green);
    padding: 12px 30px; border-radius: 8px; font-family: var(--font-code); font-weight: 600; position: relative; transition: var(--transition); display: flex; align-items: center; gap: 10px;
}
.btn-run:hover { background: var(--accent-green); color: white; box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); transform: translateY(-2px); }
.pulse { position: absolute; inset: -5px; border-radius: 12px; border: 2px solid var(--accent-green); animation: pulseAnim 2s infinite; pointer-events: none; }
@keyframes pulseAnim { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.1); opacity: 0; } }

/* DASHBOARD & HOBBY BUTTONS */
.profile-dashboard { display: none; background: white; padding: 50px; }
.dash-header { display: flex; flex-direction: column; text-align: center; align-items: center; gap: 15px; margin-bottom: 40px; border-bottom: 2px solid var(--bg-page); padding-bottom: 20px; }
.dash-avatar { width: 80px; height: 80px; background: var(--accent-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: white; }
.dash-header h3 { font-size: 2rem; color: var(--text-dark); margin-bottom: 5px; }
.dash-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.skill-group { margin-bottom: 20px; }
.skill-group span { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.progress-bg { background: var(--bg-page); height: 10px; border-radius: 10px; overflow: hidden; }
.progress-fill { background: linear-gradient(90deg, var(--accent-blue), #38bdf8); height: 100%; border-radius: 10px; transition: width 1s ease-out; }
.lang-list { display: flex; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.lang-badge { background: var(--bg-page); border: 1px solid #e2e8f0; padding: 8px 16px; border-radius: 8px; font-weight: 600; color: var(--text-dark); }
.hobby-grid { display: flex; flex-wrap: wrap; gap: 15px; }
.btn-hobby { background: var(--bg-page); border: 1px solid #e2e8f0; padding: 10px 20px; border-radius: 50px; font-weight: 700; color: var(--text-body); transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.btn-hobby:hover { border-color: var(--accent-orange); color: var(--accent-orange); transform: translateY(-3px); box-shadow: var(--shadow-hover); }

/* IMPACT BOX */
.impact-box { background: white; padding: 60px; border-radius: var(--radius-box); box-shadow: var(--shadow-soft); position: relative; overflow: hidden; text-align: left; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15%, 45% { transform: scale(1.05); } 30%, 60% { transform: scale(1); } }
.impact-box::before { content: '\f004'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: -20px; bottom: -20px; font-size: 15rem; color: rgba(234, 88, 12, 0.03); pointer-events: none; animation: heartbeat 2.5s infinite ease-in-out; }
.impact-box h3 { font-size: 2.2rem; margin-bottom: 20px; position: relative; z-index: 1; }
.impact-box p { font-size: 1.1rem; margin-bottom: 15px; position: relative; z-index: 1; }
.impact-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-blue); font-weight: 700; text-decoration: none; margin-top: 10px; font-size: 1.1rem; position: relative; z-index: 1; }
.tags { display: flex; gap: 15px; margin-top: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.tags span { background: #f1f5f9; color: var(--text-dark); padding: 10px 20px; border-radius: 12px; font-weight: 700; }
.tags span i { color: var(--accent-orange); margin-right: 5px; }

/* EXP CARDS */
.card-exp { background: var(--bg-page); padding: 40px 30px; border-radius: var(--radius-box); border: 1px solid #e2e8f0; transition: var(--transition); position: relative; overflow: hidden; }
.card-exp:hover { border-color: var(--accent-blue); transform: translateY(-8px); box-shadow: var(--shadow-hover); background: white; }
.exp-icon { width: 60px; height: 60px; background: white; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--accent-blue); margin-bottom: 25px; transition: var(--transition); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.card-exp:hover .exp-icon { background: var(--accent-blue); color: white; }
.exp-date { font-family: var(--font-code); font-size: 0.85rem; font-weight: 600; color: var(--accent-orange); margin-bottom: 15px; display: block; }
.exp-title { font-size: 1.5rem; margin-bottom: 5px; }
.exp-comp { font-size: 1.1rem; color: var(--text-body); margin-bottom: 25px; font-weight: 600; }
.btn-more { font-weight: 700; color: var(--accent-blue); border: none; background: none; display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; }
.card-exp:hover .btn-more i { transform: translateX(6px); }

/* OVERLAP CARDS */
.overlap-container { 
    position: relative; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 350px; 
    width: 100%; 
}
.overlap-card { position: absolute; width: 85%; background: white; padding: 35px; border-radius: var(--radius-box); box-shadow: var(--shadow-soft); border: 1px solid #e2e8f0; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); cursor: pointer; }
.overlap-card h4 { font-size: 1.3rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.overlap-card h4 i { color: var(--accent-orange); }
.overlap-card p { font-size: 0.95rem; color: var(--text-body); margin-bottom: 15px; }
.card-edu { transform: rotate(-4deg) translateX(-30px); z-index: 1; }
.card-stage { transform: rotate(4deg) translateX(30px); z-index: 2; }
.overlap-card:hover { transform: rotate(0deg) scale(1.05) translateY(-10px); z-index: 10; box-shadow: var(--shadow-hover); border-color: var(--accent-blue); }
.modal-data { display: none; }

/* MODAL UI */
.modal-wrap { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(10px); z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: var(--transition); padding: 20px; }
.modal-wrap.is-open { opacity: 1; visibility: visible; }
.modal-box { background: white; width: 100%; max-width: 800px; border-radius: var(--radius-box); padding: 60px; position: relative; transform: scale(0.95) translateY(20px); transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); max-height: 85vh; overflow-y: auto; box-shadow: 0 40px 100px rgba(0,0,0,0.5); }
.modal-wrap.is-open .modal-box { transform: scale(1) translateY(0); }
.modal-box::-webkit-scrollbar { width: 6px; }
.modal-box::-webkit-scrollbar-track { background: transparent; margin-block: 20px; }
.modal-box::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.modal-box::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); }
.btn-close { position: absolute; top: 25px; right: 25px; width: 45px; height: 45px; background: #f1f5f9; border: none; border-radius: 50%; font-size: 1.2rem; color: var(--text-dark); transition: var(--transition); display: flex; align-items: center; justify-content: center; z-index: 10000; }
.btn-close:hover { background: #ef4444; color: white; transform: rotate(90deg); }
.m-title { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 5px; }
.m-comp { font-size: 1.3rem; color: var(--accent-blue); font-weight: 700; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #f1f5f9; }
.m-sec-title { font-family: var(--font-display); font-size: 1.2rem; margin: 25px 0 15px; display: flex; align-items: center; gap: 10px; }
.m-sec-title i { color: var(--accent-orange); }
.m-list { list-style: none; }
.m-list li { position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 1.05rem; }
.m-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--accent-green); font-size: 1.1rem; }

/* MAGNETIC BUTTON */
.btn-magnetic { display: inline-flex; background: var(--accent-orange); color: white !important; padding: 18px 45px; border-radius: 50px; font-weight: 700; font-size: 1.2rem; align-items: center; gap: 12px; text-decoration: none; transition: transform 0.1s; position: relative; }
.btn-magnetic.bubbling { box-shadow: 0 0 0 10px rgba(234,88,12,0.2), 0 0 0 20px rgba(234,88,12,0.1); animation: bubbleAnim 1s infinite; }
@keyframes bubbleAnim { 0% { box-shadow: 0 0 0 0 rgba(234,88,12,0.4); } 100% { box-shadow: 0 0 0 30px rgba(234,88,12,0); } }

/* MOBILE WARNING OVERLAY */
.mobile-warning-overlay { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); z-index: 100000; align-items: center; justify-content: center; text-align: center; padding: 20px; color: white; }
.warning-content { background: var(--bg-dark); padding: 40px 20px; border-radius: var(--radius-box); border: 1px solid var(--accent-orange); box-shadow: 0 20px 50px rgba(0,0,0,0.5); max-width: 90%; }
.warning-icon { font-size: 3rem; color: var(--accent-orange); margin-bottom: 20px; }
.warning-content h3 { color: white; margin-bottom: 15px; font-size: 1.8rem; }
.warning-content p { color: #cbd5e1; margin-bottom: 25px; font-size: 1rem; }