/*
Theme Name: Ted Jan Post
Theme URI: https://www.tedjan.nl
Author: Ted Jan Post
Author URI: https://www.tedjan.nl
Description: Minimale professionele website voor Ted Jan Post — adviseur, faciliteur en trainer in complexe duurzaamheids- en transitievraagstukken.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tedjanpost
*/

/* ===== BASE ===== */
:root {
    --primary: #005461;
    --secondary: #0C7779;
    --accent: #3BC1A8;
    --cream: #F8F6F1;
    --warm-white: #FDFCFA;
    --text: #1A2E35;
    --text-light: #4A6670;
    --text-muted: #7A9AA5;
    --border: #E2DDD5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

.site-nav.scrolled {
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
    padding: 0.9rem 2rem;
}

.nav-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-name span { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1.5px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 24px; height: 2px;
    background: var(--primary);
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%; right: -15%;
    width: 60%; height: 80%;
    background: radial-gradient(ellipse, rgba(59, 193, 168, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.hero-label {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2.5rem;
}

.hero-label::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 1.8rem; height: 1.5px;
    background: var(--accent);
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 1.8rem;
    max-width: 750px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.hero h1 em { font-style: italic; color: var(--secondary); }

.hero-text {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 580px;
    margin-bottom: 2.8rem;
    line-height: 1.8;
    font-weight: 300;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 2.2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    border-radius: 3px;
    transition: all 0.35s ease;
}

.hero-cta:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

.hero-cta svg { width: 16px; height: 16px; transition: transform 0.3s; }
.hero-cta:hover svg { transform: translateX(3px); }

/* ===== SECTIONS SHARED ===== */
section { padding: 7rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 2.5rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 1.8rem; height: 1.5px;
    background: var(--accent);
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* ===== WERKWIJZE ===== */
.werkwijze { background: var(--cream); padding-bottom: 0; }

.werkwijze-intro {
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 3rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar {
    padding: 2.5rem 2rem;
    background: var(--warm-white);
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.4s ease;
    position: relative;
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0; left: 2rem; right: 2rem;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.4s;
}

.pillar:hover {
    border-color: var(--border);
    box-shadow: 0 8px 40px rgba(0, 84, 97, 0.06);
}

.pillar:hover::before { opacity: 1; }

.pillar-icon {
    width: 44px; height: 44px;
    background: rgba(59, 193, 168, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pillar-icon svg {
    width: 20px; height: 20px;
    color: var(--secondary);
}

.pillar h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.pillar p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
    font-weight: 300;
}

.werkwijze-divider-image {
    max-width: 1100px;
    margin: 4rem auto 0;
    height: 340px;
    background: var(--border);
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.werkwijze-divider-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* ===== DIENSTEN ===== */
.diensten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.dienst-card {
    padding: 2.5rem 2rem;
    background: var(--cream);
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.4s ease;
    position: relative;
}

.dienst-card::before {
    content: '';
    position: absolute;
    top: 0; left: 2rem; right: 2rem;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.4s;
}

.dienst-card:hover {
    background: white;
    border-color: var(--border);
    box-shadow: 0 8px 40px rgba(0, 84, 97, 0.06);
}

.dienst-card:hover::before { opacity: 1; }

.dienst-number {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.dienst-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.dienst-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ===== OVER MIJ ===== */
.over-mij { background: var(--cream); }

.over-mij-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 2rem;
}

.over-mij-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-size: 1.02rem;
    line-height: 1.8;
}

.over-mij-text p strong {
    color: var(--text);
    font-weight: 500;
}

.over-mij-values {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.value-tag {
    padding: 0.5rem 1.2rem;
    background: rgba(0, 84, 97, 0.06);
    color: var(--secondary);
    font-size: 0.82rem;
    border-radius: 2px;
    font-weight: 400;
}

.perspectivity-link {
    display: inline;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1.5px solid var(--accent);
    transition: color 0.3s, border-color 0.3s;
}

.perspectivity-link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.over-mij-image {
    aspect-ratio: 4/5;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.over-mij-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 2rem;
    align-items: start;
}

.contact-intro {
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method-icon {
    width: 42px; height: 42px;
    background: rgba(0, 84, 97, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-method-icon svg {
    width: 18px; height: 18px;
    color: var(--secondary);
}

.contact-method-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-method-value { font-size: 1rem; color: var(--text); }

.contact-method-value a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s;
}

.contact-method-value a:hover { border-color: var(--accent); }

.contact-image {
    border-radius: 4px;
    overflow: hidden;
    background: var(--border);
    min-height: 400px;
}

.contact-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* ===== FOOTER ===== */
footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 300;
}

.footer-kvk {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    font-weight: 300;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
    .over-mij-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .diensten-grid, .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .werkwijze-divider-image {
        height: 220px;
        border-radius: 0;
    }

    .contact-image {
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(253, 252, 250, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1.2rem;
        border-bottom: 1px solid var(--border);
    }

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

    .hero {
        padding: 7rem 1.5rem 4rem;
        min-height: auto;
    }

    .hero h1 { font-size: 2.2rem; }
    section { padding: 5rem 1.5rem; }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* WordPress admin bar fix */
body.admin-bar .site-nav {
    top: 32px;
}

/* Image protection */
.werkwijze-divider-image img,
.over-mij-image img,
.contact-image img {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}
