/* =============================================
   NFC-tag.nl - Stylesheet
   Luca Davincci palette - licht thema
   ============================================= */

:root {
    --color-bg:          #FFFFFF;
    --color-bg-off:      #F6F4F1;
    --color-bg-footer:   #2F2A25;

    --color-text:        #29261F;
    --color-text-muted:  #6B6560;

    --color-border:      #E0DBD5;

    --color-accent:      #D64218;
    --color-accent-hover:#BF3A14;

    --color-link:        #1A4E7A;
    --color-link-hover:  #0F3355;

    --font-main: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-mono: 'Courier New', monospace;

    --radius:    4px;
    --container: 1120px;
    --gap:       1.5rem;
}

/* =============================================
   Reset & base
   ============================================= */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 17px;
    line-height: 1.75;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

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

ul, ol { padding-left: 1.4rem; }

a {
    color: var(--color-link);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

a:hover { color: var(--color-link-hover); }

/* =============================================
   Container
   ============================================= */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* =============================================
   Header - wit, scherp, functioneel
   ============================================= */

.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    gap: 2rem;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo:hover { opacity: 0.85; }

.site-logo img {
    height: 42px;
    width: auto;
    display: block;
}

/* Navigatie */
.main-nav > ul {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: block;
    color: var(--color-text);
    padding: 0.4rem 0.7rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius);
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.main-nav > ul > li > a:hover {
    background: var(--color-bg-off);
    color: var(--color-text);
}

.main-nav > ul > li > a[aria-current="page"] {
    color: var(--color-accent);
}

/* Dropdown */
.has-dropdown > a::after {
    content: ' ▾';
    font-size: 0.65em;
    opacity: 0.5;
}

.has-dropdown .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-top: 2px solid var(--color-accent);
    border-radius: 0 0 var(--radius) var(--radius);
    min-width: 210px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    z-index: 200;
    padding: 0.3rem 0;
    list-style: none;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    display: block;
}

.dropdown li { list-style: none; }

.dropdown a {
    display: block;
    padding: 0.45rem 1rem;
    font-size: 0.88rem;
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.12s;
}

.dropdown a:hover {
    background: var(--color-bg-off);
    color: var(--color-text);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
}

/* =============================================
   Breadcrumb
   ============================================= */

.breadcrumb {
    background: var(--color-bg-off);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 0;
    font-size: 0.83rem;
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.breadcrumb li { display: flex; align-items: center; }

.breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-text);
    text-decoration: underline;
}

.bc-current { color: var(--color-text); }
.bc-sep { color: var(--color-border); margin: 0 0.2rem; }

/* =============================================
   Typografie
   ============================================= */

h1 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
    margin-bottom: 0.9rem;
    letter-spacing: -0.3px;
}

h2 {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 0.65rem;
    letter-spacing: -0.2px;
}

h3 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-text);
    margin-top: 1.5rem;
    margin-bottom: 0.45rem;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 1rem;
    margin-bottom: 0.35rem;
}

p { margin-bottom: 1rem; }

strong { font-weight: 600; }

code {
    background: var(--color-bg-off);
    border: 1px solid var(--color-border);
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 0.85em;
    padding: 0.1em 0.35em;
    color: #b83414;
}

pre {
    background: #1E1C1A;
    border-radius: var(--radius);
    overflow-x: auto;
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
}

pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.88rem;
    color: #E0DDD8;
}

blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 0.6rem 1rem;
    margin: 1.25rem 0;
    background: var(--color-bg-off);
    color: var(--color-text);
    font-style: italic;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.93rem;
}

th {
    background: var(--color-bg-off);
    color: var(--color-text);
    padding: 0.6rem 0.9rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 2px solid var(--color-border);
}

td {
    padding: 0.55rem 0.9rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: #FAFAF8; }

/* =============================================
   Knoppen
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.3rem;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    cursor: pointer;
    border: 1.5px solid transparent;
    line-height: 1.3;
    white-space: nowrap;
}

.btn:hover { text-decoration: none; }

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

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

.btn-secondary {
    background: #FFFFFF;
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn-affiliate {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: var(--radius);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
}

.btn-affiliate:hover {
    opacity: 0.88;
    text-decoration: none;
}

.btn-bol    { background: #0000a4; color: #fff; }
.btn-amazon { background: #ff9900; color: #111; }

/* =============================================
   Hero
   ============================================= */

.hero {
    background: #2F2A25;
    border-bottom: 3px solid var(--color-accent);
    padding: 3.75rem 0 3.5rem;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    min-width: 0;
    max-width: 600px;
}

.hero-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FF7A52;
    margin: 0 0 0.9rem;
}

.hero h1 {
    color: #FFFFFF;
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin: 0 0 0.9rem;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.hero-sub {
    color: #A5A8AF;
    font-size: 1.05rem;
    margin: 0 0 1.75rem;
    line-height: 1.7;
    max-width: 520px;
}

/* Zoekbalk in hero */
.hero-search-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.hero-search {
    display: flex;
    align-items: stretch;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.28);
    overflow: hidden;
}

.hero-search-icon {
    flex-shrink: 0;
    align-self: center;
    margin-left: 1.1rem;
    color: #9B9490;
    pointer-events: none;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 1rem 0.85rem;
    font-size: 1.02rem;
    font-family: var(--font-main);
    color: var(--color-text);
    min-width: 0;
}

.hero-search-input::placeholder {
    color: #B0ABA5;
}

.hero-search-btn {
    flex-shrink: 0;
    background: var(--color-accent);
    color: #FFFFFF;
    border: none;
    padding: 0 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    letter-spacing: 0.1px;
}

.hero-search-btn:hover {
    background: #B8371A;
}

/* Dropdown hergebruikt .search-results-dropdown uit shop.css */
.hero-search-wrap .search-results-dropdown {
    top: calc(100% + 3px);
}

/* Snelkoppelingen */
.hero-quick {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.75rem;
}

.hero-quick-label {
    font-size: 0.8rem;
    color: #9E9B98;
    margin-right: 0.2rem;
}

.hero-quick-tag {
    font-size: 0.8rem;
    color: #C0C4CB;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 0.2rem 0.65rem;
    text-decoration: none;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.hero-quick-tag:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.25);
    color: #FFFFFF;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    background: transparent;
    color: #C0C4CB;
    border-color: #60505C;
}

.hero .btn-secondary:hover {
    border-color: #A5A8AF;
    color: #FFFFFF;
    background: transparent;
}

/* NFC animatie in hero */
.hero-visual {
    flex-shrink: 0;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =============================================
   Cards - functioneel, niet zwevend
   ============================================= */

.card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.35rem 1.5rem;
    transition: border-color 0.15s;
}

.card:hover { border-color: #B8B3AC; }

.card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.card p {
    font-size: 0.93rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1rem;
}

/* =============================================
   Productcard
   ============================================= */

.product-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s;
}

.product-card:hover { border-color: #B8B3AC; }

.product-card-img {
    background: var(--color-bg-off);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    border-bottom: 1px solid var(--color-border);
}

.product-card-img img {
    max-height: 140px;
    object-fit: contain;
}

.product-card-body {
    padding: 1.1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.product-card-title {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}

.product-card-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
}

.product-card-meta {
    font-size: 0.81rem;
    color: var(--color-text-muted);
}

.product-card-buttons {
    margin-top: auto;
    padding-top: 0.7rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* =============================================
   FAQ
   ============================================= */

.faq { margin: 2rem 0; }
.faq > h2 { margin-bottom: 1rem; }

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:first-of-type { border-top: 1px solid var(--color-border); }

.faq-question {
    width: 100%;
    background: none;
    color: var(--color-text);
    border: none;
    padding: 0.9rem 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-main);
}

.faq-question:hover { color: var(--color-accent); }

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--color-text-muted);
    flex-shrink: 0;
    font-weight: 300;
    transition: transform 0.2s;
}

.faq-question[aria-expanded="true"]::after {
    transform: rotate(45deg);
    color: var(--color-accent);
}

.faq-answer {
    display: none;
    padding: 0 0 1rem 0;
    color: var(--color-text);
    font-size: 0.97rem;
    line-height: 1.7;
}

.faq-answer.open { display: block; }

/* =============================================
   CTA blok - eenvoudig
   ============================================= */

.cta-block {
    background: var(--color-bg-off);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
}

.cta-block h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.cta-block p {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.97rem;
}

/* =============================================
   Article layout
   ============================================= */

.page-wrap { padding: 2rem 0 4rem; }

.article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    align-items: start;
}

.article-content {
    min-width: 0;
    font-size: 1.04rem;
    line-height: 1.8;
}

.article-content p { max-width: 68ch; }

.article-content li { margin-bottom: 0.3rem; }

.article-content h2,
.article-content h3,
.article-content h4 { color: var(--color-text); }

.article-content h2:first-child,
.article-content h3:first-child { margin-top: 0; }

.article-meta {
    display: flex;
    gap: 1.25rem;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 70px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
}

.sidebar-widget h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin-top: 0;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget ul li {
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.sidebar-widget ul li:last-child { border-bottom: none; }

.sidebar-widget a {
    color: var(--color-text);
    text-decoration: none;
}

.sidebar-widget a:hover {
    color: var(--color-link);
    text-decoration: underline;
}

/* =============================================
   Secties
   ============================================= */

.section { padding: 2.5rem 0; }

.section-alt {
    background: var(--color-bg-off);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-header { margin-bottom: 1.75rem; }

.section-header h2 {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.section-header p {
    color: var(--color-text-muted);
    margin: 0;
    font-size: 0.97rem;
}

/* =============================================
   Footer
   ============================================= */

.site-footer {
    background: var(--color-bg-footer);
    border-top: 1px solid #3F3C3A;
    margin-top: auto;
    padding: 2.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 0.9rem;
    opacity: 0.85;
    transition: opacity 0.15s;
}

.footer-logo:hover { opacity: 1; }

.footer-logo img {
    display: block;
    filter: brightness(0) invert(1);
}

.footer-col h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #A5A8AF;
    margin-bottom: 0.8rem;
    font-weight: 600;
    margin-top: 0;
}

.footer-col p {
    font-size: 0.86rem;
    color: #9E9B98;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li { margin-bottom: 0.4rem; }

.footer-col a {
    color: #9E9B98;
    font-size: 0.86rem;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-col a:hover { color: #A5A8AF; }

.footer-bottom {
    border-top: 1px solid #3F3C3A;
    padding-top: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.affiliate-notice {
    font-size: 0.77rem;
    color: #9E9B98;
    margin: 0;
    line-height: 1.5;
}

.copyright {
    font-size: 0.77rem;
    color: #9E9B98;
    margin: 0;
    white-space: nowrap;
}

.footer-owner {
    font-size: 0.77rem;
    color: #9E9B98;
    margin: 0.25rem 0 0;
}

.footer-owner a {
    color: #9E9B98;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-owner a:hover { color: #A5A8AF; }

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFFFF;
        border-top: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
        padding: 0.5rem 1.25rem 1rem;
    }

    .main-nav.open { display: block; }

    .main-nav > ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav > ul > li > a {
        padding: 0.6rem 0;
        border-bottom: 1px solid var(--color-border);
        border-radius: 0;
    }

    .has-dropdown .dropdown {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        background: none;
        padding: 0 0 0 0.75rem;
    }

    .dropdown a {
        padding: 0.35rem 0;
        font-size: 0.86rem;
        color: var(--color-text-muted);
        border-bottom: none;
    }

    .has-dropdown > a::after { display: none; }

    .nav-toggle { display: flex; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .hero { padding: 2rem 0 1.75rem; }
    .hero-visual { display: none; }
    .hero-search-btn { padding: 0 1rem; font-size: 0.88rem; }
    .cta-block { padding: 1.25rem 1.25rem; }
}
