:root {
    --plaat-yellow: #FFA600;
    --plaat-yellow-hover: #c48818;
    --plaat-yellow-active: #816124;
    --plaat-blue: #002347;
    --plaat-blue-hover: #15487b;
    --plaat-blue-active: #14314e;
    --plaat-light-blue: #003265;
    --plaat-gray: #6c757d;
    --plaat-light: rgba(0, 35, 71, 0.05);
    --plaat-btn-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

/* Typography */
* {
    font-family: "Inter", sans-serif;
}

.bg-primary *:not(select, option, input, label),
.bg-primary .subtitle,
.bg-blue *:not(select, option, input, label),
.bg-blue .subtitle{
    color: #FFFFFF;
}

h1.main-title {
    font-size: 2.375rem;
    font-weight: 700;
    line-height: 100%;
}

@media (min-width: 400px) {
    h1.main-title {
        font-size: 3.375rem;
    }
}

.hero h3 {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 110%;
    color: var(--plaat-blue);
}

p.subheading {
    font-size: 1.2rem;
    line-height: 160%;
    margin-top: 2rem;
}

.main-title,
.subheading,
.nav-link {
    color: #FFFFFF;
}

p {
    font-size: 1rem;
    color: var(--plaat-blue);
    line-height: 160%;
}

h2,
.h2 {
    font-weight: 600;
    font-size: 2.25rem;
    line-height: 110%;
    letter-spacing: 0;
    color: var(--plaat-blue);
}

@media (min-width: 768px) {
    h2,
    .h2 {
        font-size: 3.5rem;
    }
}

p.subtitle {
    color: var(--plaat-yellow);
}

.brand-quote {
    font-size: 14px;
}

.trademark {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
}

/* Bootstrap overrides */
.navbar-brand {
    max-width: 210px;
}

.navbar-brand img {
    border: 1px solid white;
    border-radius: 8px;
}

.navbar-collapse {
    transition: 250ms;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (min-width: 768px) {
    .navbar-collapse {
        justify-content: end;
    }
}

.navbar-toggler {
    outline: 0;
}

.navbar-toggle:focus {
    box-shadow: unset;
    outline: 0;

}

.navbar .nav-item {
    margin-right: 1rem;
}

.navbar .nav-item:last-of-type {
    margin-right: 0;
}

.navbar,
.lang-bar {
    background-color: var(--plaat-light-blue);
}

@media (min-width: 768px) {
    .lang-bar {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
}

.btn {
    transition: 200ms;
    padding: .5rem 1.875rem;
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--plaat-yellow);
    --bs-btn-border-color: var(--plaat-yellow);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--plaat-yellow-hover);
    --bs-btn-hover-border-color: var(--plaat-yellow-hover);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--plaat-yellow-active);
    --bs-btn-active-border-color: var(--plaat-yellow-active);
    --bs-btn-active-shadow: var(--plaat-btn-shadow);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--plaat-yellow);
    --bs-btn-disabled-border-color: var(--plaat-yellow);
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--plaat-blue);
    --bs-btn-border-color: var(--plaat-blue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--plaat-blue-hover);
    --bs-btn-hover-border-color: var(--plaat-blue-hover);
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--plaat-blue-active);
    --bs-btn-active-border-color: var(--plaat-blue-active);
    --bs-btn-active-shadow: var(--plaat-btn-shadow);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--plaat-gray);
    --bs-btn-disabled-border-color: var(--plaat-gray);
}

.btn-outline-primary {
    --bs-btn-color: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--plaat-yellow);
    --bs-btn-hover-border-color: var(--plaat-yellow);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--plaat-yellow-active);
    --bs-btn-active-border-color: var(--plaat-yellow-active);
    --bs-btn-active-shadow: var(--plaat-btn-shadow);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #fff;
    --bs-gradient: none;
    background-color: var(--plaat-light-blue);
}

@media (min-width: 420px) {
    .btn-outline-primary {
        background-color: transparent;
    }
}

.btn-outline-secondary {
    --bs-btn-color: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--plaat-blue);
    --bs-btn-hover-border-color: var(--plaat-blue);
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--plaat-blue-active);
    --bs-btn-active-border-color: var(--plaat-blue-active);
    --bs-btn-active-shadow: var(--plaat-btn-shadow);
    --bs-btn-disabled-color: var(--plaat-gray);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--plaat-gray);
    --bs-gradient: none;
}

@media (min-width: 420px) {
    .btn-outline-secondary {
        background-color: transparent;
    }
}

.bg-primary {
    background-color: var(--plaat-yellow) !important;
}

.bg-light {
    background-color: var(--plaat-light) !important;
}

.bg-blue {
    background-color: var(--plaat-blue) !important;
}

/* Custom CSS */
header {
    min-height: 70dvh;
    height: 100%;
    position: relative;
    background-color: var(--plaat-light-blue);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 3rem;

}

header::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -2px;
    width: 250px;
    height: 250px;
    background-image: url('../images/Union.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    z-index: 0;
    pointer-events: none;
}

@media (min-width: 768px) {
    header {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        margin: 0 1rem 3rem;
        padding: 0 3rem 3rem;
    }
}

@media (min-width: 992px) {
    header::before {
        width: 600px;
        height: 600px;
    }
}

.btn-language,
.btn-language:hover {
    color: #fff;
    border: none;
}

.btn-language span.active {
    font-weight: bold;
}

.btn.btn-language:active {
    color: #FFFFFF;
    border: none;
}

.btn-language::after {
    content: "";
    display: inline-flex;
    width: 15px;
    height: 15px;
    background-image: url('../images/language-switch.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 8px;
}

.contact-form-wrapper {
    background-color: var(--plaat-yellow);
    padding: 2rem;
    border-radius: .5rem;
    margin-top: 3rem;
}

@media (min-width: 992px) {
    .contact-form-wrapper {
        position: absolute;
        right: 10%;
    }
}

/* VERTICAL SLIDER */
.main-carousel {
    margin: 0;
    padding: 0;
}

.col-12:has(.main-carousel) {
    padding: 0;
}

.vertical-carousel .carousel-cell {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.carousel-cell {
    border-radius: 4px;
}

.carousel-cell:not(.vertical-carousel .carousel-cell) img {
    display: block;
    width: 556px;
    height: 376px;
}

.vertical-carousel .flickity-page-dots {
    bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.vertical-carousel .flickity-page-dots .dot {
    position: relative;
    width: 140px;
    height: 4px;
    background-color: #ffffff4e;
    overflow: hidden;
    border-radius: 2px;
}

.vertical-carousel .flickity-page-dots .dot .dot-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #FFFFFF;
    opacity: 1;
    animation: none;
    border-radius: 2px;
}

.vertical-carousel button.flickity-button.flickity-prev-next-button {
    border-radius: 4px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4.49px 33.77px 10.1px #FFFFFF85 inset;
    background: transparent;
    border: 1px solid #FFFFFF;
}

@media (min-width: 992px) {
    .vertical-carousel button.flickity-button.flickity-prev-next-button.next {
        right: 60px;
    }

    .vertical-carousel button.flickity-button.flickity-prev-next-button.previous {
        left: 60px;
    }
}

.vertical-slider-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vertical-slider-content h3 {
    font-weight: bold;
}

.vertical-slider-wrapper h2 {
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    .vertical-slider-wrapper h2 {
        font-size: 3.5rem;
    }
}

/* REVIEW SLIDER */
.review-slider .carousel-cell {
    width: 100%;
    margin: 0 .75rem;
}

@media (min-width: 768px) {
    .review-slider .carousel-cell {
        width: 50%;
    }
}

.review-slider .carousel-cell .card {
    background-color: var(--plaat-light);
    border: none;
    padding: 1rem;
    border-radius: .5rem;
    height: auto;
    display: flex;
    flex-direction: column;
}

.review-slider .carousel-cell .card-body {
    padding-bottom: 0;
    flex: 1;
}

.review-slider .carousel-cell .card-body p {
    margin-bottom: 0;
}

.review-slider .carousel-cell .card-footer {
    background-color: unset;
    border: none;
}

.review-slider .carousel-cell .card-header {
    background-color: unset;
    border: 0;
    padding-bottom: 0;
}

.review-slider .carousel-cell .card-header .quote {
    height: 25px;
    width: auto;
}


.review-slider .carousel-cell .card-header h4 {
    color: var(--plaat-yellow);
    margin-bottom: 0;
    font-size: 2rem;
}

.review-slider-wrapper {
    position: relative;
}

.review-buttons {
    position: absolute;
    bottom: -40px;
    right: 10px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.review-buttons .btn {
    font-size: 1.2rem;
    border: 1px solid black;
    padding: .5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.review-progress-bar {
    width: 50%;
    height: 4px;
    background-color: var(--plaat-light);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 16px;
    position: relative;
    top: 20px;
}

@media (min-width: 500px) {
    .review-progress-bar {
        width: 75%;
    }
}

.review-progress-fill {
    height: 100%;
    width: 0;
    background-color: #FFA600;
    transition: width 0.4s ease;
    border-radius: 2px;
}

@keyframes fillBar {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.video-container {
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.3s;
}

.video-container:is(:hover, :focus-visible) .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}


.main-carousel .carousel-cell .img-fluid {
    width: calc(556px / 2);
    height: calc(376px / 2);
    object-fit: cover;
    border-radius: 4px;
}

.vertical-carousel .carousel-cell .img-fluid {
    width: 556px;
    height: 511px;
    object-fit: cover;
    border-radius: 4px;
}

.video-slide {
    position: relative;
}

.video-slide .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 152px;
    height: 94px;
    border-radius: 525px;
    backdrop-filter: blur(1px);
    transition: background 0.3s ease;
}

.video-slide .play-button:hover {
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.2);
}

.video-slide .play-button img {
    width: 100%;
    height: auto;
}

/* About Section */
.about-link {
    color: var(--plaat-yellow);
    text-decoration: none;
}

.where-to-buy img {
    height: 80px;
    object-fit: contain;
}

.where-to-buy .img-container {
    display: flex;
    justify-content: center;
    align-items: center;
}