@font-face {
    font-family: 'TTRoundsNeueRegular';
    src: url('/assets/fonts/TT Rounds Neue Trial Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'TTRoundsNeueRegular', sans-serif;
    background-color: black;
    color: white;
    margin: 0;
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
    /* position: relative; */
}

.cookie-consent {
    min-height: 50px;
    padding: 2rem;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    background-color: #000000F0;
    display: flex;
    position: fixed;
    /* top: 50vh; */
    z-index: 100;
    gap: 2rem;
    font-size: 1.3rem;
    bottom: 0;
}

.accept-cookies, .decline-cookies {
    color: white;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: bold;
    font-size: 1rem;
    flex: 1;
}

.accept-cookies {
    background-color: white;
    color: black;
    border: 0;
}

.decline-cookies {
    background-color: transparent;
    border: 1px solid white;
}

/*              NAVBAR            */

@media (max-width: 768px) {
    body, html {
        /* width: 100%; */
        /* height: 100%; */
        overflow-x: hidden;
    }

    .navbar {
        display: none !important;
    }

    .navbar-mobile {
        display: flex !important;
    }

}
.navbar-mobile {
    display: none;
    position: fixed;
    /*background-color: rgba(0, 0, 0, 0.8);*/
    background-color: transparent;
    transition: background-color 0.4s ease;
    height: 12vh;
    z-index: 1000;
}
.navbar-mobile-logo {
    width: 24vw;
}
 .navbar-mobile-menu {
    width: 10vw;
}

 .navbar-mobile-spacing {
     /* gap: 40vw; */
 }

.navbar {
    display: flex;
    color: white;
    align-items: center;
    justify-content: space-between;
    padding: 3vh 10vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    font-size: 1.5rem;
    background-color: transparent;
    transition: background-color 0.4s ease;
}

.navbar-dark {
    color: black;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
}

.navbar-mobile.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
}

.navbar-section {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.navbar-section.center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-section.left {
    padding-left: 20px;
}

.navbar-section.right {
    padding-right: 20px;
}

.menu-overlay-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 999;
    font-weight: 300;
    /*justify-content: center;*/
    /*align-items: center;*/
}

.btn-brackets {
    display: inline-block;
    position: relative;
    padding: 0.5rem 2.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.6rem;
    transition: color 0.3s;
}

.btn-brackets::before,
.btn-brackets::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 15px;
    height: 60px;
    border: 2px solid #fff;
    transform: translateY(-50%);
}

.btn-brackets::before {
    left: 0;
    border-right: none;
    border-radius: 30px 0 0 30px;
}

.btn-brackets::after {
    right: 0;
    border-left: none;
    border-radius: 0 20px 20px 0;
}

.btn-brackets:hover {
    color: #7a7a7a;
}
.btn-brackets:hover::before,
.btn-brackets:hover::after {
    border-color: #7a7a7a;
}

.btn-brackets:hover {
    color: #7a7a7a;
}
.btn-brackets:hover::before,
.btn-brackets:hover::after {
    border-color: #7a7a7a;
}

.menu-overlay-content-mobile {
    margin-top: 15vh;
}

.ig-mobile-ov {
    width: 9vw;
    height: 100%;
}

.fb-mobile-ov {
    width: 5vw;
    height: 100%;
}

.icon-flag-mobile {
    width: 13vw;
    height: 100%;
}

.icon-flag-navbar {
    width: 30px !important;
}
.dropdown .dropdown-menu {
    min-width: 100% !important;
    width: 100%;
}

.dropdown-menu-dark {
    background-color: rgba(33, 37, 41, 0.5) !important;
    backdrop-filter: blur(4px) !important;
}

/* Ikonki i logo */
.icon {
    width: 24px;
    height: 24px;
}

.icon-menu {
    width: 45px;
    height: 15vh;
    padding-right: 0.5vw;
    overflow: visible;
}

.logo-center {
    width: 15vh;
}
/*ANIMACJA IKONKI MENU DESKTOP*/

.menu-icon .bar {
    transform-origin: center;
    transition: transform 0.4s ease, opacity 0.3s ease;
}


.menu-icon .top,
.menu-icon .bottom {
    transform: none;
}

.open .menu-icon .top {
    transform: rotate(90deg) translate(-5px, 0); /* obróć i przesuń lekko w lewo */
}

.open .menu-icon .bottom {
    opacity: 0;
    transform: scale(0.5);
}


/* Napisy */
.label {
    font-weight: 500;
    font-family: sans-serif;
    font-size: 1.3rem;
    padding-right: 1.5vw;
}

/*ANIMACJA IKONKI MOBILE */

.menu-icon-mobile .bar {
    transform-origin: center;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.menu-icon-mobile .top,
.menu-icon-mobile .bottom {
    transform: none;
}

.navbar-mobile-menu-div.open .menu-icon-mobile .top {
    transform: rotate(90deg) translate(-5px, 0);
}

.navbar-mobile-menu-div.open .menu-icon-mobile .bottom {
    opacity: 0;
    transform: scale(0.5);
}

.label-mobile {
    font-size: 1.3rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: inline-block;
}
.label-mobile.visible {
    opacity: 1;
}


/*   MENU DESKTOP */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 999;
    justify-content: center;
    align-items: center;
    /*opacity: 0;*/
    /*transition: opacity 0.3s ease;*/
}


.menu-overlay.show {
    display: flex;
    opacity: 1;
}

.menu-content {
    color: white;

}

.menu-content ul {
    list-style: none;
    padding: 0;
}

.menu-content li {
    margin: 20px 0;
}

.menu-content a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.made-by {
    margin-top: 5vh;
    margin-bottom: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 16px 0;
    font-size: 1rem;
    color: #bbb;
}

.logo2 {
    height: 28px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.menu-content a:hover {
    color: #ccc;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/*   HOMEPAGE   */

.section-home-main {
    position: relative;
    min-height: 110vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.change-language {
    color: rgba(210, 210, 210, 1) !important;
}

.section-home-main .bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    z-index: 0;
}

.section-home-main .home-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    pointer-events: none;
    z-index: 1;
}

.section-home-text{
    position: relative;
    z-index: 2;
    color: #fff;
}

.section-home-text {
    font-size: 2vw;
    text-align: left;
    margin-left: -35vw;
}

@media (max-width: 768px) {
    .section-home-text {
        font-size: 4vw;
        position: relative;
        top: 30vh;
        margin: 0;
    }

    .section-home-chevron {
        position: relative;
        width: 20px;
        top: 35vh !important;
    }

}

@media (max-width: 1200px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
}


.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    background-color: transparent !important;
    border: 2px solid white !important;
    opacity: 1;
    transition: background-color 0.3s, transform 0.2s;
}

.carousel-indicators .active {
    background-color: white !important;
    transform: scale(1.1);
}

.section-home-chevron {
    position: relative;
    width: 20px;
    top: 30vh;
    color: white;
    z-index: 99;
}

.section-story {
    min-height: 90vh;
    background-color: #000;
    color: #fff;
    padding: 40px;
    position: relative;
    overflow: hidden;
    gap: 10vw;
}

.section-story-text {
    flex: 1;
    max-width: 700px;
}

.section-story-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-story-description {
    font-size: 20px;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 30px;
    font-weight: 400;
}

.view {
    font-size: 20px;
}

.section-story-logo-center {
    width: 100%;
    max-width: 250px;
}

.section-story-view {
    font-size: 14px;
    font-weight: 400;
    gap: 0.5vw;
    cursor: pointer;
}

@media (max-width: 768px) {
    .section-story {
        flex-direction: column;
        padding: 20px;
        gap: 40px;
        text-align: center;
    }

    .section-story-logo {
        order: 0;
        display: flex;
        justify-content: center;
        max-width: 150px;
    }

    .section-story-text {
        order: 1;
        align-items: flex-start !important;
        flex: 0;
        padding: 30px;
    }

    .section-story-title,
    .section-story-description,
    .section-story-view {
        text-align: left !important;
    }

    .section-story-title {
        font-size: 1.5rem;
    }
    .section-story-description {
        font-size: 16px;
        margin-top: 1rem;
    }

    .section-story-logo {
        display: none;
    }
}



.section-how-it-works {
    display: flex;
    min-height: 75vh;
    width: 100vw;
    overflow: hidden;
}

.section-how-wrapper {
    flex: 1 1 50%;
    background: #000000;
    color: #fff;
    z-index: 2;
    display: flex;
    padding: 4vw;
}

.section-how-text {
    padding: 2vw;
}

.bracket-r {
    rotate: 180deg;
}

.section-how-logo {
    width: 100%;
    max-width: 250px;
}

.section-how-title {
    font-size: 3rem;
}

.section-how-it-works-content-mobile {
    display: none !important;
}

.section-how-it-works-image {
    flex: 1 1 55%;
    background:
        linear-gradient(to left, transparent 10%, #000000 100%),
        url('/assets/img/how_it_works.webp') center/cover no-repeat;
}

@media (max-width: 768px) {
    .section-how-logo {
        display: none;
    }

    .section-how-it-works {
        flex-direction: column;
        position: relative;
    }

    .section-how-wrapper {
        display: none;
    }

    .section-how-it-works-image {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        width: 100%;
        height: 100vh;
        position: relative;
        background:
            linear-gradient(to top, #000000 20%, transparent 80%),
            url('/assets/img/how_it_works.webp') center/cover no-repeat;
    }


    .section-how-title {
        font-size: 2rem;
    }

    .section-how-link {
        margin-top: 10px;
    }

    .section-how-it-works-content-mobile {
        display: flex !important;
        padding-left: 40px;
        padding-bottom: 20px;
    }

}

.image-section {
    width: 100%;
    height: 100vh;
}

/*.image-block {*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    min-height: 100vh;*/
/*    padding: 2rem;*/
/*}*/

.image-block {
    padding: 2rem;
    overflow: hidden;
    cursor: pointer;
}

@media (max-width: 768px) {
    .image-block {
        min-height: 50vh;
    }
}

.image-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transition: opacity .35s ease;
    z-index: 0;
    pointer-events: none;
}

.image-block.playing .image-video {
    opacity: 1;
}

.image-overlay {
    position: absolute;
    inset: 0;
    padding: 2rem;
    color: #fff;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.55));
}

/*.image-overlay {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    padding: 2rem;*/
/*    width: 100%;*/
/*    color: white;*/
/*}*/

.section-title {
    font-size: 1.8rem;
    margin-top: 5vh;
    margin-left: 2vw;
}

.section-link {
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.section-stories {
    background-color: white;
    color: black;
    padding: 30px;
}

.posts {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

footer {
    background-color: black;
    color: white;
}

footer ul{
    padding: 0;
    list-style: none !important;
}

.footer-menu-title {
    border-bottom-width: 2px !important;
}

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

@media screen and (max-width: 768px) {
    footer ul li {
        text-align: center
    }
    .footer-menu-title {
        display: flex;
        justify-content: center;
        width: 30% !important;
    }
}

.multimedia-section {
    background:
        linear-gradient(to top, #000000 5%, transparent 50%),
        url('/assets/img/multimedia/multimedia_bg.webp') center/cover no-repeat;
    height: auto;
}

.multimedia-tab {
    margin-top: 20vh;
}

.multimedia-tab-btn {
    cursor: pointer;
    transition: color 0.3s ease;
}

.active-tab {
    color: white !important;
}

.multimedia-tab-btn:not(.active-tab) {
    color: #c9c9c9;
}

.configurator-container {
    margin-top: 285px;
    height: auto;
}

.configurator-main-text {
    font-size: 4rem;
    font-weight: 500;
}

.categories {
    background:#000;
    padding: 1rem 0;
}

.categories .nav {
    gap: 1.5rem;
}

.categories .nav-link {
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0;
    font-size: 1.2rem;
}

.category-active {
    border-bottom: 1px solid #fff;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1.6rem;
    row-gap: 2rem;
}

.configurator-car-logo img {
    max-width: 3vw;
    height: 3vw;
    display: block;
    margin: 0 auto;
}

.configurator-car-logo img:hover {
    cursor: pointer;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.configurator-photo-main {
    background-blend-mode: multiply;
    background: linear-gradient(to bottom, #000000 5%, transparent 90%),
    linear-gradient(to top, #000000 2%, transparent 50%),
    url('/assets/img/configurator/configurator_main.webp') no-repeat 9% center ;
    height: 160vh;
}

.configurator-on-photo-text {
    font-size: 1.2rem;
}

.configurator-logo {
    width: 25vw;
    margin-left: 5vw;
    display: block;
    opacity: 50%;
}

.configurator-split-row {
    margin-top: -40vh;
}

.configurator-split-row .col-6:last-child {
    margin-left: -3rem;
}

.configurator-first-column {
    margin-top: 40vh;
    gap: 20vh;
}

.configurator-second-text-title{
    font-size: 1.8rem;
}

.configurator-second-text-content {
    font-size: 1.2rem;
}

.configurator-third-panel {
    margin-top: 100px;
}

.configurator-third-text {
    font-size: 2.4rem;
    text-align: center;
    z-index: 990 !important;
}

.configurator-third-split {
    margin-top: 20vh;
}

.configurator-third-split .col-6:first-child {
    margin-right: -5rem;
    position: relative;
    z-index: 2;
}

.configurator-third-photo {
    position: relative;
    z-index: 1;
    max-height: 100vh;
}

.configurator-footer {
    background: linear-gradient(to bottom, #000000 5%, transparent 90%),
    linear-gradient(to top, #000000 2%, transparent 50%),
    url('/assets/img/configurator/configurator_footer.webp') no-repeat 9% center ;
    height: 100vh;
    /*margin-top: 20vh;*/
}

.configurator-footer-text {
    margin-top: 200px;
    padding: 30px;
}

.see-more-logos {
    display: none;
}

.categories-mobile {
    display: none;
}
.configuration-space {
    display: none;
}

@media screen and (max-width: 768px) {

    .configurator-footer-text {
        margin-top: 200px;
        padding: 30px;
    }

    .configurator-photo-main .container,
    .configurator-photo-main .row,
    .configurator-first-column {
        height: auto !important;
    }
    .configuration-space {
        display: block;
        min-height: 550px;
    }
    .contact-space {
        display: block;
        min-height: 200px;
    }
    .configuration-space-bottom {
        min-height: 200px;
    }
    .configurator-photo-main {
        min-height: auto;
        padding-bottom: 2.5rem;
    }

    .configurator-split-row {
        margin-top: 1.25rem;
    }


    .configurator-main-text {
        font-size: 3rem;
        font-weight: 500;
    }

    .categories {
        display: none;
    }

    .icon-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(80px, 1fr));
        gap: 1.6rem;
        row-gap: 2rem;
        max-height: calc((10vw + 2rem) * 7);
        overflow: hidden;
    }

    .configurator-car-logo img {
        max-width: 10vw;
        height: 10vw;
        display: block;
        margin: 0 auto;
    }

    .see-more-logos {
        display: block;
        margin-bottom: 10vh;
    }

    .configurator-photo-main {
        background-blend-mode: multiply;
        background: linear-gradient(to bottom, #000000 5%, transparent 90%),
        linear-gradient(to top, #000000 2%, transparent 50%),
        url('/assets/img/configurator/configurator_main.webp') no-repeat 55% center ;
        /*height: 120vh;*/
    }

    .categories-mobile {
        display: block;
    }

    .configurator-logo {
        display: none;
    }

    .configurator-first-column {
        /*margin-top:15vh;*/
    }

    .configurator-on-photo-text {
        padding: 5vw;
    }

    .configurator-split-row {
        margin-top: -10px;
    }

    .configurator-third-panel {
        /*margin-top: 250px;*/
    }


    .configurator-third-photo {
        padding: 10vw;
    }
    .configurator-second-text {
        padding: 5vw;
    }
    .configurator-third-split {
        margin-top: 6vh;
    }

    .configurator-third-text {
        font-size: 1.5rem;
        margin-top: 10vh;
        text-align: start !important;
    }
}

.image-block { overflow: hidden; }
.image-block img,
.image-block .image-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* STYLE CO SELECTA */




/*KONIEC */

.configurator-form-section {
    background-blend-mode: multiply;
    background: linear-gradient(to top, #000000 2%, transparent 50%),
    url('/assets/img/configurator/configurator_bg.webp') no-repeat 55% center ;
    height: 52vh;
}

.configurator-elements {
    height: auto;
    padding-top: 40vh;
}

.form-car-logo {
    width: 5vw;
    height: 5vw;
}

.form-car-logo-wrapper {
    border-right: 2px solid white;
}

@media screen and (max-width: 768px) {
    .configurator-elements {
        height: auto;
        padding-top: 20vh;
        gap: 5vh;
    }
    .form-car-logo-wrapper {
        border: 0;
        padding-bottom: 10vh;
    }
    .configurator-form-section {
        /*margin-bottom: 45vh;*/
    }
    .form-car-logo {
        width: 15vw;
        height: 15vw;
    }
    .button-row {
        margin-top: 70vh;
    }
    .select-chevron {
        width: 3vw;
        margin-top: 2vh;
    }
    .configurator-form {
        /*margin-bottom: 50vh;*/
    }
}



.chart-section {
    height: 80vh;
    margin-top: 20vh;
}

.dyno-wrap {
    background:#000;
    padding: 24px;
}
#dynoChart {
    width: 100%;
    max-width: 1000px;
    height: 60vh;
    display: block;
    margin: 0 auto;
}

.gain-card {
    /*background-color: #000;*/
    /*color: #fff;*/
    /*padding: 20px;*/
    /*border-radius: 12px;*/
}

.gain-block {
    margin-bottom: 30px;
}

.gain-old {
    font-size: 1.5rem;
    opacity: 0.7;
}

.gain-new {
    font-size: 3rem;
    font-weight: 600;
}

.gain-diff {
    font-size: 1rem;
    opacity: 0.6;
}

.btn-appointment {
    background-color: #e5e5e5;
    color: #000;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 12px;
}

.btn-appointment:hover {
    background-color: #d0d0d0;
}

.post-thumbnail {
    object-fit: cover;
    height: 18vw;
}

@media (max-width: 768px) {
    .chart-section {
        margin-top: 15vh;
    }
    .dyno-wrap {
        padding: 12px;       /* ciaśniej na mobile */
    }
    #dynoChart {
        height: 45vh;        /* pełna szerokość, niższy canvas */
        max-width: none;     /* brak ograniczeń szerokości */
    }
    .model-select {
        font-size: 1.2rem !important;
    }
    .result-card {
        padding-left: 10vw;
        padding-top: 5vh;
    }
    .configurator-form-section {
        margin-bottom: 15vh;
    }

    .post-thumbnail {
        height: 250px !important;
    }

    .cookie-consent {
        flex-direction: column;
        gap: 1rem;
    }
    .accept-cookies, .decline-cookies {
        width: 100%;
        padding: 0.5rem;
    }
}

@media screen and (max-width: 768px) {
    .posts {
        grid-template-columns: 1fr;
    }
    .post-cat {
        display: none;
    }
    .text-configurator-first {
        margin-top: 1px;
    }
}

.dropdown > button {
    display: flex;
    align-items: center
}
.dropdown > button > img {
    margin-right: 0.2rem;
}

/*TESTY */

.configurator-form-section-two {
    background-blend-mode: multiply;
    height: 120vh;

    background-image: linear-gradient(to bottom, #000 10%, transparent 30%),
    linear-gradient(to top, #000 1%, transparent 10%),
    url('/assets/img/configurator/configurator_main.webp');

    background-repeat: no-repeat, no-repeat, no-repeat;

    background-position: center 0,
    center 100%,
    center center;

    background-size: 100% 30%,
    100% 12%,
    cover;
}

@media (min-width: 768px){
    .configurator-form-section-two{
        background-position:
            center 0,
            center 100%,
            9% center;
    }
}

.text-configurator-first {
    margin-top: 10vh;
}









