/*
Theme Name: Pelletkachel Monteur
Theme URI: https://pelletkachel-monteur.nl
Author: Pelletkachel Monteur
Description: Lichtgewicht maatwerkthema voor pelletkachel-monteur.nl
Version: 1.1
Text Domain: pelletkachel-monteur
*/

:root {
    --pkm-navy: #10233f;
    --pkm-orange: #ff4d0a;
    --pkm-cream: #fffaf4;
    --pkm-beige: #f7efe3;
    --pkm-green: #218c4a;
    --pkm-white: #ffffff;
    --pkm-border: rgba(16, 35, 63, 0.10);
    --pkm-shadow: 0 8px 24px rgba(16, 35, 63, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--pkm-navy);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

/* =========================
   HEADER
   ========================= */

.site-header {
    background: #fff;
    border-top: 6px solid #0b1d2f;
    border-bottom: 1px solid var(--pkm-border);
    position: relative;
    z-index: 100;
}

.site-header-inner {
    width: min(calc(100% - 48px), 1240px);
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-branding {
    margin-right: auto;
    display: flex;
    align-items: center;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.site-logo-image {
    display: block;
    width: 230px;
    height: auto;
    max-height: 66px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-nav a {
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    color: var(--pkm-navy);
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--pkm-orange);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--pkm-orange);
    color: #fff;
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 15px;
    white-space: nowrap;
    box-shadow: 0 5px 14px rgba(255, 77, 10, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(255, 77, 10, 0.24);
}

/* =========================
   MAIN CONTENT
   ========================= */

.site-main {
    margin: 0;
    padding: 0;
}

.page-shell {
    width: min(calc(100% - 48px), 1100px);
    margin: 56px auto 80px;
}

.page-shell h1 {
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.08;
    margin-top: 0;
    color: var(--pkm-navy);
}

.page-shell h2,
.page-shell h3 {
    color: var(--pkm-navy);
}

.page-shell p {
    color: #334155;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
    background: #fff;
    border-top: 1px solid var(--pkm-border);
}

.site-footer-inner {
    width: min(calc(100% - 48px), 1240px);
    margin: 0 auto;
    padding: 34px 0;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 40px;
    align-items: center;
}

.footer-brand {
    font-size: 18px;
    font-weight: 800;
    color: var(--pkm-navy);
}

.footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    text-decoration: none;
    font-size: 14px;
    color: var(--pkm-navy);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: var(--pkm-orange);
}

.footer-region {
    font-size: 14px;
    font-weight: 700;
    color: var(--pkm-navy);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1050px) {
    .site-header-inner {
        gap: 18px;
    }

    .site-logo-image {
        width: 205px;
        max-height: 60px;
    }

    .site-nav {
        gap: 18px;
    }

    .site-nav a {
        font-size: 14px;
    }

    .header-cta {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .site-header-inner {
        flex-wrap: wrap;
        padding: 12px 0 14px;
        min-height: auto;
    }

    .site-branding {
        margin-right: 0;
    }

    .site-logo-image {
        width: 200px;
        max-height: 58px;
    }

    .header-cta {
        margin-left: auto;
    }

    .site-nav {
        width: 100%;
        order: 3;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px 20px;
        padding-top: 4px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .site-header {
        border-top-width: 4px;
    }

    .site-header-inner,
    .site-footer-inner,
    .page-shell {
        width: calc(100% - 40px);
    }

    .site-header-inner {
        gap: 12px;
    }

    .site-logo-image {
        width: 168px;
        max-height: 52px;
    }

    .header-cta {
        padding: 10px 12px;
        border-radius: 8px;
        font-size: 13px;
    }

    .site-nav {
        gap: 10px 16px;
    }

    .site-nav a {
        font-size: 13px;
    }

    .page-shell {
        margin-top: 38px;
    }

    .footer-brand {
        font-size: 17px;
    }

    .footer-nav {
        gap: 12px 16px;
    }

    .footer-region {
        font-size: 13px;
    }
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo-image {
    display: block;
    width: 180px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .footer-logo-image {
        width: 160px;
        max-height: 52px;
    }
}
