/*###################################
VERSION: 1.3
DATE: 24 Jun 2026
PROJECT: jowan.be 2026
                          ___                                   
        __               /\_ \                                  
 _____ /\_\   __  _    __\//\ \     ___ ___      __      ___    
/\ '__`\/\ \ /\ \/'\ /'__`\\ \ \  /' __` __`\  /'__`\  /' _ `\  
\ \ \L\ \ \ \\/>  <//\  __/ \_\ \_/\ \/\ \/\ \/\ \L\.\_/\ \/\ \ 
 \ \ ,__/\ \_\/\_/\_\ \____\/\____\ \_\ \_\ \_\ \__/.\_\ \_\ \_\
  \ \ \/  \/_/\//\/_/\/____/\/____/\/_/\/_/\/_/\/__/\/_/\/_/\/_/
   \ \_\                                                        
    \/_/                                                        

web design, CSS, development by Pixelman
###################################*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

/* HK Grotesk — lokaal web/fonts/hk-grotesk (--font2) */
@font-face {
	font-family: "HK Grotesk";
	src: url("../fonts/hk-grotesk/hkgrotesk-light-webfont.woff2") format("woff2"),
		url("../fonts/hk-grotesk/hkgrotesk-light-webfont.woff") format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "HK Grotesk";
	src: url("../fonts/hk-grotesk/hkgrotesk-regular-webfont.woff2") format("woff2"),
		url("../fonts/hk-grotesk/hkgrotesk-regular-webfont.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "HK Grotesk";
	src: url("../fonts/hk-grotesk/hkgrotesk-medium-webfont.woff2") format("woff2"),
		url("../fonts/hk-grotesk/hkgrotesk-medium-webfont.woff") format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "HK Grotesk";
	src: url("../fonts/hk-grotesk/hkgrotesk-semibold-webfont.woff2") format("woff2"),
		url("../fonts/hk-grotesk/hkgrotesk-semibold-webfont.woff") format("woff");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "HK Grotesk";
	src: url("../fonts/hk-grotesk/hkgrotesk-bold-webfont.woff2") format("woff2"),
		url("../fonts/hk-grotesk/hkgrotesk-bold-webfont.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* global vars */
:root {
	--font1: "HK Grotesk", sans-serif;
	/* --font1: "Space Grotesk", sans-serif; */
    --font2: "HK Grotesk", sans-serif;
	--color01: #ffffff;
	--color02: #000000;
	/* --color03: #fc8244; */
    --color03: #FC9B35;
	--color04: #EAEAEA;
    --color05: #757575;
	--color06: #f1f1f1;
    --borderRadius: 20px;
    --border01: solid 1px red;
    --border02: solid 1px #0019FF;
    --bs-badge-color: var(--color05);
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
    --container-px: 3rem;
}


@media (min-width: 576px) {
    /* groeit vloeiend van 3rem (zelfde als smartphone/gutter) tot max 6rem (2x) op grote schermen */
    :root { --container-px: clamp(3rem, 6vw, 6rem); }
}

/* responsive replacement for the fixed ps-5/pe-5 padding on .container-fluid */
.container-fluid-px {
    padding-left: var(--container-px) !important;
    padding-right: var(--container-px) !important;
}



/* Override Bootstrap gutter variables globally */
html {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 3rem;
}

/*
 * Bredere .container op desktop (Bootstrap: xl 1140px, xxl 1320px).
 * xl → 1320px, xxl → 1680px.
 */
@media (min-width: 1200px) {
    .container {
        max-width: 1320px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1680px;
    }
}

* {
	-webkit-font-smoothing: antialiased;
	font-optical-sizing: auto;
}

/* Ensure page doesn't show horizontal scroll from 100vw */
html, body {
	scroll-behavior: smooth;
	/*base rem size: change to scale site */
	/* font-size: 16px; */
	font-size: 16px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* tracing background */

/* tools styles */

body {
    background-color: var(--color01);
	font-family: var(--font1);
	font-weight: 400;
	font-style: normal;
	margin: 0 0 0 0;
	overflow-x: hidden;
}

/* Knoppen: HK Grotesk (--font2) */
button,
.btn,
input[type="submit"],
input[type="button"],
input[type="reset"],
.accordion-button,
.flickity-prev-next-button,
.newsletter-submit,
.faq-question,
.mobile-menu__close {
	font-family: var(--font2);
    font-weight: 700;
    text-transform: uppercase;
}

/* Button type: dark outline (Bootstrap) */
.btn-outline-secondary,
.contact-form .btn {
    display: inline-block;
    font-family: var(--font2);
    padding: 0.6rem 1.35rem;
    border: 2px solid var(--color02);
    color: var(--color02);
    background-color: transparent;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover,
.contact-form .btn:hover {
    background-color: var(--color02);
    color: var(--color01);
    border-color: var(--color02);
    text-decoration: none;
}

/* Button type: light outline (Bootstrap) */
.btn-outline-light {
    display: inline-block;
    padding: 0.6rem 1.1rem;
    border: 2px solid var(--color01);
    color: var(--color01);
    background-color: transparent;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--color01);
    color: var(--color02);
    border-color: var(--color01);
    text-decoration: none;
}

.border-radius {
    border-radius: var(--borderRadius);
}
.border-radius-0 {
    border-radius: 0;
}

.shownot {
    border: var(--border01);
}

.show2not {
    border: var(--border02);
}

/* typography stuff */

/* Section titles: Bootstrap .text-primary → design token */
h1.text-primary {
    color: var(--color03) !important;
}


/* alert-box stuff */

#alert-box {
    background-color: var(--color03);
}
#alert-box h6 {
    font-family: var(--font2);
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.2rem;
    word-wrap: break-word;
    color: var(--color01);
}



/* banner 01 */

/* Full-bleed carousel */
.carousel {
    width: 100vw;
    height: 90vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.carousel-cell {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Optional overlay content container */
.carousel-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* allow clicks to pass through to flickity controls */
}

/* card stuff */
.card {
    transition: opacity 0.3s ease;
}

.card:hover {
    opacity: 0.8;
    cursor: pointer;
}

.card-image-wrapper {
    overflow: hidden;
}

.card-image {
    transition: transform 0.3s ease;
    transform: scale(1);
}

.card:hover .card-image {
    transform: scale(1.04);
}

/* badge stuff */
.badge {
    background-color: var(--color04);
    text-transform: uppercase;
    font-size: 0.6rem;
    font-family: var(--font2);
    font-weight: 600;
    padding: 0.5rem 0.5rem ;
}

/* newsletter stuff */
#newsletter {
    background-color: var(--color04);
    padding: 1rem 0;
}
#newsletter h2 {
    font-family: var(--font1);
    font-size: 3rem;
    font-weight: 100;
    font-style: normal;
    color: var(--color01);
    line-height: 3rem;
    word-wrap: break-word;
}

.newsletter-input-wrapper {
    width: 100%;
}

.newsletter-input {
    border: 1px solid var(--color01);
    border-radius: 5px;
    padding: 0.75rem;
    font-family: var(--font2);
    background-color: var(--color01);
    color: var(--color02);
}

.newsletter-input:focus {
    border-color: var(--color01);
    box-shadow: none;
    outline: none;
    background-color: var(--color01);
}

/* Keep entered field content visually emphasized sitewide */
.form-control[placeholder]:not(:placeholder-shown) {
    color: #000;
    font-weight: 600;
}

.newsletter-submit {
    font-family: var(--font2);
    background-color: color-mix(in srgb, var(--color01) 14%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--color01);
    color: var(--color01);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    border-radius: 100px;
    padding: 0.6rem 1.35rem;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.newsletter-submit:hover,
.newsletter-submit:focus-visible {
    background-color: var(--color01);
    color: var(--color02);
    border-color: var(--color01);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* merken accordion stuff */
.merk-card {
    background-color: var(--color01);
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.merk-name {
    font-size: 0.875rem;
    color: var(--color02);
}

.accordion-button {
    font-weight: 600;
    color: var(--color02);
}

.accordion-button:not(.collapsed) {
    background-color: var(--color01);
    color: var(--color02);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid var(--color04);
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.accordion-collapse.show {
    display: block !important;
}

.accordion-body {
    display: block;
    padding: 1rem 1.25rem;
}

.merk-clickable {
    transition: opacity 0.3s ease;
}

.merk-clickable:hover {
    opacity: 0.8;
}

.merk-card img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.merk-clickable:hover .merk-card img {
    filter: grayscale(0%);
}

/* services stuff */
#services {
    background-color: color-mix(in srgb, var(--color06) 100%, transparent);
}

#services .container p {
    font-family: var(--font2);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color02);
    line-height: 1.4;
    max-width: 800px;
}

/* services carousel stuff */
.services-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.services-carousel {
    width: 100%;
    margin: 0;
    padding: 0 0 3rem 2rem; /* 2rem left padding to match margin between cards */
    min-height: 340px;
}

.services-carousel .carousel-cell {
    height: auto;
    margin-right: 1.5rem;
}

.service-cell {
    width: calc((100% - 6rem) / 4.5); /* altijd 4,5 zichtbaar: 4 hele + 1 halve card */
    min-width: 0;
    max-width: none;
    padding: 0;
    height: auto;
}

.service-card {
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-image-wrapper {
    width: 100%;
    aspect-ratio: 5 / 6; /* iets breder dan de vorige verhouding */
    overflow: hidden;
    border-radius: 8px;
}

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

.service-content {
    padding: 1rem 0.5rem 0.9rem 0;
}

.service-title-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.service-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color02);
    margin-bottom: 0.35rem;
    text-decoration: underline;
    display: inline;
    line-height: 1.25;
}

.service-title-link:hover .service-title {
    opacity: 0.8;
}

.service-arrow {
    display: inline-block;
    margin-left: 0.25rem;
}

.service-intro {
    font-size: 0.875rem;
    color: var(--color05);
    margin: 0;
}

/* Fade-out effect aan de rechterkant */
.services-carousel-fade {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, var(--color04) 100%);
    pointer-events: none;
    z-index: 10;
}

/* Flickity navigation for services */
.services-carousel .flickity-prev-next-button {
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    color: #333;
    top: auto;
    bottom: 0;
    opacity: 1;
    z-index: 20;
}

.services-carousel .flickity-prev-next-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.services-carousel .flickity-prev-next-button.previous {
    left: 50%;
    transform: translateX(-60px);
}

.services-carousel .flickity-prev-next-button.next {
    right: 50%;
    transform: translateX(60px);
}

.services-carousel .flickity-prev-next-button svg {
    width: 24px;
    height: 24px;
}

.services-carousel .flickity-prev-next-button .arrow {
    fill: #333;
}

.services-carousel .flickity-prev-next-button:hover:not(:disabled) {
    background: transparent;
    opacity: 0.7;
}

.services-carousel .flickity-prev-next-button:hover:not(:disabled) .arrow {
    fill: #000;
}

.services-carousel .flickity-page-dots {
    bottom: -2rem;
}

.services-carousel .flickity-page-dots .dot {
    background: var(--color04);
    opacity: 1;
}

.services-carousel .flickity-page-dots .dot.is-selected {
    background: var(--color03);
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .carousel { height: 70vh; }
    .service-cell {
        width: calc((100% - 6rem) / 4.5);
    }
}
@media (max-width: 480px) {
    .carousel { height: 60vh; }
    .service-cell {
        width: calc((100% - 6rem) / 4.5);
    }
}

/* Uniform smaller close buttons across all modals */
.modal .btn-close {
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707A1 1 0 0 1 .293.293z'/%3e%3c/svg%3e");
    --bs-btn-close-opacity: 1;
    --bs-btn-close-hover-opacity: 0.6;
    --bs-btn-close-focus-shadow: none;
    width: 0.8rem;
    height: 0.8rem;
    padding: 0.3rem;
    background-size: 0.8rem;
}

.btn-modal-close .modal-icon,
.btn-service-modal-close .service-modal-icon {
    width: 13px !important;
    height: 13px !important;
}
