/* --- css/portfolio.css --- */

/* FILTERS */
.filter-container { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; align-items: center; }
.filter-btn { 
    background: transparent; border: 1px solid #444; color: var(--text-muted); 
    padding: 8px 20px; border-radius: 50px; cursor: pointer; font-size: 0.9rem; 
    font-weight: 600; transition: all 0.3s ease; display: flex; align-items: center; gap: 6px; 
}
.filter-btn:hover { border-color: var(--accent); color: white; }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: white; box-shadow: 0 4px 15px var(--accent-glow); }

@media (max-width: 768px) {
    .filter-container { justify-content: flex-start; overflow-x: auto; padding-bottom: 10px; flex-wrap: nowrap; white-space: nowrap; }
    .filter-container::-webkit-scrollbar { display: none; }
    .filter-btn { flex-shrink: 0; }
}

/* GRID & KAARTEN */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.portfolio-card { 
    background: var(--bg-card); border-radius: 15px; overflow: hidden; 
    border: 1px solid #333; display: flex; flex-direction: column; position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; 
}
.clickable-card { cursor: pointer; }
.clickable-card:hover { border-color: var(--accent); box-shadow: 0 10px 25px rgba(211, 47, 47, 0.2); transform: translateY(-5px); }

.portfolio-img { width: 100%; height: 180px; background-color: #333; overflow: hidden; position: relative; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.clickable-card:hover .portfolio-img img { transform: scale(1.1); }

.portfolio-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.portfolio-info h3 { margin: 0 0 10px 0; font-size: 1.2rem; color: white; }
.portfolio-info p { color: #aaa; font-size: 0.9rem; margin-bottom: 15px; line-height: 1.5; flex: 1; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.tech-tag { background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; color: var(--accent); font-weight: bold; }
.portfolio-link { display: inline-block; color: white; text-decoration: none; font-weight: bold; font-size: 0.9rem; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.portfolio-link:hover { color: var(--accent); }

/* JAARTAL BADGE */
.portfolio-year-badge { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.8); color: var(--accent); padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; border: 1px solid var(--accent); z-index: 10; }

/* MOCKUPS & CHIPS */
.browser-mockup { width: 100%; height: 100%; background: #2d2d2d; display: flex; flex-direction: column; border-bottom: 2px solid var(--accent); }
.browser-header { height: 25px; background: #1a1a1a; display: flex; align-items: center; padding-left: 10px; gap: 6px; border-bottom: 1px solid #333; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f56; } .dot-yellow { background: #ffbd2e; } .dot-green { background: #27c93f; }
.browser-body { flex: 1; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #333 0%, #222 100%); position: relative; overflow: hidden; }
.browser-initials { font-size: 3rem; font-weight: 900; color: rgba(255,255,255,0.1); border: 3px solid rgba(255,255,255,0.1); padding: 10px 20px; border-radius: 8px; }
.browser-line { position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: var(--accent); }

.mobile-mockup { width: 140px; height: 100%; margin: 0 auto; background: #1a1a1a; border: 4px solid #333; border-radius: 20px; position: relative; display: flex; align-items: center; justify-content: center; }
.mobile-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; background: #333; border-radius: 4px; }
.mobile-body { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at top, #2d2d2d 0%, #111 100%); border-radius: 16px; overflow: hidden; }
.mobile-initials { font-size: 2.5rem; font-weight: 900; color: var(--accent); opacity: 0.8; }

.video-file-mockup { width: 100%; height: 100%; background: #111; display: flex; flex-direction: column; justify-content: space-between; position: relative; border-bottom: 2px solid var(--accent); }
.video-header-bar { height: 30px; background: rgba(255,255,255,0.1); display: flex; align-items: center; padding: 0 10px; font-size: 0.7rem; color: #888; font-family: monospace; }
.video-play-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border: 3px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.5rem; }
.video-timeline-bar { height: 4px; width: 100%; background: #333; position: relative; }
.video-progress { width: 40%; height: 100%; background: var(--accent); }

.youtube-container { width: 100%; height: 100%; position: relative; }
.youtube-container img { width: 100%; height: 100%; object-fit: cover; }
.play-icon-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: rgba(0,0,0,0.7); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; border: 2px solid white; transition: all 0.3s ease; }
.portfolio-card:hover .play-icon-overlay { background: var(--accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.1); }

.extra-videos-title { display: block; margin-top: 15px; font-size: 0.8rem; color: #888; margin-bottom: 5px; }
.video-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.video-chip { background: #333; color: #ccc; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; text-decoration: none; transition: 0.2s; border: 1px solid transparent; }
.video-chip:hover { background: #444; color: white; border-color: var(--accent); }