﻿* {
    margin: 0;
    padding: 0;
}

:root {
    --max-width: 1350px;
    --color-bg-header: #2A232F;
    --color-text-white: #fff;
    --color-bg-btn-primary: #2E4D85;
    --color-bg-btn-primary-hover: #1f3a63;
    --color-bg-btn-secondary: #F7760B;
    --color-bg-btn-secondary-hover: #e7650a;
    --color-overlay: rgba(0, 0, 0, 0.4);
    --color-arrow: transparent;
    --color-grey-strap: rgba(0, 0, 0, 0.4);
    --grey-text: #383838;
    --grey-text-light: #939393;
}

html {
    scroll-behavior: smooth;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--color-bg-btn-primary);
}

h3 {
    font-size: 1.55rem;
}

body {
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.logo {
    padding-right: 40px;
}

.section-bg {
    background-color: #E8E8E9;
}

header {
    background-color: var(--color-bg-header);
}

.header-box {
    max-width: var(--max-width);
    margin: auto;
    display: grid;
    grid-template-columns: 0.2fr 1fr 0.5fr;
    align-items: end;
    height: auto;
    padding: 20px 40px 40px 40px;
}

.hamburger-btn {
    margin-right: 20px;
}

    .hamburger-btn:hover {
        cursor: pointer;
    }

.hamburger-menu {
    display: none;
}

.main-menu {
    display: inline-flex;
    gap: 20px;
}

    .main-menu li,
    .hamburger-menu li {
        list-style: none;
        font-size: 1.7rem;
    }

.main-menu-item a {
    text-decoration: none;
    color: var(--color-text-white);
}

.nav-search-box {
    display: block;
}

.nav {
    display: inline-flex;
    align-items: center;
}

.hamburger-btn {
    color: var(--color-text-white);
    font-size: 3rem;
}

.input-field {
    width: 100%;
    height: 50px;
    padding: 10px;
    outline: none;
    border: 1px solid #a0a0a0;
    box-sizing: border-box;
    font-size: 1.2rem;
}

.input-small {
    width: 150px;
    text-align: center;
}

.input-search-bar {
    width: 80%;
    border-radius: 10px;
    border: 1px solid var(--color-text-white);
}

button {
    outline: none;
    border: 0;
    margin-top: 0;
}

    button.button,
    
    .button {
        outline: none;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        padding: 0 15px;
        border-radius: 5px;
        cursor: pointer;
        text-decoration: none;
    }

.button-primary {
    background-color: var(--color-bg-btn-primary);
    color: var(--color-text-white);
    font-weight: bold;
}

.button-secondary {
    padding: 10px 20px;
}

.button-search {
    width: 100px;
    height: 60px !important;
}

.button-get-in-touch {
    width: 150px !important;
    height: 60px;
}

.search-btn:hover {
    background-color: var(--color-bg-btn-primary-hover);
}

.btn-secondary {
    background-color: var(--color-bg-btn-secondary);
    color: var(--color-text-white);
    font-weight: bold;
    width: 120px;
}

    .btn-secondary:hover {
        background-color: var(--color-bg-btn-secondary-hover);
    }

.search-bar form {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-nav {
    justify-items: center;
}

    .contact-nav span {
        padding-bottom: 20px;
        display: block;
        font-size: 1.7rem;
    }

        .contact-nav span a {
            color: var(--color-text-white);
            text-decoration: none;
        }

.slider,
.regular-banner {
    position: relative;
    width: 100%;
    max-width: 2500px;
    overflow: hidden;
    margin: auto;
    display: flex;
}

    .slider img {
        width: 100%;
        display: block;
    }

    .slider .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        color: var(--color-text-white);
        text-align: center;
    }

    .slider .button {
        position: absolute;
        background-color: var(--color-bg-btn-primary);
        color: var(--color-text-white);
        padding: 10px 20px;
        text-decoration: none;
        font-weight: bold;
        border-radius: 5px;
        transition: background-color 0.3s ease;
        bottom: 40px;
        right: 150px;
    }

.grey-strap {
    background: var(--color-grey-strap);
    display: grid;
    align-items: center;
}

.overlay h1 {
    font-weight: 500;
    display: block;
    max-width: var(--max-width);
}

.overlay .button:hover {
    background-color: var(--color-bg-btn-primary-hover);
}

.arrows {
    color: var(--color-text-white);
    background-color: var(--color-arrow);
    font-size: 3rem;
    position: absolute;
}

.a-left {
    left: 10px;
}

.a-right {
    right: 10px;
}

.dot-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: var(--max-width);
    height: 30px;
    margin: 10px auto;
}

.dot-item {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: black;
}

    .dot-item.active {
        background-color: grey;
        border: 1px solid dimgray;
        width: 13px;
        height: 13px;
    }

.cta-simple {
    background-color: var(--color-bg-btn-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

    .cta-simple .img-arc {
        position: absolute;
        right: 32px;
        bottom: 0;
    }

.cta-simple-box {
    display: grid;
    max-width: var(--max-width);
    justify-items: center;
    padding: 20px;
}

    .cta-simple-box a,
    .form-footer button {
        width: 250px;
        text-transform: uppercase;
    }

    .cta-simple-box p {
        font-size: 2rem;
        color: #fff;
        text-align: center;
        padding: 30px;
    }

    .cta-simple-box h2 {
        color: #fff;
    }

.world-wide {
    display: flex;
    width: var(--max-width);
    margin: 90px auto;
    gap: 40px;
}

    .world-wide .flags {
        display: flex;
        gap: 20px;
    }

    .world-wide .button {
        width: 200px;
    }

.ww-content {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: var(--color-bg-btn-primary);
}

.product-list {
    position: relative;
    color: var(--grey-text);
    padding-bottom: 60px;
}

    .product-list .img-arc {
        position: absolute;
        right: 32px;
        bottom: 0;
        z-index: 0;
    }

.product-list-box {
    max-width: var(--max-width);
    display: block;
    margin: auto;
}

.product-list-search,
.product-list-search form {
    display: flex;
    max-width: var(--max-width);
    align-items: center;
    padding: 20px 0;
    z-index: 4;
    width: 100%;
}

.filter-by {
    font-size: 2.1rem;
    font-weight: 600;
    width: 100%;
    color: var(--grey-text);
}

.product-list-search .input-select {
    width: 100%;
    font-size: 1.6rem;
}

.product-list-grid-item {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    gap: 20px;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.product-list-item {
    background-color: #fff;
    border-radius: 25px;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
}

    .product-list-item a.button {
        margin-top: 20px;
    }

    .product-list-item h2 {
        text-align: center;
        padding: 10px;
        font-size: 1.5rem;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }

        .product-list-item h2 span {
            display: block;
            font-size: 1.5rem;
        }

    .product-list-item p {
        text-align: center;
        padding: 10px;
    }

    .product-list-item a {
        width: 150px;
        margin: 0 auto 20px auto;
    }

.product-list-grid-item div img {
    width: 80%;
    display: block;
    margin: auto;
}

.no-full-width {
    max-width: var(--max-width);
    margin: auto !important;
}

.cta-grey-bg {
    background: linear-gradient(to bottom, #D2CFCF, #898787);
    border: 1px solid #D2CFCF;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: white;
}

    .cta-grey-bg h2 {
        font-size: 2rem;
    }

    .cta-grey-bg p {
        font-size: 1.4rem;
    }

.cta-nobg {
    background: none;
    border: none;
}

    .cta-nobg h2, .cta-nobg p {
        color: var(--grey-text);
    }

.footer {
    position: relative;
    margin-top: 60px;
    color: white;
}

.footer-img {
    position: absolute;
    height: 80%;
    bottom: 0;
    left: 120px;
}

.footer-box {
    background: linear-gradient(to bottom, #29232F, #726F78);
    padding: 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--max-width);
    margin: 0 auto;
    gap: 20px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-column p,
.footer-column ul {
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

    .footer-column ul li {
        margin-bottom: 5px;
    }

        .footer-column ul li a {
            color: #fff;
            text-decoration: none;
            transition: all 0.3s ease-in-out;
        }

            .footer-column ul li a:hover {
                color: var(--color-bg-btn-secondary);
            }

.footer-logo {
    display: grid !important;
}

    .footer-logo img {
        max-width: 80px;
        margin-bottom: 10px;
    }

.footer-social {
    align-self: end;
}

    .footer-social a {
        margin: 0 10px;
        font-size: 1.5rem;
        color: white;
        text-decoration: none;
    }

        .footer-social a:hover {
            color: var(--color-bg-btn-secondary);
        }

.footer-bottom {
    background-color: #fff;
    color: var(--grey-text);
    text-align: right;
    padding: 20px 0;
}


.footer-column {
    display: flex;
    flex-direction: column;
}

.FilterBySize {
    gap: 30px;
}

.hamburger-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.hamburger-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.4);
    z-index: 10;
    padding: 0 40px;
    margin: 0;
    list-style: none;
    width: max-content;
    background-color: #fff;
}

    .hamburger-menu li {
        position: relative;
        display: block;
        margin: 10px 0;
        padding: 10px 0;
        border-bottom: 2px solid grey;
    }

        .hamburger-menu li a {
            text-decoration: none;
            color: var(--grey-text);
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding-right: 20px;
            transition: all 0.2s ease-in;
        }

            .hamburger-menu li a:hover {
                color: var(--color-bg-btn-secondary);
            }

            .hamburger-menu li a::after {
                content: "\f0da";
                font-family: 'FontAwesome';
                font-size: 2rem;
                display: inline-flex;
                align-self: flex-end;
                color: var(--color-bg-btn-primary);
            }

    .hamburger-menu.active {
        display: block;
    }

.dropdown {
    border-bottom: none !important;
}

    .dropdown a {
        padding-right: 0 !important;
    }

.submenu-header {
    border-bottom: 2px solid grey;
    margin-top: 0px;
    margin-bottom: 10px;
    border-bottom-width: 2px;
    padding-bottom: 10px;
    font-weight: 700;
    color: var(--grey-text);
}

    .submenu-header:hover {
        cursor: initial;
    }

.content-banner {
    position: absolute;
    top: 20px;
    left: 20px;
    height: 121px;
    width: 780px;
    justify-content: left;
    color: #fff;
}

    .content-banner h1,
    .content-banner h2 {
        padding-left: 30px;
        margin: 0;
        color: #ffffff;
    }

.regular-banner {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .regular-banner img {
        width: 100%;
        height: auto;
        min-height: 100%;
        object-fit: cover;
    }

.simple-content p,
.simple-content h3 {
    margin-left: 30px;
}

.simple-content h2 {
    color: var(--color-bg-btn-primary);
    padding: 40px 0;
}

.simple-paragraph {
    line-height: 2;
    margin: 30px 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
    .simple-paragraph img {
        max-width: 100%; /* prevent overflow */
        height: auto; /* keep aspect ratio */
        margin:auto;
    }

    .bread-crumbs ul {
        display: flex;
        margin: 32px 0;
        font-size: 1.2rem;
    }

    .bread-crumbs ul li {
        list-style: none;
    }

        .bread-crumbs ul li a {
            text-decoration: none;
            color: var(--grey-text-light);
        }

        .bread-crumbs ul li:not(:last-child)::after {
            content: '>';
            margin: 0 10px;
            color: var(--grey-text-light);
        }

.search-results {
    display: flex;
    gap: 0px;
    max-width: var(--max-width);
    margin: auto;
    margin-top: 30px;
}

.btn-list {
    grid-column: 1;
}

    .btn-list ul li {
        list-style: none;
        margin: 20px 20px 20px 0px;
    }

        .btn-list ul li:first-child {
            list-style: none;
            margin: 0px 20px 20px 0px;
        }

        .btn-list ul li a {
            width: 70%;
        }

.search-results-box {
    height: 100%;
    width: 100%;
    grid-column: 2 / -1;
}

    .search-results-box .product-list-grid-item {
        margin: 60px 0;
        grid-template-columns: repeat(4, 1fr);
    }

.item-details {
    margin: 30px 0;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 20px;
}

.item-details-table {
    width: 100%;
    height: max-content;
    border-collapse: collapse;
    border: none;
    font-weight: 500;
}

    .item-details-table tr {
        border: none;
        gap: 10px;
    }

    .item-details-table td {
        padding: 5px 12px;
        text-align: left;
    }

    .item-details-table tr:nth-of-type(3n+1) td {
        background-color: #cfcfcf;
    }

    .item-details-table tr:nth-of-type(3n+2) td {
        background-color: #eaeaea;
    }

    .item-details-table tr.blank-row td {
        background-color: #fff;
        border: none;
        height: 10px;
    }

.item-details-application-model {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

    .item-details-application-model img {
        width: 100%;
        height: auto;
    }

    .item-details-application-model p {
        margin: 10px 0;
        display: block;
    }
    .item-details-application-model h3{
        margin:10px 0;
        color:var(--color-bg-btn-primary);
    }

    .item-details > div:first-child {
        align-self: start;
    }

.search-item-img-box {
    position: relative;
    height: 100%;
    overflow: hidden;
}

    .search-item-img-box img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }


.enquiry-form {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
    gap: 16px;
    width: 100%;
}

    .enquiry-form > div {
        grid-column: span 1;
        position: relative;
    }

    .enquiry-form textarea {
        height: calc(2 * 46px + 20px);
    }

.contact-form-input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid grey;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    outline: none;
}

    .contact-form-input::placeholder {
        color: #727171;
    }

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

/*    .form-footer .button {
        width: 160px;
    }*/

.parts-selected {
    padding: 0 !important;
}

.upper-case {
    text-transform: uppercase;
}

.no-results-found span {
    font-weight: 600;
}

.no-results-found {
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    justify-content: start;
}

.contact-form-header {
    margin-bottom: 32px;
}

.contact-form-description {
    margin: 32px 0;
    max-width: 100%;
    width: 65%;
}

.contact-form-box .contact-form label:not(:first-of-type) {
    margin-top: 10px;
    display: block;
    font-size: 0.9rem;
}

.field-validation {
    color: #E60012;
    font-size: 0.9rem;
    font-weight: 600;
}

.recaptcha-notice {
    font-size: 0.9rem;
    display: block;
    margin: 20px 0;
}

    .recaptcha-notice a {
        text-decoration: none;
        color: var(--color-bg-btn-primary);
        font-weight: 600;
    }

        .recaptcha-notice a:hover {
            color: var(--color-bg-btn-primary-hover);
        }

.contact-company-details {
    display: block;
    width: 500px;
    margin: auto;
}

    .contact-company-details a {
        text-decoration: none;
        color: var(--color-bg-btn-primary);
    }

    .contact-company-details p {
        margin-top: 10px;
    }

.company-name {
    color: var(--color-bg-btn-primary);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-section {
    margin-top: 32px;
}

.icons-box-wrapper {
    display: flex;
    justify-content: center;
}

.icons-box {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 80%;
    margin: auto;
    height: 120px;
    justify-content: center;
}

    .icons-box div p {
        text-align: center;
    }

    .icons-box svg, .icons-box i {
        width: 4rem;
        height: 4rem;
        fill: currentColor;
        display: flex;
        margin: 0 auto;
        align-items: center;
        justify-content: center;
        color: var(--color-bg-btn-primary);
        font-size: 3rem;
    }

.fit-content {
    width: fit-content;
    margin-bottom: 20px;
}

.diameters-input {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
}

    .diameters-input label:not(:first-of-type),
    .radio-button-box label:not(:first-of-type),
    .diameters-input label {
        margin-top: 0 !important;
    }

#form-side1 h2, #form-side2 h2 {
    margin-bottom: 20px !important;
}

.radio-button-box {
    display: flex;
    margin: 10px 0 !important;
    align-items: center;
    gap: 10px;
}

.two-column h2 {
    margin: 20px 0;
}

.bespoke-form-description {
    margin: 30px 0;
}

.field-input {
}

.field-radio {
    display: block;
    width: auto;
}

input[type="radio"]:hover + label,
input[type="checkbox"]:hover + label,
label:hover:has(+ input[type="radio"]),
label:hover:has(+ input[type="checkbox"]) {
    cursor: pointer;
}

.form-your-details {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

.schema-img {
    display: block;
    margin: 25px 0px;
}

    .schema-img span {
        display: block;
    }

    .schema-img .close-x {
        display: none;
        position: absolute;
        right: 20px;
        top: 10px;
        font-size: 2rem;
        color: var(--color-bg-btn-primary);
    }

.close-x:hover {
    cursor: pointer;
}

.schema-img img {
    width: 200px;
    height: auto;
}

    .schema-img img:hover {
        cursor: pointer;
    }

.active {
    display: block;
}

    .active img {
        cursor: auto !important;
    }

.schema-img.active {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    padding: 10px;
}

    .schema-img.active img {
        width: 100%;
    }

.no-results {
    border-radius: 10px;
    margin-bottom: 32px;
    display: grid !important;
}

    .no-results a {
        margin: 20px;
    }

    .no-results p {
        font-size: 1.4rem !important;
    }

.extra-paddding {
    padding: 40px 0;
}

.project-gallery {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

    .project-gallery h2 {
        font-size: 3.5rem;
    }

.project-gallery-description {
    font-size: 1.2rem;
}

.out-of-flex {
    width: 100%;
}

.project-card-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.h3-project-card {
    font-size: 1.3rem;
    font-weight: 600;
    color: black;
}

.project-card-item {
    padding: 20px;
    display: grid;
}

    .project-card-item img {
        width: 100%;
        margin-bottom: 10px;
    }

.project-card-short-description {
    font-size: 0.9rem;
    color: gray;
    margin: 20px 0;
}

.project-card-modal-pop-up {
    display: none;
}


/* Slider project card*/
.modal-active {
    display: flex;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding-top: 15vh;
    padding-bottom: 15vh;
    box-sizing: border-box;
}

    .modal-active .modal-box {
        background-color: #ffffff;
        width: 800px;
        height: 70vh;
        overflow-y: auto;
        margin: 0 auto;
        padding: 1rem;
        box-sizing: border-box;
        border-radius: 8px;
        position: relative;
    }

.project-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    height: 400px;
}

.slider-wrapper {
    height: 100%;
}

.slider-image {
    display: none;
    width: 100%;
    height: 100%;
}

    .slider-image.active {
        display: block;
        margin: auto;
    }

.slider-prev,
.slider-next {
    color: var(--color-bg-btn-primary);
    background: none;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 2;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.close-modal {
    position: absolute;
    right: 30px;
    top: 25px;
    color: var(--color-bg-btn-primary);
    font-size: 2.4rem;
}

    .close-modal:hover {
        cursor: pointer;
    }

.slider-description {
    padding: 30px;
    text-align: justify;
    line-height: 1.5;
    color: darkgray;
}

.product-description {
    padding-top: 20px;
    text-align: justify;
}

.news-article {
    color: var(--grey-text-light);
}

    .news-article small {
        margin: 32px 0;
        display: block;
    }

.news-article-thumbnail img {
    width: 150px;
    height: auto;
}

.news-article-text p {
    margin: 10px 0;
}

.news-article-image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

    .news-article-image img {
        width: 100%;
        height: auto;
    }

.news-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 32px;
}

.tile {
    background-color: #ffffff;
    border-radius: 25px;
    box-sizing: border-box;
    -webkit-box-shadow: 6px 4px 15px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 6px 4px 15px 3px rgba(0,0,0,0.4);
}

.article-tile-box {
    width: 100%;
    height: 430px;
}

.article-tile {
    padding: 20px 20px 0 20px;
    position: relative;
    height: 100%;
}

    .article-tile small {
        display: block;
        margin-bottom: 1rem;
    }

    .article-tile small,
    .article-tile h3 {
        color: var(--color-bg-btn-primary);
    }

    .article-tile h3 {
        font-size: 1.355rem;
    }

    .article-tile p {
        color: var(--grey-text-light);
        padding: 10px 0;
    }

    .article-tile img {
        width: auto;
        height: 185px;
        margin: auto;
        display: block;
    }

    .article-tile a {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
    }

a.button, .button {
    text-transform: uppercase !important;
    font-size: 1.1rem;
}

.porsche-group {
    display: flex;
    gap: 2rem;
    justify-content:center;
    align-items:center;
    margin-bottom:2rem;
}
