/*
Theme Name: Beurspagina thema
Theme URI:
Author: As One B.V.
Author URI:
Description: Op maat gemaakt WordPress thema voor de webwinkel vakdagen.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mijn-figma-thema
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --color-cta:          #3C46FF;
    --color-notification: #F0F1F8;
    --color-navy:         #141645;
    --color-black:        #1F2322;
    --color-white:        #FFFFFF;
    --color-cream:        #FCFBF8;

    --font-title: 'tt-commons-pro', sans-serif;
    --font-body:  'Outfit', sans-serif;

    --size-hero:    68px;
    --size-h1:      36px;
    --size-h2:      24px;
    --size-body:    18px;
    --size-body-sm: 16px;

    --spacing-section:   60px;
    --spacing-component: 60px;
    --spacing-text:      20px;

    --container-width: 1200px;
    --radius:          8px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--size-body);
    color: var(--color-black);
    background-color: var(--color-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: var(--size-body-sm);
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    border: none;
    transition: opacity 0.18s ease;
    white-space: nowrap;
}

.btn:hover {
    opacity: 0.85;
}

.btn-primary {
    background-color: var(--color-cta);
    color: var(--color-white);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ============================================================
   TEXT HIGHLIGHTS
   Used across multiple sections for keyword emphasis
   ============================================================ */
.highlight-blue {
    background-color: var(--color-cta);
    color: var(--color-white);
    padding: 4px 14px 6px;
    border-radius: var(--radius);
    display: inline;
    /* Prevents the highlight from breaking awkwardly mid-word */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* SVG highlight badges (strategie, webshops, beoordelen, quickscan) */
.highlight-svg {
    display: inline-block;
    height: 1.35em;
    width: auto;
    vertical-align: middle;
    position: relative;
    top: -0.05em;
}

/* Wordmark "one" SVG used inline in body text */
.wordmark-inline {
    display: inline-block;
    height: 1.1em;
    width: auto;
    vertical-align: middle;
    position: relative;
    top: -0.05em;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background-color: var(--color-cream);
    padding-block: 18px;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    width: 48px;
    height: 48px;
    display: block;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.section-hero {
    background-color: var(--color-cream);
    padding-top: var(--spacing-section);
    padding-bottom: var(--spacing-section);
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-component);
}

.hero-notification {
    display: inline-block;
    background-color: var(--color-notification);
    border-radius: 100px;
    padding: 10px 22px;
    font-size: 14px;
    color: var(--color-black);
    margin-bottom: 32px;
}

.hero-title {
    font-family: var(--font-title);
    font-size: var(--size-hero);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-black);
    max-width: 760px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: var(--size-body);
    color: var(--color-black);
    max-width: 580px;
    line-height: 1.65;
    margin-bottom: 40px;
}

/* Brand strip */
.hero-brand-strip {
    background-color: var(--color-white);
    border-radius: var(--radius);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 28px 40px;
    text-align: left;
}

.hero-brand-label {
    font-family: var(--font-title);
    font-size: var(--size-body);
    font-weight: 700;
    color: var(--color-black);
    max-width: 180px;
    line-height: 1.3;
    padding-right: 40px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-logos {
    overflow: hidden;
    padding-left: 40px;
}

.hero-logos-track {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    gap: 48px;
}

@keyframes logo-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   BRAND LOGOS — optisch gelijk geschaald
   Brede wordmerken krijgen een lage hoogte, compacte logo's
   een hogere, zodat ze optisch even zwaar wegen.
   ============================================================ */
.brand-logo {
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(1) opacity(0.6);
    display: block;
}

.logo-zilte      { height: 46px; max-width: 130px; }
.logo-boxxl      { height: 26px; max-width: 130px; }
.logo-sendwise   { height: 26px; max-width: 160px; }
.logo-viervoeter { height: 30px; max-width: 160px; }
.logo-bulbs      { height: 42px; max-width: 110px; }

/* Hide duplicate logos on desktop — only needed for mobile marquee loop */
.hero-logos-track img[aria-hidden="true"] {
    display: none;
}

/* ============================================================
   "JE HEBT ME GEVONDEN" SECTION
   ============================================================ */
.section-found {
    padding-block: var(--spacing-section);
    background-color: var(--color-cream);
}

.found-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-component);
    align-items: center;
}

.found-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.found-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-text);
}

.found-title {
    font-family: var(--font-title);
    font-size: var(--size-h1);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-black);
}

.found-body {
    font-size: var(--size-body-sm);
    color: var(--color-black);
    line-height: 1.75;
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.section-video {
    padding-block: var(--spacing-section);
    background-color: var(--color-white);
    text-align: center;
}

.section-video .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-title {
    font-family: var(--font-title);
    font-size: var(--size-h1);
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-black);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.video-facade {
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background-color: #0D0F2E;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    pointer-events: none;
}

.video-facade.is-playing .video-play-btn,
.video-facade.is-playing .video-thumbnail {
    display: none;
}

.video-facade.is-playing .video-iframe {
    opacity: 1;
    pointer-events: auto;
}

.video-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.video-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--size-body-sm);
    color: var(--color-black);
}

.video-features li img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}

/* ============================================================
   CASE STUDIES SECTION
   ============================================================ */
.section-cases {
    padding-block: var(--spacing-section);
    background-color: var(--color-navy);
}

/* Header row */
.cases-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-component);
    align-items: center;
    margin-bottom: var(--spacing-component);
}

.cases-title {
    font-family: var(--font-title);
    font-size: var(--size-h1);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
}

.cases-subtitle {
    font-size: var(--size-body-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
}

/* Divider */
.cases-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: var(--spacing-component);
}

/* Cases grid */
.cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-component);
}

.case-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-text);
}

.case-name {
    font-family: var(--font-title);
    font-size: var(--size-h2);
    font-weight: 700;
    color: var(--color-white);
}

.case-description {
    font-size: var(--size-body-sm);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    max-width: 420px;
}

.case-image {
    width: 100%;
}

.case-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Stat block */
.case-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: calc(var(--spacing-text) / 2);
}

.case-stat-icon {
    flex-shrink: 0;
    display: block;
}

.case-stat-number {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.case-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    font-family: var(--font-body);
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.section-reviews {
    padding-block: var(--spacing-section);
    background-color: var(--color-cream);
}

.reviews-header {
    margin-bottom: var(--spacing-component);
}

.reviews-title {
    font-family: var(--font-title);
    font-size: var(--size-h1);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-black);
    margin-bottom: var(--spacing-text);
}

.reviews-subtitle {
    font-size: var(--size-body-sm);
    color: var(--color-black);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
/* Gebruik aparte top/bottom zodat de ruimte naar de footer correct is */
.section-contact {
    padding-top: var(--spacing-section);
    padding-bottom: 40px;
    background-color: var(--color-cream);
}

/* Breder dan de standaard 1200px container zodat de kaart de viewport beter vult */
.section-contact .container {
    max-width: 1440px;
    padding-inline: 40px;
}

.contact-card {
    background-color: var(--color-navy);
    border-radius: 20px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.10), 0 4px 6px 0 rgba(0, 0, 0, 0.10);
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-component);
    align-items: start;
}

/* Left column */
.contact-card__left {
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-text);
}

.contact-tagline {
    font-size: var(--size-body-sm);
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    line-height: 1.4;
}

.contact-title {
    font-family: var(--font-title);
    font-size: var(--size-h1);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
}

.contact-description {
    font-size: var(--size-body-sm);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: calc(var(--spacing-component) - var(--spacing-text));
}

.contact-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--size-body-sm);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.contact-checklist li img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
}

/* Right column — Calendly widget */
.contact-card__right {
    background-color: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    /* Creates stacking context so the iframe clips to border-radius */
    isolation: isolate;
}

.contact-card__right .calendly-inline-widget {
    width: 100%;
    height: 700px;
    min-width: unset !important;
    display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background-color: var(--color-cream);
    padding-top: 24px;
    padding-bottom: var(--spacing-component);
    text-align: center;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 44px;
    width: auto;
    display: block;
}


.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-tagline {
    font-size: var(--size-body-sm);
    color: rgba(31, 35, 34, 0.5);
    line-height: 1.8;
    text-align: center;
    margin-top: 8px;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--size-body-sm);
    color: var(--color-black);
    transition: color 0.18s ease;
}

.footer-contact-item:hover {
    color: var(--color-cta);
}

.footer-contact-item svg {
    color: var(--color-cta);
    flex-shrink: 0;
}

/* ============================================================
   WAVE SHAPE DIVIDER — cream > white transition
   ============================================================ */
.section-divider-wave {
    background-color: var(--color-cream);
    line-height: 0;
    overflow: hidden;
}

.section-divider-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* ============================================================
   RESPONSIVE — TABLET  (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    :root {
        --size-hero: 52px;
        --size-h1:   30px;
        --spacing-section: 48px;
    }

    .contact-card {
        padding: 60px;
        gap: 40px;
    }

    /* Hero */
    .hero-brand-strip {
        padding: 24px 28px;
    }

    .hero-brand-label {
        padding-right: 28px;
    }

    .hero-logos {
        padding-left: 28px;
        gap: 16px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE  (max 768px)
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --size-hero: 40px;
        --size-h1:   28px;
        --size-h2:   20px;
        --spacing-section: 40px;
        --spacing-component: 40px;
    }

    /* Header */
    .site-header {
        padding-block: 14px;
    }

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

    .btn-arrow {
        width: 16px;
        height: 16px;
    }

    /* Hero */
    .hero-notification {
        display: none;
    }

    .hero-logos-track {
        width: max-content;
        justify-content: flex-start;
        gap: 48px;
        animation: logo-marquee 20s linear infinite;
    }

    .hero-logos-track img[aria-hidden="true"] {
        display: block;
    }

    .hero-subtitle {
        font-size: var(--size-body-sm);
        margin-bottom: 32px;
    }

    .hero-brand-strip {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 20px;
    }

    .hero-brand-label {
        max-width: none;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-right: 0;
        padding-bottom: 20px;
    }

    .hero-logos {
        padding-left: 0;
    }

    .hero-logos img {
        height: auto;
    }

    /* Schaal alle logo's mee op mobiel — behoud de onderlinge verhouding */
    .logo-zilte      { height: 36px; }
    .logo-boxxl      { height: 20px; }
    .logo-sendwise   { height: 20px; }
    .logo-viervoeter { height: 24px; }
    .logo-bulbs      { height: 34px; }

    /* Cases section */
    .cases-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .case-stat-number {
        font-size: 36px;
    }

    /* Found section */
    .found-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Video section */
    .video-title {
        font-size: var(--size-h2);
        gap: 6px;
    }

    .video-features {
        gap: 16px;
    }

    /* Contact section */
    .section-contact .container {
        padding-inline: 24px;
    }

    .contact-title .highlight-svg {
        margin-top: 6px;
    }

    .contact-card {
        grid-template-columns: 1fr;
        padding: 36px 24px;
        gap: 32px;
    }

    .contact-card__right .calendly-inline-widget {
        height: 650px;
    }

    /* Footer */
    .footer-contact {
        gap: 10px;
    }
}