/* CSS Variabelen voor de styling */
:root {
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-yellow: #FFD700;
    /* Stoer, fel industrieel geel */
    --accent-hover: #ffea00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigatie */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background-color: var(--surface-color);
    border-bottom: 2px solid var(--accent-yellow);
}

.site-notice {
    width: 100%;
    min-height: 2.4rem;
    padding: 0.55rem 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.14), rgba(255, 215, 0, 0.08));
    border-bottom: 1px solid rgba(255, 215, 0, 0.24);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

.site-notice span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.site-notice span::before,
.site-notice span::after {
    content: '';
    width: 1.2rem;
    height: 1px;
    background: rgba(255, 215, 0, 0.45);
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-yellow);
}

/* Maak logo klikbaar maar zonder link-styling */
.logo {
    text-decoration: none;
    color: inherit;
    cursor: pointer; /* pointer op desktop zodat gebruikers weten dat het klikbaar is */
}

.logo:hover,
.logo:focus {
    text-decoration: none;
    color: inherit;
}

/* Hero Sectie */
.hero {
    padding: 8rem 5%;
    text-align: left;
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
}

.hero h1 {
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--accent-yellow);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-yellow);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-yellow);
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-yellow);
}

.btn.inactive {
    background-color: #2a2a2a;
    border-color: #2a2a2a;
    color: #888;
    cursor: default;
    pointer-events: none;
    font-style: normal;
}

.btn.inactive:hover {
    background-color: #2a2a2a;
    color: #888;
}

.card.inactive {
    background-color: #1a1a1a;
    border-top-color: #2a2a2a;
    opacity: 0.75;
}

.card.inactive:hover {
    border-top-color: #2a2a2a;
    transform: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Portfolio Sectie */
.portfolio {
    padding: 5rem 5%;
}

.portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    border-left: 5px solid var(--accent-yellow);
    padding-left: 1rem;
    text-align: left;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.card {
    background-color: var(--surface-color);
    padding: 2rem;
    border-top: 4px solid #2a2a2a;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card.active {
    border-top-color: var(--accent-yellow);
}

.card.active:hover {
    border-top-color: var(--accent-yellow);
    transform: translateY(-5px);
}

.card.inactive {
    background-color: #151515;
    border-top-color: #cc3333;
    opacity: 0.85;
}

.card.inactive:hover {
    border-top-color: #cc3333;
    transform: none;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.1rem;
}

.project-date {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0.35rem 0 0.6rem 0;
    font-weight: 600;
}

.project-date.pending {
    color: #f59e0b;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.project-category {
    display: block;
    width: fit-content;
    background: rgba(255,215,0,0.04);
    color: var(--accent-yellow);
    border: 1px solid rgba(255,215,0,0.10);
    padding: 0.25rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 999px;
    margin: 0.35rem 0 0 0; /* top, right, bottom, left */
    /* vertical-align not needed for block-level element */
    cursor: pointer;
    transition: all 0.18s ease;
}

.project-category:hover {
    background: rgba(255,215,0,0.08);
    transform: translateY(-1px);
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex: 1 0 auto;
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.main-content {
    flex: 1 0 auto;
}

.tag {
    background-color: #2a2a2a;
    color: var(--accent-yellow);
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 3px;
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.more-projects {
    text-align: center;
    margin-top: 2rem;
}

/* Filter knoppen */
.filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid #2a2a2a;
    padding: 0.6rem 1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.18s ease;
    font-weight: 700;
    text-transform: uppercase;
}

.filter-btn:hover {
    background: rgba(255, 215, 0, 0.06);
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.filter-btn.active {
    background-color: var(--accent-yellow);
    color: var(--bg-color);
    border-color: var(--accent-yellow);
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.06);
}

.filter-btn.active:hover {
    background-color: var(--accent-hover);
    color: var(--bg-color);
}

/* Zoekbalk */
.search-bar {
    margin-bottom: 1.5rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--surface-color);
    border: 2px solid #2a2a2a;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-input::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

.search-input:focus {
    border-color: var(--accent-yellow);
}

/* Card acties */
.card-actions {
    margin-top: auto;
    padding-top: 1.2rem;
    display: flex;
    justify-content: flex-end;
}

.card .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

/* Laptop */
@media (min-width: 900px) and (max-width: 1199px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Grote schermen */
@media (min-width: 1200px) {
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    }
}

/* Telefoon */
@media only screen and (max-width: 599px) {
    * { -webkit-tap-highlight-color: rgba(255, 215, 0, 0.15); }

    header { padding: 0.75rem 1.25rem; }
    .logo { font-size: 1.35rem; letter-spacing: 1px; }

    .site-notice { font-size: 0.65rem; padding: 0.35rem 1.25rem; letter-spacing: 0.06em; min-height: 1.8rem; }
    .site-notice span::before, .site-notice span::after { width: 0.6rem; }

    .hero { padding: 2rem 1.25rem; }
    .hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
    .hero p { font-size: 0.95rem; margin-bottom: 1.25rem; max-width: 100%; }

    .grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .card:hover { transform: none; }

    .btn:active { background-color: var(--accent-hover); transform: scale(0.97); }
    .more-projects { margin-top: 1rem; }
    .filters { gap: 0.4rem; margin-bottom: 0.75rem; }
    .filter-btn { padding: 0.45rem 0.65rem; font-size: 0.75rem; min-height: 40px; display: flex; align-items: center; justify-content: center; flex: 1 1 auto; }
    .filter-btn:active { background: rgba(255, 215, 0, 0.1); }
}

@media only screen and (max-width: 380px) {
    header { padding: 0.6rem 1rem; }
    .logo { font-size: 1.2rem; }
    .site-notice { font-size: 0.6rem; padding: 0.3rem 1rem; letter-spacing: 0.04em; }
    .site-notice span::before, .site-notice span::after { display: none; }
    .hero { padding: 1.5rem 1rem; }
    .hero h1 { font-size: 1.6rem; }
    .btn { font-size: 0.85rem; padding: 0.7rem 1.25rem; min-height: 40px; }
}

