/* BASE */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, Arial, sans-serif;
    background: #0a0f1c;
    color: #e6eaf2;
    line-height: 1.6;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: 0;
    transform: translateY(-120%);
    
    background: #ffffff;
    color: #000000;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;

    text-decoration: none;
    font-weight: 600;

    z-index: 10000;

    /* BELANGRIJK: voorkomt “rand/outline ghost” */
    outline: none;
    border: none;
    box-shadow: none;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(1rem);
    outline: 0.2rem solid #2563eb;
    outline-offset: 0.2rem;
}
/* CONTAINER */
.container {
    width: min(72rem, 100% - 2rem);
    margin: 0 auto;
}

/* NAV */
.nav {
    position: sticky;
    top: 0;
    background: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1f2937;
    z-index: 100;
}

/* HORIZONTALE MARGIN FIX */
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* NAV LINKS */
.nav-links {
    display: none;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
}

.nav-links a:hover {
    color: #ffffff;
}

/* HAMBURGER */
.menu-toggle {
    display: none;
}

.hamburger {
    font-size: 1.6rem;
    cursor: pointer;
}

/* MOBILE MENU */
.menu-toggle:checked + .hamburger + .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 1rem;
    top: 3.5rem;
    background: #111827;
    border: 1px solid #1f2937;
    padding: 1rem;
    border-radius: 0.75rem;
}

/* HERO */
.hero {
    text-align: center;
    padding: 5rem 0 3rem;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    color: #94a3b8;
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 1.2rem;
    border-radius: 0.6rem;
    background: #3b82f6;
    color: white;
    text-decoration: none;
}

/* SECTIONS */
.section {
    padding: 3rem 0;
}
#contact a {
color: white;
}
/* SKILLS */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skills span {
    background: #111827;
    border: 1px solid #1f2937;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* CARD */
.card {
    display: block;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #111827;
    border: 1px solid #1f2937;
    color: inherit;
    text-decoration: none;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #1f2937;
    color: #94a3b8;
}

/* TABLET */
@media (min-width: 48rem) {

    .hero h1 {
        font-size: 3.5rem;
    }

    .nav-links {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .menu-toggle:checked + .hamburger + .nav-links {
        position: static;
        flex-direction: row;
        background: none;
        border: none;
        padding: 0;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* DESKTOP */
@media (min-width: 64rem) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}