/* ═══════════════════════════════════════════════════════
   HOMEPAGE — Production CSS
   erik-janvlieger.nl

   ARCHITECTUUR: Dit bestand bevat ALLEEN layout-specifieke
   regels voor de homepage. Alle typografie en kleuren worden
   geërfd van typography-schemes.css en color-schemes.css.
   ═══════════════════════════════════════════════════════ */

/* ─── NAVIGATION ─── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-bg-primary);
    border-bottom: 1px solid var(--color-bg-secondary);
    transition: background 0.4s ease;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    font-size: 13px;
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--color-text-primary);
    background: rgba(128, 128, 128, 0.08);
}

.nav-toggles {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 16px;
}

/* ─── LANGUAGE TOGGLE ─── */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lang-toggle a,
.lang-toggle span {
    padding: 4px 6px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
    transition: color 0.2s ease, background 0.2s ease;
}

.lang-toggle a {
    color: var(--color-text-secondary);
    opacity: 0.5;
}

.lang-toggle a:hover {
    color: var(--color-text-primary);
    opacity: 1;
    background: rgba(128, 128, 128, 0.1);
}

.lang-toggle span.active {
    color: var(--color-accent-primary);
    opacity: 1;
}

/* ─── THEME TOGGLE (pill switch) ───
   Kleuren komen uit color-schemes.css. Aanpassen → daar. */
.theme-toggle {
    display: flex;
    align-items: center;
    background: var(--color-bg-secondary);
    border-radius: 20px;
    padding: 2px;
    cursor: pointer;
    position: relative;
    height: 32px;
    width: 66px;
    user-select: none;
    transition: background 0.3s ease;
}

.theme-toggle-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 14px;
    z-index: 2;
    position: relative;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.theme-toggle-day {
    color: var(--color-bg-primary);
}

.theme-toggle-night {
    color: var(--color-text-secondary);
    opacity: 0.5;
}

.theme-toggle-slider {
    position: absolute;
    left: -1px;
    top: 2px;
    width: 36px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-accent-primary);
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 1;
}

.theme-toggle.night-active .theme-toggle-slider {
    transform: translateX(31px);
}

.theme-toggle.night-active .theme-toggle-day {
    color: var(--color-text-secondary);
    opacity: 0.5;
}

.theme-toggle.night-active .theme-toggle-night {
    color: var(--color-accent-secondary, #B8C5D6);
    opacity: 1;
}

/* ─── HAMBURGER (mobile) ─── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── CANVAS CONTAINER ─── */
.canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: var(--phys-opacity-correction, 1);
}

/* ─── PAGE CONTENT ─── */
.page-content {
    position: relative;
    z-index: 1;
    padding-top: 64px;
    /* nav height */
}

/* ─── BAND SYSTEM ───
   Banden gebruiken variabelen uit color-schemes.css.
   Nieuw kleurschema toevoegen → alleen color-schemes.css aanpassen. */
.band {
    position: relative;
    width: 100%;
}

.band-transparent {
    background: transparent;
}

.band-semi {
    background: var(--band-semi-bg);
    backdrop-filter: blur(var(--band-semi-blur));
    -webkit-backdrop-filter: blur(var(--band-semi-blur));
    box-shadow: var(--band-shadow);
}

.band-opaque {
    background: var(--band-opaque-bg);
    box-shadow: var(--band-shadow);
}

/* ─── CONTAINER ─── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ─── HERO SECTION ─── */
.hero-band {
    padding: 60px 0 50px;
}

.hero-layout {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.hero-text {
    flex: 1;
}

.hero-tagline {
    font-size: clamp(28px, 4vw, 54px);
    margin: 0 0 12px;
}

.hero-subtag {
    color: var(--color-accent-primary);
    margin: 0 0 24px;
}

.hero-portrait {
    flex-shrink: 0;
    width: 456px;
}

.hero-portrait img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 4 / 5;
}

.hero-intro {
    margin: 0 0 12px;
    opacity: 0.9;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 6px;
    transition: all 0.25s ease;
    margin-top: 20px;
}

.btn-primary {
    background: var(--color-accent-primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    color: #FFFFFF;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(61, 139, 122, 0.4);
}

/* ─── SECTION LABEL ─── */
.section-label {
    margin: 0 0 24px;
}

/* ─── DRIE INGANGEN ─── */
.ingangen-band {
    padding: 60px 0 70px;
}

.ingangen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ingang-card {
    padding: 28px 28px 24px;
}

.ingang-card h2 {
    margin: 0 0 10px;
    font-size: var(--h3-size);
    font-weight: var(--h3-weight);
    line-height: var(--h3-leading);
    letter-spacing: var(--h3-tracking);
}

.ingang-card p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.82;
    margin: 0 0 16px;
}

.card-link {
    color: var(--color-accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.card-link:hover {
    text-decoration: underline;
    color: var(--color-accent-hover);
}

.card-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ─── ACTUEEL ─── */
.actueel-band {
    padding: 50px 0 60px;
}

.card.actueel-card {
    padding: 32px 36px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.actueel-card-text {
    flex: 1;
    min-width: 0;
}

.actueel-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
}

.actueel-meta {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin: 0 0 16px;
}

.actueel-category {
    /* Empty for now — kept for future use */
}

.actueel-excerpt {
    font-size: 14px;
    line-height: 1.65;
    opacity: 0.85;
    margin: 0 0 16px;
}

.actueel-card-figure {
    flex-shrink: 0;
    width: 240px;
}

.actueel-card-figure img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--color-accent-structure);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.actueel-card:hover .actueel-card-figure img {
    opacity: 1;
}

/* ─── STATEMENT ─── */
.statement-band {
    padding: 60px 0;
    text-align: center;
}

.statement-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-accent-primary);
    text-decoration: none;
    padding: 24px 48px;
    background: var(--band-statement-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.statement-link:hover {
    background: var(--band-statement-hover-bg);
    transform: translateY(-1px);
}

/* ─── FOOTER ───
   Kleuren komen uit color-schemes.css (--footer-* variabelen).
   Aanpassen → color-schemes.css, niet hier. */
.site-footer {
    position: relative;
    z-index: 1;
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--footer-heading);
    margin: 0 0 6px;
}

.footer-tagline {
    font-size: 12px;
    color: var(--footer-muted);
    margin: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-link {
    font-size: 13px;
    color: var(--footer-link);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-copy {
    font-size: 12px;
    color: var(--footer-copy);
    margin: 0;
    align-self: flex-end;
}

.footer-copy a {
    color: inherit;
    text-decoration: none;
}

.footer-copy a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .nav-inner {
        padding: 0 24px;
    }

    .nav-links {
        gap: 2px;
    }

    .nav-links a {
        font-size: 10px;
        padding: 6px 5px;
    }

    .nav-toggles {
        gap: 6px;
        margin-left: 8px;
    }

    .container {
        padding: 0 36px;
    }

    .hero-layout {
        gap: 32px;
    }

    .hero-portrait {
        width: 360px;
    }

    .ingangen-grid {
        gap: 16px;
    }

    .ingang-card {
        padding: 24px 20px;
    }

    .statement-link {
        font-size: 15px;
        padding: 20px 32px;
    }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤900px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .nav-inner {
        padding: 0 20px;
        height: 56px;
    }

    .nav-logo {
        font-size: 14px;
    }

    .nav-toggles {
        gap: 8px;
        margin-left: auto;
        margin-right: 8px;
    }

    .nav-hamburger {
        display: flex;
        order: 3;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--color-bg-primary);
        border-bottom: 1px solid var(--color-bg-secondary);
        flex-direction: column;
        padding: 16px 20px;
        gap: 4px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    /* Hamburger menu backdrop overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .nav-links a {
        font-size: 14px;
        padding: 10px 12px;
    }

    .page-content {
        padding-top: 56px;
    }

    .container {
        padding: 0 20px;
    }

    /* Hero */
    .hero-band {
        padding: 40px 0 50px;
    }

    .hero-layout {
        flex-direction: column;
        gap: 24px;
    }

    .hero-portrait {
        width: 100%;
    }

    .hero-portrait img {
        width: 100%;
        height: auto;
    }

    /* Ingangen */
    .ingangen-band {
        padding: 40px 0 50px;
    }

    .ingangen-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ingang-card {
        padding: 24px 20px;
    }

    /* Actueel */
    .actueel-band {
        padding: 40px 0;
    }

    .actueel-card {
        padding: 24px 20px;
        flex-direction: column-reverse;
    }

    .actueel-card-figure {
        width: 100%;
        max-width: 200px;
    }

    /* Statement */
    .statement-band {
        padding: 40px 0;
    }

    .statement-link {
        font-size: 13px;
        padding: 20px 24px;
        display: block;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 16px;
    }

    .footer-copy {
        align-self: flex-start;
    }
}