/*
Theme Name: interior
Theme URI: https://interiorbyneirynck.be
Author: wcreate BV
Author URI: https://wcreate.be
Description: Basisthema voor wcreate BV projecten
Version: 1.0
Text Domain: wcreatebasis
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
*/

.page-id-125 main, .page-id-126 main{
	padding: 5%;
}

.grecaptcha-badge{
	visibility: hidden;
}

/* HOME */

.o--h{
	overflow: hidden;
}

.ico--br {
    position: absolute;
    bottom: 30px;
    right: -120px;
}

.ico--bl {
    position: absolute;
    bottom: 30px;
    left: -120px;
}

.ico--vl {
    position: absolute;
    top: 30px;
    left: -120px;
}

/* Parallax container */
.wcreate--parallax-wrapper {
    overflow: hidden;
    position: relative;
}

.wcreate--parallax {
    height: 120%;
    width: 100%;
    object-fit: cover;
    will-change: transform;
}

/* Custom list styling */
.interior--list {
    list-style: none;
    padding-left: 0;
}

.interior--list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.25rem;
}

.interior--list li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 14px;
    background-image: url('data:image/svg+xml;utf8,<svg width="4" height="14" viewBox="0 0 4 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 3.56089L0 14H4L4 0L0 3.56089Z" fill="%23FFDB01"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

/* Pre-heading styling */
.pre--h {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0rem;
    font-size: var(--font-size-small);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-700);
}

.pre--h::before {
    content: '';
    flex-shrink: 0;
    width: 4px;
    height: 14px;
    background-image: url('data:image/svg+xml;utf8,<svg width="4" height="14" viewBox="0 0 4 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 3.56089L0 14H4L4 0L0 3.56089Z" fill="%23FFDB01"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.text-animate {
    text-align: center;
    padding-left: 10%;
    padding-right: 10%;
}

.word {
    display: inline-block;
}

.char {
    display: inline-block;
    opacity: 0.1; 
}

.svg--ico svg {
    width: 50px;
    height: 50px;
}

.pre--footer{
    border-top: 1px solid var(--color-black);
}

/* FAQ Accordion */
.faq--accordion {
    width: 100%;
}

.faq--item {
    border-bottom: 1px solid var(--color-primary);
    padding: 1.5rem 0;
}

.faq--question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 2rem;
}

.faq--question h3 {
    color: var(--color-white);
    margin: 0;
    font-size: var(--font-size-h3);
    font-weight: 400;
    transition: color 0.8s ease;
}

.faq--item:hover .faq--question h3 {
    color: var(--color-primary);
}

.faq--toggle {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.8s ease;
}

.faq--icon {
    position: relative;
    width: 16px;
    height: 16px;
}

/* Plus icon (horizontal + vertical) */
.faq--icon::before,
.faq--icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-black);
    transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Horizontal line */
.faq--icon::before {
    width: 16px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Vertical line */
.faq--icon::after {
    width: 2px;
    height: 16px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

/* When active, remove horizontal line (becomes minus = vertical line only) */
.faq--item.active .faq--icon::before {
    opacity: 0;
    transform: translateY(-50%) rotate(90deg);
}

.faq--answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.faq--item.active .faq--answer {
    padding-top: 1rem;
}

.faq--answer p {
    color: var(--color-white);
    margin: 0;
    line-height: 1.6;
}

/* REALISATIES ARCHIVE */
.realisaties-hero-wrapper {
    position: relative;
    min-height: 50vh;
    padding-top: 10%;
}

.realisaties-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.realisaties-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.realisaties-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.realisaties-hero-content {
    position: relative;
    z-index: 3;
}

.realisaties-hero-content h1 {
    margin: 0;
    padding-left: 5%;
    text-transform: uppercase;
    font-weight: 900;
}

.categorie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.categorie-button {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border: 0;
    background-color: transparent;
    text-transform: uppercase;
}

.categorie-button.active {
    opacity: 1;
    border-bottom: 1px solid var(--color-primary);
}

.categorie-button:hover {
    opacity: 1;
    cursor: pointer;
}

.realisaties-grid {
    column-count: 2;
    column-gap: 2rem;
    column-fill: balance;
    position: relative;
    min-height: 400px;
}

.realisaties-grid.is-filtering::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-gray-200);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 10;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.realisaties-grid.is-filtering {
    pointer-events: none;
}

.realisatie-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    transition: opacity 0.4s ease;
}

.realisatie-item.hidden {
    display: none;
}

.realisatie-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.realisatie-item a:hover {
    transform: translateY(-5px);
}

.realisatie-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.realisatie-image > img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.realisatie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(40, 40, 40, 0);
    transition: background-color 0.5s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.realisatie-logo {
    width: 180px !important;
    height: auto !important;
    opacity: 0;
    transition: opacity 0.5s ease !important;
}

.realisatie-item a:hover .realisatie-image img,
.three-slider-item a:hover .three-slider-image img {
    transform: scale(1.05);
}

.realisatie-item a:hover .realisatie-overlay,
.three-slider-item a:hover .realisatie-overlay {
    background-color: rgba(40, 40, 40, 0.5);
}

.realisatie-item:hover .realisatie-logo,
.three-slider-item:hover .realisatie-logo {
    opacity: 1 !important;
}

.realisatie-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: var(--font-size-h3);
    transition: color 0.3s ease;
}

.realisatie-item a:hover .realisatie-content h3 {
    color: var(--color-primary);
}

.realisatie-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cat-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-gray-100);
    color: var(--color-black);
    font-size: var(--font-size-small);
    border-radius: 4px;
}

@media only screen and (max-width: 811px) {
    .realisaties-grid {
        column-count: 1;
        column-gap: 0;
    }

    .categorie-buttons {
        justify-content: flex-start;
    }
}

/* BEDANKT PAGE */
.bedankt-page {
    overflow: hidden;
}

.bedankt-hero {
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-white) 100%);
}

.bedankt-icon {
    margin-bottom: 2rem;
}

.checkmark {
    display: inline-block;
}

.checkmark-circle {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
}

.checkmark-check {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
}

.bedankt-title {
    font-size: max(32px, min(calc(0.04*(100vw - 37.5em) + 32px), 56px));
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.bedankt-subtitle {
    color: var(--color-gray-700);
    margin-top: 0.5rem;
}

.bedankt-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.bedankt-step {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-h2);
    font-weight: 700;
    color: var(--color-black);
}

.bedankt-step h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.bedankt-step p {
    color: var(--color-gray-700);
    line-height: 1.6;
}

.bedankt-inspiratie {
    background-color: var(--color-gray-100);
}

@media only screen and (max-width: 811px) {
    .bedankt-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* HORIZONTAL SCROLL SECTION */
.horizontal-scroll-section {
    overflow: hidden;
    padding: 4rem 0;
    width: 100%;
}

.horizontal-scroll-wrapper {
    display: flex;
    width: fit-content;
    gap: 0;
}

.horizontal-scroll-item {
    width: 60vw;
    flex-shrink: 0;
    padding: 0;
    box-sizing: border-box;
}

.horizontal-scroll-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.horizontal-scroll-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    margin-left: auto;
    margin-right: 40px;
}

.horizontal-scroll-image img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.horizontal-scroll-item a:hover .horizontal-scroll-image img {
    transform: scale(1.05);
}

.horizontal-scroll-content {
    margin-left: auto;
    margin-right: auto;
    width: auto;
    padding-left: 2%;
}

.horizontal-scroll-content h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.horizontal-scroll-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.horizontal-scroll-cats .cat-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-gray-100);
    color: var(--color-gray-700);
    font-size: var(--font-size-small);
    border-radius: 4px;
}

/* THREE SLIDER SECTION */
.three-slider-section {
    position: relative;
    overflow: hidden;
}

.three-slider-wrapper {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s ease;
}

.three-slider-item {
    flex: 0 0 calc(33.333% - 1.35rem);
    min-width: calc(33.333% - 1.35rem);
}

.three-slider-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.three-slider-item a:hover {
    transform: translateY(-5px);
}

.three-slider-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 4px;
    aspect-ratio: 4 / 3;
}

.three-slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.three-slider-item a:hover .three-slider-image img {
    transform: scale(1.05);
}

.three-slider-content h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: var(--font-size-h4);
}

.three-slider-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.three-slider-cats .cat-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-gray-100);
    color: var(--color-gray-700);
    font-size: var(--font-size-small);
    border-radius: 4px;
}

.three-slider-nav {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 3rem;
}

.three-slider-prev,
.three-slider-next {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-black);
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.three-slider-prev svg,
.three-slider-next svg {
    width: 12px;
    height: 12px;
}

.three-slider-prev:hover,
.three-slider-next:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.three-slider-prev:disabled,
.three-slider-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media only screen and (max-width: 811px) {
    .three-slider-wrapper {
        gap: 1rem;
        padding: 0;
    }

    .three-slider-item {
        flex: 0 0 calc(100% - 2rem);
        min-width: calc(100% - 2rem);
    }

    .three-slider-image {
        aspect-ratio: 16 / 9;
        margin-bottom: 0.5rem;
    }

    .three-slider-nav {
        margin-top: 2rem;
    }
}

/* SINGLE REALISATIE */
.realisatie-info-box {
    position: relative;
    display: inline-block;
    padding: 3rem 14rem 3rem 6rem;
}

.realisatie-info-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.realisatie-info-svg svg {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.realisatie-info-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.realisatie-info-item {
    font-size: var(--font-size);
    color: var(--color-black);
}

.realisatie-info-item strong {
    font-weight: 700;
    margin-right: 0.5rem;
}

.realisatie-description {
    font-size: var(--font-size);
    line-height: 1.8;
}

.realisatie-description p {
    margin-bottom: 1.5rem;
}

@media only screen and (max-width: 811px) {
    .realisatie-info-box {
        padding: 2rem 6rem 2rem 3rem;
    }

    .realisaties-hero-wrapper {
        min-height: 200px;
    }

    .realisatie-info-item {
        font-size: unset;
    }

    .horizontal-scroll-image img {
        height: 250px;
    }

    .horizontal-scroll-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .horizontal-scroll-section {
        padding: 4rem 0 0 0;
    }

    .horizontal-scroll-item {
        width: 100%;
        margin-bottom: 2rem;
    }

    .horizontal-scroll-image {
        margin-right: 0;
    }

    .horizontal-scroll-content {
        padding-left: 0;
    }
	
	.faq--question h3 {
		font-size: var(--font-size-h4);
	}
	
}