/*
Theme Name: Bisschop.tech Child
Theme URI: https://www.bisschop.tech/
Description: Child theme van GeneratePress voor bisschop.tech. Anthracite design met Poppins typografie.
Author: Willem Bisschop
Author URI: https://www.bisschop.tech/
Template: generatepress
Version: 1.0.0
Text Domain: bisschop-tech-child
*/

/* ==========================================================================
   1. Variables & Reset
   ========================================================================== */

:root {
    --bt-bg: #1f1f21;
    --bt-bg-elevated: #28282b;
    --bt-bg-card: #2a2a2d;
    --bt-text: #f5f5f5;
    --bt-text-muted: #a8a8ad;
    --bt-text-dim: #6f6f74;
    --bt-accent: #4a9eff;
    --bt-accent-hover: #6db1ff;
    --bt-border: #3a3a3e;
    --bt-border-subtle: #2f2f33;
    --bt-max-width: 1100px;
    --bt-section-padding: 6rem 1.5rem;
    --bt-section-padding-mobile: 4rem 1.25rem;
    --bt-radius: 4px;
}

/* ==========================================================================
   2. Typography
   ========================================================================== */

body,
button,
input,
select,
textarea {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bt-bg);
    color: var(--bt-text);
    font-weight: 300;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--bt-text);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; }

p { color: var(--bt-text-muted); margin-bottom: 1.25rem; }

a {
    color: var(--bt-accent);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover, a:focus { color: var(--bt-accent-hover); }

strong { color: var(--bt-text); font-weight: 500; }

/* ==========================================================================
   3. Site Header
   ========================================================================== */

.site-header {
    background-color: var(--bt-bg);
    border-bottom: 1px solid var(--bt-border-subtle);
    padding: 1.25rem 0;
}

.inside-header {
    max-width: var(--bt-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    max-height: 44px;
    width: auto;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.main-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.main-title a { color: var(--bt-text); }

.site-description {
    color: var(--bt-text-dim);
    font-size: 0.85rem;
    font-weight: 300;
    margin: 0;
}

/* ==========================================================================
   4. Primary Navigation
   ========================================================================== */

.main-navigation {
    background-color: transparent;
    border: none;
}

.main-navigation .main-nav ul {
    background-color: transparent;
}

.main-navigation .main-nav ul li a {
    color: var(--bt-text-muted);
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0.75rem 1.1rem;
    transition: color 0.15s ease;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item a {
    color: var(--bt-text);
    background-color: transparent;
}

.main-navigation .menu-toggle {
    color: var(--bt-text);
    background-color: transparent;
    font-weight: 400;
}

/* ==========================================================================
   5. Hero / Page Header
   ========================================================================== */

.page-hero {
    padding: var(--bt-section-padding);
    text-align: left;
    max-width: var(--bt-max-width);
    margin: 0 auto;
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero .lead {
    font-size: 1.2rem;
    color: var(--bt-text-muted);
    max-width: 640px;
    font-weight: 300;
}

/* ==========================================================================
   6. Content Layout
   ========================================================================== */

.site-content {
    padding: 0;
}

.content-area, .site-main {
    padding: 0;
}

.entry-content {
    max-width: var(--bt-max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

.entry-content > * + * {
    margin-top: 1.5rem;
}

/* Section blocks for full-width section dividers */
.bt-section {
    padding: var(--bt-section-padding);
    border-top: 1px solid var(--bt-border-subtle);
}

.bt-section-inner {
    max-width: var(--bt-max-width);
    margin: 0 auto;
}

.bt-section-alt {
    background-color: var(--bt-bg-elevated);
}

/* ==========================================================================
   7. Lists
   ========================================================================== */

.entry-content ul,
.entry-content ol {
    padding-left: 1.25rem;
    color: var(--bt-text-muted);
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content ul li::marker {
    color: var(--bt-accent);
}

/* Skill grid alternative for kennisgebieden */
.bt-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 2rem;
}

.bt-skills-grid li {
    background-color: var(--bt-bg-card);
    border: 1px solid var(--bt-border-subtle);
    padding: 0.85rem 1rem;
    border-radius: var(--bt-radius);
    color: var(--bt-text);
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0 !important;
    transition: border-color 0.15s ease;
}

.bt-skills-grid li:hover {
    border-color: var(--bt-border);
}

/* ==========================================================================
   8. Buttons
   ========================================================================== */

.bt-button,
.entry-content .bt-button,
.wp-block-button__link {
    display: inline-block;
    background-color: var(--bt-accent);
    color: #ffffff !important;
    padding: 0.85rem 1.75rem;
    border-radius: var(--bt-radius);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.bt-button:hover,
.wp-block-button__link:hover {
    background-color: var(--bt-accent-hover);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.bt-button-secondary {
    background-color: transparent;
    border: 1px solid var(--bt-border);
    color: var(--bt-text) !important;
}

.bt-button-secondary:hover {
    background-color: var(--bt-bg-elevated);
    border-color: var(--bt-text-muted);
}

/* ==========================================================================
   9. Cards (for cases / services)
   ========================================================================== */

.bt-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.bt-card {
    background-color: var(--bt-bg-card);
    border: 1px solid var(--bt-border-subtle);
    padding: 1.75rem;
    border-radius: var(--bt-radius);
    transition: border-color 0.15s ease;
}

.bt-card:hover {
    border-color: var(--bt-border);
}

.bt-card h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--bt-text);
}

.bt-card p {
    font-size: 0.92rem;
    margin-bottom: 0;
}

.bt-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--bt-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   10. Profile / About block
   ========================================================================== */

.bt-profile {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3rem;
}

.bt-profile img {
    width: 100%;
    max-width: 200px;
    border-radius: var(--bt-radius);
    display: block;
}

.bt-profile-text h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.bt-profile-text .role {
    color: var(--bt-text-muted);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .bt-profile {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .bt-profile img {
        max-width: 140px;
    }
}

/* ==========================================================================
   11. Site Footer
   ========================================================================== */

.site-footer,
.site-info {
    background-color: var(--bt-bg);
    border-top: 1px solid var(--bt-border-subtle);
    color: var(--bt-text-dim);
    padding: 2rem 1.5rem;
    font-size: 0.85rem;
    text-align: center;
}

.site-info a {
    color: var(--bt-text-muted);
}

.site-info a:hover {
    color: var(--bt-text);
}

/* Hide "Powered by WordPress" by default */
.site-info .copyright-bar {
    color: var(--bt-text-dim);
}

/* ==========================================================================
   12. Forms (contact)
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
    background-color: var(--bt-bg-card);
    border: 1px solid var(--bt-border);
    color: var(--bt-text);
    padding: 0.75rem 1rem;
    border-radius: var(--bt-radius);
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.15s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--bt-accent);
}

label {
    display: block;
    color: var(--bt-text);
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
}

/* ==========================================================================
   13. Responsive
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --bt-section-padding: var(--bt-section-padding-mobile);
    }

    .inside-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .page-hero {
        padding: 3.5rem 1.25rem;
    }

    .entry-content {
        padding: 2rem 1.25rem 4rem;
    }
}

/* ==========================================================================
   14. Utility
   ========================================================================== */

.bt-text-muted { color: var(--bt-text-muted); }
.bt-text-dim { color: var(--bt-text-dim); }
.bt-mt-0 { margin-top: 0; }
.bt-mb-0 { margin-bottom: 0; }
.bt-mt-2 { margin-top: 2rem; }
.bt-mt-3 { margin-top: 3rem; }
