* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* outline: 1px solid red; */
}



    .gorka svg{
        display: none;
    }

    .category {
        width: 250px;
        height: 200px;
    }

    h3 {
        font-size: 18px;
    }





@keyframes scroll-brands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@font-face {
    font-family: "Mallory Compact";
    src: url("./assets/Mallory Compact Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Mallory Compact";
    src: url("./assets/Mallory Compact Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Display";
    src: url("./assets/SF-Pro-Display-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Display";
    src: url("./assets/SF-Pro-Display-Semibold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Outerion Regular";
    src: url("./assets/Outerion-Regular.otf") format("opentype");
}



.navbar {
    width: 100vw;
    height: 8vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background-color: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    transition: 
    background-color 0.5s ease,
    border-bottom 0.5s ease;
}

.navbar:hover,
.navbar.active {
    background-color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
     border-bottom: 2px solid rgba(0, 0, 0, 0.00);
}

.logo {
    height: 3rem;
    display: flex;
    align-items: left;
    cursor: pointer;
    transition: 0.3s;
}

.logo img {
    width: 100%;
    height: 100%;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    display: block;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-family: "SF Pro Display", sans-serif;
    font-size: 20px;
    font-weight: 600;
    padding: 8px 12px;
    transition: 0.5s;
    opacity: 0.8;
}

.menu a:hover {
    color: #CC2A33;
    opacity: 1;
}

.menu a.active {
    color: #CC2A33;
    opacity: 1;
}


.bike-badge {
    position: absolute;
    left: 50%;
    bottom: calc(2rem + 60px + 2rem);
    transform: translateX(-50%);

    z-index: 50;

    font-family: "SF Pro Display", sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.75);

    animation: floatBadge 3s ease-in-out infinite;
}


.bike {
    width: 100%;
    height: 90vh;
    padding-top: 8vh;
    position: relative;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
}


.bike img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}


.pop-menu {

    display: inline-flex; 
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    align-content: flex-start;
    column-gap: 3rem;
    row-gap: 1rem;

    position: fixed;
    top: 8vh;
    left: 0;
    width: 100vw;
    height: 50vh;
    
    background: rgba(255, 255, 255, 1); 
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.6s ease, 
                visibility 0.6s;
}

.pop-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.pop-menu a {
    text-decoration: none;
    color: black;
}


.category {
    width: 350px;
    height: 275px;
    text-align: center;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    display: flex;
    transition: transform 0.5s;
    flex-shrink: 0;
}

.category img {
    filter: none;
}

.category:hover {
    transform: scale(1.10);
    border-radius: 30px;
}

.category:hover .tekst {
    color: #CC2A33;
    transition: color 0.5s, transform 0.5s;
}

.category .tekst {
    padding-bottom: 0rem;
    margin-bottom: 0.5rem;
    padding-top: 0;
}

h3 {
    font-family: "Mallory Compact", sans-serif;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    display: inline;
}


.gorka {
    --max-shape-h: 338.7;
    width: min(100%, 48.75rem);
    max-width: 100%;
    height: min(45vh, 23rem);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.1rem;
    overflow: hidden;
    background: transparent;
    flex-shrink: 0;
    flex-basis: 100%;
    margin-inline: auto;
    transform: scale(0.90);
    transform-origin: center bottom;
}

.gorka svg {
    display: block;
    width: 100%;
    height: 100%;
}

.gorka div {
    height: calc(var(--shape-h) / var(--max-shape-h) * 100%);
    aspect-ratio: var(--shape-w) / var(--shape-h);
    display: flex;
    align-items: flex-end;
    align-self: flex-end;
    flex-shrink: 0;
    position: relative;
    margin-right: 0;
}

.gr {
    --shape-w: 291.7;
    --shape-h: 74.5;
}

.di {
    --shape-w: 79.9;
    --shape-h: 118.6;
}

.tr {
    --shape-w: 83.1;
    --shape-h: 191.2;
}

.free {
    --shape-w: 92.5;
    --shape-h: 258.4;
}

.end {
    --shape-w: 91.6;
    --shape-h: 337.8;
}

.down {
    --shape-w: 247.3;
    --shape-h: 338.7;
}

.mini-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-inline: auto;
}

.mini-gravel, .mini-dirt, .mini-trail, .mini-freeride, .mini-enduro, .mini-downhill {
    min-width: 4rem;
    padding: 0.50rem;
    padding-left: 2rem;
    padding-right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #cc2a33;
    border-radius: 30px;
    color: black;
    font-family: "SF Pro Display", sans-serif;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
}

.mini-nav-item.active {
    background: #CC2A33;
    color: #ffffff;
    transition: transform 0.5s ease, background-color 0.5s ease, color 0.5s ease;
}

.fill-downhill { 
    fill: #C4C4C4;
        fill-opacity: 1;
    transition: all 0.5s ease; }

.fill-enduro { 
    fill: #A8A8A8;
        fill-opacity: 1;
        stroke-opacity: 0.5;
    transition: all 0.5s ease; }

.fill-freeride { 
    fill: #8A8A8A;
        fill-opacity: 1;
    transition: all 0.5s ease; }

.fill-trail { 
    fill: #6A6A6A;
        fill-opacity: 1;
    transition: all 0.5s ease; }

.fill-dirt { 
    fill: #4A4A4A;
         fill-opacity: 1;
    transition: all 0.5s ease; }
    
.fill-gravel { 
fill: #2B2B2B;
        fill-opacity: 1;
    transition: all 0.5s ease; 
}

.pop-menu:has(.mini-gravel:hover) .fill-gravel, .pop-menu:has(.mini-gravel.active) .fill-gravel { fill: #E59599; fill-opacity: 1; stroke-width: 1.5px;}
.pop-menu:has(.mini-dirt:hover) .fill-dirt, .pop-menu:has(.mini-dirt.active) .fill-dirt { fill: #E59599; fill-opacity: 1; stroke-width: 1.5px;}
.pop-menu:has(.mini-trail:hover) .fill-trail, .pop-menu:has(.mini-trail.active) .fill-trail { fill: #E59599; fill-opacity: 1; stroke-width: 1.5px;}
.pop-menu:has(.mini-freeride:hover) .fill-freeride, .pop-menu:has(.mini-freeride.active) .fill-freeride { fill: #E59599; fill-opacity: 1; stroke-width: 1.5px; }
.pop-menu:has(.mini-enduro:hover) .fill-enduro, .pop-menu:has(.mini-enduro.active) .fill-enduro { fill: #E59599; fill-opacity: 1; stroke-width: 1.5px;}
.pop-menu:has(.mini-downhill:hover) .fill-downhill, .pop-menu:has(.mini-downhill.active) .fill-downhill { fill: #E59599; fill-opacity: 1; stroke-width: 1.5px;}


.mini2 {
    display: inline-flex; 
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: center;
    column-gap: 3rem;
    row-gap: 1rem;

    position: fixed;
    top: 58vh;
    left: 0;
    width: 100vw;
    height: 50vh;
    overflow: hidden;
    
    background: rgba(224, 224, 224, 0.80); 
    z-index: 999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-12%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.8s ease,
                visibility 0.8s;
}

.mini2.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pop-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 998;
    pointer-events: none;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.pop-blur.active {
    opacity: 1;
    visibility: visible;
}


.trail-class,
.downhill-class,
.enduro-class,
.freeride-class,
.dirt-class,
.gravel-class {
    display: flex;
    position: absolute;
    inset: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.trail-class.active,
.downhill-class.active,
.enduro-class.active,
.freeride-class.active,
.dirt-class.active,
.gravel-class.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.tyee-link, .hd6-link, .dread-link, .rage-link, .v10-link, .spindrift-link, .insurgent-link, .hugene-link, .reya-link, .trick-link, .faction-link, .terrel-link {
    
    display: block;
    position: relative;
    width: 22vw;
    height: 15vw;
    margin-bottom: 8rem;
    text-decoration: none;
    color: inherit;
}

.tyee, .hd6, .dread, .rage, .v10, .spindrift, .insurgent, .hugene, .reya, .trick, .faction, .terrel {

position: relative;
width: 100%;
height: 100%;
background: #F5F5F7;
align-items: center;
display: flex;
justify-content: center;

border: 2px solid rgba(147, 147, 147, 0.5);
border-radius: 20px;
transition: border-color 0.5s ease, color 0.5s ease;
transition: background-color 0.3s ease 0.5s ease;

}


.mini-rower img {
    height: 80%;
    width: auto;
}





.tyee:hover,
.hd6:hover,
.dread:hover,
.rage:hover,
.v10:hover,
.spindrift:hover,
.insurgent:hover,
.hugene:hover,
.reya:hover,
.trick:hover,
.faction:hover,
.terrel:hover {
    
    border: 2px solid rgba(147, 147, 147, 1);
    background: #f0f0f0ee;
    
}



.mini-rower {

position: absolute;
width: 22vw;
height: 15vw;
left: 50%;
top: calc((100% - 45px) / 2);
transform: translate(-50%, -50%);
display: flex;
justify-content: center;
align-items: center;


}

.rower-name {
position: absolute;
width: 100%;
height: 45px;
left: 0;
bottom: 0;
display: flex;

background: #FFFFFF;
border-radius: 0px 0px 20px 20px;

align-items: center;
justify-content: flex-start;
padding-left: 1rem;
padding-right: 1rem;
transition: background-color 0.3s ease, color 0.3s ease;

}

.producent img {
    width: 100%;
    height: auto;
}

.producent {
    position: static;
    top: auto;
    left: auto;
    margin-left: auto;
    width: 110px;
    height: 35px;
    display: flex;
    align-items: center;
}


.producent-box {
    position: static;
    top: auto;
    left: auto;
    margin-left: auto;
    margin-right: -1.25rem;
    width: 110px;
    height: 35px;
    display: flex;
    align-items: center;
}


h4  {
    
    font-family: "Mallory Compact", sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    display: inline;

}


.kolory-wrapper {
    display: flex;
    gap: 3px;
    justify-content: center;
    align-items: center;
    padding-left: 0.5rem;
}

.kolor {
    border-radius: 50%;
    height: 20px;
    width: 20px;
    background: #768693;
    flex-shrink: 0;
    margin-top: 0;
}

.kolor:nth-child(2) {
    background: #042B2B;
}

.kolor:nth-child(3) {
    background: #B07D83;
}

.hd6 .kolor:nth-child(1) {
    background: #042B2B;
}

.hd6 .kolor:nth-child(2) {
    background: #EC6C24;
}

.hd6 .kolor:nth-child(3) {
    background: #9693D4;
}

.dread .kolor:nth-child(1) {
   background: linear-gradient(to bottom, #61BF1A, #5B7D52);
}

.dread .kolor:nth-child(2) {
    background: linear-gradient(to bottom, #d5cb9f, #CBCFC9);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.v10 .kolor:nth-child(1) {
    background: #053B7E;
}

.v10 .kolor:nth-child(2) {
    background: #45452A;
}

.rage .kolor:nth-child(1) {
    background: whitesmoke;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.rage .kolor:nth-child(2) {
    background:black;
}

.spindrift .kolor:nth-child(1) {
    background:#4C0001;
}

.spindrift .kolor:nth-child(2) {
    background:#355446;
}

.spindrift .kolor:nth-child(3) {
    background: rgb(39, 39, 39);
}

.insurgent .kolor:nth-child(1) {
    background: #1d2028;
}

.reya .kolor:nth-child(1) {
    background: linear-gradient(to bottom, #C59232, #4D4E3E);
}

.reya .kolor:nth-child(2) {
    background: #DFE0E2;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.hugene .kolor:nth-child(1) {
    background: #764242;
}


.hugene .kolor:nth-child(2) {
    background: #937F81;
}

.hugene .kolor:nth-child(3) {
    background: #454545;
}

.trick .kolor:nth-child(1) {
    background: #C68874;
}

.faction .kolor:nth-child(1) {
    background: #bec8b2;
}

.faction .kolor:nth-child(2) {
    background: #61665b;
}

.terrel .kolor:nth-child(1) {
   background: #B74F0D; 
}

.terrel .kolor:nth-child(2) {
   background: #636A62; 
}

.about {
    width: 100%;
    height: 90vh;
    background-color: #F5F5F7;
    display: flex;
    justify-content: center;
    align-items: left;
}

.foty {
    display: flex;
    width: 60vw;
    justify-content: space-evenly;
    align-items: center;
    background: #000;
    height: 90vh;
    flex-direction: row;
    flex-wrap: nowrap;
}

.foto {
    height: 90vh;
    width: 30vw;
    object-fit: cover;
}

.foto img {
    width: 30vw;
    height: 90vh;
    object-fit: cover;
}

.brands {
    width: 100%;
    overflow: hidden;
    background: #F5F5F7;
    padding: 2rem 0;
}

.brands-track {
    display: flex;
    width: max-content;
    gap: 4rem;
    animation: scroll-brands 20s linear infinite;
}

.brands-track img {
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.brands-track img:hover {
    opacity: 1;
}



.info {
    width: 50vw;
    height: 90vh;
    background: #F5F5F7;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-left: 2px solid rgba(0, 0, 0, 0.15);
}

h1 {
    font-family: "Mallory Compact", sans-serif;
    font-size: 52px;
    font-weight: 900;
    text-align: center;
    padding-top: 1em;
}

.tekst {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;
    font-size: 22px;
    padding: 2rem;
    line-height: 150%;
    margin-bottom: 0.5rem;
    margin-left: 5rem;
    margin-right: 5rem;
}

.tekst p {
    margin-bottom: 1rem;
}

.bike .cta {
     background: none;
     color: white;
     background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);

}





.cta {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #cc2a33;
    color: rgb(0, 0, 0);
    background: white;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 22px;
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;

    text-decoration: none;
    border-radius: 60px;
    min-width: 200px;
    margin-bottom: 1em;
    transition: transform 0.5s ease, background-color 0.5s ease, color 0.5s ease;
}

.cta:hover {
    background: #cc2a33;
    color: rgb(255, 255, 255);
}

/* Position CTA inside .bike 2rem from bottom */
.bike .cta {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2rem;
    z-index: 50;
}



.contact {
    width: 100%;
    height: 90vh;
    background-color: #F5F5F7;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-bike {
    width: 60vw;
    height: 90vh;
    overflow: hidden;
    border-top: 2px solid rgba(0, 0, 0, 0.15);
}




.contakten h1 {
    font-family: "Mallory Compact", sans-serif;
    font-size: 52px;
    font-weight: 900;
    text-align: center;
    padding-top: 1rem;
}


.contact-bike img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-bike-link {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-bike-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.5s ease;
}

.contact-bike-link:hover img {
    filter: brightness(1.20);
}

.contakten {
    background: #F5F5F7;
    width: 40vw;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-right: 2px solid rgba(0, 0, 0, 0.15);
    border-top: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
    margin-left: 0;
}

.dane {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;
    font-size: 24px;
    margin-top: 1em;
    padding: 0.5rem 1rem;
    text-align: center;
}

.dane p {
    margin-bottom: 1rem;
}

footer {
    width: 100%;
    height: 45vh;
    align-items: center;
    flex-direction: column;
    text-align: center;
    display: flex;
    border-top: 2px solid rgba(0, 0, 0, 0.15);
    justify-content: center;
    padding: 4rem 2rem;
    background-color: #ffffff;
    gap: 1rem;
}

.newsletter-form:focus-within {
    border-color: #cc2a33;
}


.newsletter-form:focus {
    border-color: #cc2a33;
}

.newsletter {
    display: flex;
    gap: 2rem;
    align-items: baseline;
    margin-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.newsletter-form {
    background: #ffffff; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 100px;
    width: 100%;
    max-width: 600px;
    border: none;
    border: 2px solid #C2C2C2;
    padding-bottom: 0.2rem;
    padding-top: 0.2rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
       
    transition: border-color 0.3s ease;
}

.email-input {
    background: #ffffff;
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #999999;
    border: none;
    outline: none;
    border-radius: 100px;
    flex-grow: 1;
    padding: 0.6rem 1.5rem;
}

.email-input::placeholder {
    color: #999999;
}


.site-map {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.site-map a {
    color: black;
    text-decoration: none;
    font-family: "SF Pro Display", sans-serif;
    font-size: 20px;
    font-weight: 600;
    opacity: 0.7;
    transition: color 0.5s ease, opacity 0.5s ease;
}

.site-map a:hover {
    color: #CC2A33;
    opacity: 1;
    
}

.disclaimer {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 0.5rem;
    max-width: 850px;
    text-align: justify;
}

#myMap {
    width: 90%;
    height: 50vh;
    margin-top: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    z-index: 1;
}

.dane a {
    display: inline-block;
    color: #CC2A33;
    text-decoration: none;
    font-family: "SF Pro Display", sans-serif;
    font-weight: 600;
    transition: color 0.5s, transform 0.5s;
    padding: 0.25em;
    position: relative;
    z-index: 1;
}

.dane a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #CC2A33;
    transition: width 0.5s;
    z-index: -1;
}

.dane a:hover {
    color: white;
}

.dane a:hover::before {
    width: 100%;
}

