* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width:1200px) {
    .pierwsza-linia, .druga-linia {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
    }

    .gorka svg{
        display: none;
    }

    .category {
        width: 250px;
        height: 200px;
    }

    h3 {
        font-size: 18px;
    }

}

@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: "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: 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);
}

.logo {
    height: 3rem;
    display: flex;
    align-items: left;
}

.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.7;
}

.menu a:hover {
    color: #CC2A33;
    opacity: 1;
    transform: scale(1.05);
}

.menu a.active {
    color: #CC2A33;
    opacity: 1;
    transform: scale(1.05);
}


.bike {
    width: 100%;
    height: 100vh;
    padding-top: 8vh;
    position: relative;
}

.bike img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: brightness(0.75);
}


.pop-menu {

    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;

    position: fixed;
    top: 8vh;
    left: 0;
    width: 100vw;
    height: 80vh;
    
    background: rgba(255, 255, 255, 0.80); 
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-50px); 
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s ease, 
                visibility 0.4s;
}

.pop-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.pop-menu a {
    text-decoration: none;
    color: black;
}

.pierwsza-linia {
    display: flex;
    gap: 5rem;
    flex-shrink: 0; 
}

.druga-linia {
    display: flex;
    align-items: center;
    gap: 5rem;
    position: relative;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.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 {
    width: 780px;
    height: 275px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: hidden;
    background: transparent;
    flex-shrink: 0;
}

.gorka svg {
    display: block;
    width: 100%;
    height: 100%;
    shape-rendering: geometricPrecision; 
}

.gorka div {
    height: 100%;
    flex-shrink: 0;
    position: relative;
    margin-right: -1px;
}

.down, .end, .free, .tr {
    width: 92px;
}

.di {
    width: 105px;
}

.gr {
    width: 197px;
}


.fill-downhill { 
    fill: #d7bbbb; 
    fill-opacity: 0.6; 
    stroke: #cc2a33; 
    stroke-width: 1.5px; 
    transition: all 0.5s ease; }

.fill-enduro { 
    fill: #DB99A8; 
    fill-opacity: 0.6; 
    stroke: #cc2a33; 
    stroke-width: 1.5px; 
    transition: all 0.5s ease; }

.fill-freeride { 
    fill: #DE7794; 
    fill-opacity: 0.6; 
    stroke: #cc2a33; 
    stroke-width: 1.5px; 
    transition: all 0.5s ease; }

.fill-trail { 
    fill: #DA647C; 
    fill-opacity: 0.6; 
    stroke: #cc2a33; 
    stroke-width: 1.5px; 
    transition: all 0.5s ease; }

.fill-dirt { 
    fill: #D55164; 
    fill-opacity: 0.6; 
    stroke: #cc2a33; 
    stroke-width: 1.5px; 
    transition: all 0.5s ease; }
    
.fill-gravel { 
    fill: #CC2A33; 
    fill-opacity: 0.6; 
    stroke: #cc2a33; 
    stroke-width: 1.5px; 
    transition: all 0.5s ease; }


.pop-menu:has(.rage:hover) .fill-downhill { fill: #CC2A33; fill-opacity: 1; }
.pop-menu:has(.tyee:hover) .fill-enduro { fill: #CC2A33; fill-opacity: 1; }
.pop-menu:has(.spindrift:hover) .fill-freeride { fill: #CC2A33; fill-opacity: 1; }
.pop-menu:has(.hugene:hover) .fill-trail { fill: #CC2A33; fill-opacity: 1; }
.pop-menu:has(.trickshot:hover) .fill-dirt { fill: #CC2A33; fill-opacity: 1; }
.pop-menu:has(.terrel:hover) .fill-gravel { fill: #CC2A33; fill-opacity: 1; }

.about {
    width: 100%;
    height: 100vh;
    background-color: #F5F5F7;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 3em;
    gap: 3rem;
}

.foty {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 690px;
    justify-content: space-evenly;
    align-items: center;
}

.foto {
    width: 330px;
    height: 410px;
    background: #b6b6b6;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foto:nth-child(3) {
    width: 680px;
    height: 330px;
}

.info {
    width: 515px;
    min-height: 760px;
    background: white;
    border-radius: 30px;
    gap: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

h1 {
    font-family: "Mallory Compact", sans-serif;
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    padding-top: 1em;
}

.tekst {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;
    font-size: 20px;
    padding: 2rem;
    line-height: 150%;
    margin-bottom: 0.5rem;
}

.tekst p {
    margin-bottom: 1rem;
}

.cta {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #CC2A33;
    color: white;
    padding: 1rem;
    font-size: 20px;
    font-family: "SF Pro Display", sans-serif;
    text-decoration: none;
    border-radius: 30px;
    min-width: 200px;
    margin-bottom: 1em;
    transition: transform 0.5s ease, background-color 0.5s ease, color 0.5s ease;
}

.cta:hover {
    background: #F4F0E2;
    color: black;
    transform: scale(1.05);
}



.cta:hover {
    background: #F4F0E2;
    color: black;
}


.contact {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.contact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("assets/contact.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    z-index: -1;
}

.contakten {
    background: white;
    border-radius: 30px;
    width: 520px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin-left: 8vw;
}

.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: 40vh;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    text-align: center;
    display: flex;
}

.newsletter {
    display: flex;
    gap: 2rem;
    align-items: baseline;
    justify-content: center;
    margin-top: 2rem;
}

.email {
    background: #F9F9F9;
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #C2C2C2;
    padding: 1rem;
    border-radius: 15px;
    border: 2px solid #C2C2C2;
    width: 600px;
    text-align: left;
}

.site-map {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 2rem;
}

.site-map a {
    color: black;
    text-decoration: none;
    font-family: "SF Pro Display", sans-serif;
    font-size: 20px;
    font-weight: 600;
    opacity: 0.7;
}

.site-map a:hover {
    color: #CC2A33;
    opacity: 1;
    transform: scale(1.05);
}

.disclaimer {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;
    font-size: 16px;
    padding: 2rem;
    line-height: 150%;
    margin-bottom: 0.5rem;
    max-width: 850px;
    text-align: justify;
}

@media (max-width:768px) {
    .navbar {
        padding: 0 20px;
        height: 6vh;
    }

    .menu a {
        font-size: 14px;
    }

    .pierwsza-linia, .druga-linia {
        gap: 1rem;
    }

    .category {
        width: 200px;
        height: 150px;
    }

    h3 {
        font-size: 16px;
    }

    .pop-menu {
        gap: 2rem;
    }

    .disclaimer {
        font-size: 14px;
        padding: 1rem;
    }
}