/*@font-face {*/
/*    font-family: "kmotor";*/
/*    src: url("../iconfont/kmotor.eot?bwd7qy");*/
/*    src: url("../iconfont/kmotor.eot?bwd7qy#iefix") format("embedded-opentype"), url("../iconfont/kmotor.ttf?bwd7qy") format("truetype"), url("../iconfont/kmotor.woff?bwd7qy") format("woff"), url("../iconfont/kmotor.svg?bwd7qy#kmotor") format("svg");*/
/*    font-weight: normal;*/
/*    font-style: normal;*/
/*    font-display: block;*/
/*}*/



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    font-size: 10px;
    height: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Barlow Condensed", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
}

a{
    color: #000;
    text-decoration: none;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(0,0,0,0.8);
    padding: 10px;
    border-radius: 5px;
}

.language-selector select {
    background: transparent;
    color: white;
    border: 1px solid #ff6b35;
    padding: 5px;
    border-radius: 3px;
    cursor: pointer;
}

/* Loading indicator */
.loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.container{
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Section */
.header {
    background-size: cover;
    background-position: center;
    min-height: 980px;
    /*display: flex;*/
    /*align-items: center;*/
    position: relative;
    color: white;
}

.header-content {
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    width: 100%;
    gap:20px;
    padding-top: 85px;
}


.header-wrap-title{
    align-self: end;
    margin-bottom: 75px;
}

.header-wrap-title,.pump-image {
    flex: 1 1 50%;

}

.pump-image{
    text-align: right;
    z-index: 2;
}

.pump-image img {
    max-width: 550px;
    height: auto;
    /*filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));*/
    position: relative;
    top: 320px;
    right: -40px;
}

.site-header__main-logo{
    width: 81px;
    height: 82px;
    border:0;

}

.logo-section {
    position: absolute;
}

.logo {
    width: 81px;
    height: 82px;

    padding-top:42px;
    padding-left: 54px;

    box-sizing: content-box;

}

.header{
    background-image: url("../img/header_bg.png");
    background-size: cover;
    background-position: top center;
    background-color:#000;
}

.header-title {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;



    font-size: 10rem;
    margin-bottom: 10px;
    /*text-shadow: 2px 2px 4px rgba(0,0,0,0.5);*/
}

.header-subtitle {
    font-size: 3rem;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;

}



/* Main Content */
.main-content {
    padding-top: 80px;
    padding-right: 20px;
    padding-bottom: 0px;
    padding-left: 20px;
    text-align: center;
    color: white;

    position: relative;
    z-index: 1;

    background: #d87028; /* fallback */
    background: -ms-linear-gradient(top, #d87028, #d46a26); /* IE 10 */
    background: linear-gradient(to bottom, #d87028, #d46a26); /* modern */
}

.harley-logo {
    width: 168px;
    height: 168px;
    background: #d87028;
    /*border: 2px solid white;*/
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    margin-bottom:94px;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0.9;
    color:#860303;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.main-title {
    font-size: 7.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
}

.description {
    font-size: 2.6rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    max-width: 1174px;
    margin-top: 70px;
    margin-bottom: 80px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.85;
}

.description a{
    color:white;
}

/* Products Section */
.products {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.product-card {
    /*background: white;*/
    color: #333;
    border-radius: 50px;
    /*padding: 30px;*/
    flex: 1;
    min-width: 400px;
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.2);*/


    display: flex;
    flex-direction: column;  /* Uspořádání položek vertikálně */
    /*height: 100%;*/
}

.product-info{
    flex-grow: 1;
}

.product-image {
    text-align: center;
    margin-bottom: 30px;
    background: #D0651C;
    border-radius: 50px;
    width: 100%;

    max-width:680px;
    max-height:680px;
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

}

/*img.product1{*/
/*    width: 446px;*/
/*    height: 610px;*/
/*    padding: 20px;*/

/*}*/

/*img.product24{*/
/*    width: 446px;*/
/*    height: 610px;*/
/*    padding: 20px;*/

/*}*/

.product-image img.product{
    max-width: 90%;
    max-height: 90%;
    z-index: 1;
}

.product-image img.union{
    position: absolute;
    left: 0;
    z-index: 0;
    bottom: 10%;
    width: 18%;
}



.product-code {
    font-size: 3.0rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #860303;
    text-align: left;
}

.product-oe {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: left;
    line-height: 36px;
}

.product-specs {
    text-align: left;
    margin-bottom: 30px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 23px 0;
    /*border-bottom: 1px solid #eee;*/
}

.spec-label {
    font-weight: bold;
    color: #860303;
    flex: 1;
    max-width: 150px;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.spec-value {
    color: #fff;
    flex: 1;
    text-align: left;
}

.buy-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 18px 45px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 2rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); */
    position: relative;
    overflow: hidden;
    float: left;
    max-width: 280px;
    margin-top: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: space-around;

}
.buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.buy-button:hover::before {
    left: 100%;
}

.buy-button:hover {
    background-color: #860303;
    transform: translateY(-3px);
    /*box-shadow: 0 12px 35px rgba(139, 44, 10, 0.4);*/
}

.button-arrow {
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.button-arrow::before {
    content: '→';
    display: inline-block;
    transition: transform 0.3s ease;
}

.buy-button:hover .button-arrow::before {
    transform: scaleX(1.8);
}

.buy-button:hover .button-arrow {
    transform: translateX(5px);
}


/* Footer */
.footer {
background-color:#000000;
    /*background-size: contain;*/
    /*height: 764px;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    color: white;
    position: relative;
    width: 100%;
}

.footer-image,.footer-image img {
    width:100%;
}

.footer-content {
    text-align: left;
    position: absolute;

    font-family: "Inter", sans-serif;
    font-size: 1.6rem;
    line-height: 2rem;
    bottom:5rem;
    left:6rem;

}

.footer-content a{
    color:white;
    text-decoration: none;
}



.hide{
    display: none;
}

.vector-logo{
    width:81px;
    height: 82px;
    display: block;
}

.icon-logo{
    font-size: 7.7rem;
    margin-right: 2rem;
    font-family: kmotor !important;
    speak: never;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-logo:before {
    content: "\e901";
    color: #ffffff;
}

html[dir='rtl'] .custom-select{
    left: 60px !important;
    right: auto !important;
}



.custom-select {
    position: fixed;
    display: inline-block;
    width: 90px;
    height: 60px;
    margin-bottom: 30px;
    top: 53px;
    z-index: 9;
    right: 60px;

}

.select-display {
    background-color: #1a1a1a;
    /*border: 2px solid #b40b04;*/
    border:0;
    border-radius: 50px;
    padding: 15px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.select-display:hover {
    background-color: #2a2a2a;
   border:0;
}

.selected-language {
    display: flex;
    align-items: center;
}

.flag-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    /*margin-right: 12px;*/
    object-fit: cover;
    flex-shrink: 0;
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.2);*/
}

.language-info {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
}

.language-native {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
}

.language-international {
    color: #bbb;
    font-size: 0.8rem;
    line-height: 1.2;
}

.chevron {
    color: white;
    font-size: 3rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.select-dropdown {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    /*border: 2px solid #b40b04;*/
    border:0;
    border-top: none;
    border-radius: 0 0 25px 25px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
}

.select-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-option {
    padding: 15px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.select-option:hover {
    background-color: #2a2a2a;
}

.select-option:last-child {
    border-radius: 0 0 23px 23px;
    border-bottom: none;
}

.custom-select.open {
    width: 280px;
}

.custom-select.open .select-display {
    border-radius: 25px 25px 0 0;
}

.loading {
    color: white;
    text-align: center;
    padding: 20px;
}

.error {
    color: #ff6b6b;
    text-align: center;
    padding: 20px;
    background: rgba(255,0,0,0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Scrollbar styling */
.select-dropdown::-webkit-scrollbar {
    width: 6px;
}

.select-dropdown::-webkit-scrollbar-track {
    background: #2a2a2a;
}

.select-dropdown::-webkit-scrollbar-thumb {
    background: #b40b04;
    border-radius: 3px;
}

.info-panel {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    color: white;
    max-width: 500px;
    text-align: center;
}

.info-panel h3 {
    margin-top: 0;
    color: #b40b04;
}


.language-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    color: white;
    font-size: 1.1rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid #00bfff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.language-loading {
    pointer-events: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.logo_quality{
    width: 254px;
    height: 254px;
    object-fit: cover;
    object-position: center;
    position: absolute;
    bottom: -152px;
    /* bottom: 221px; */
    z-index: 2;
    /* color: red; */
    left: 285px;
}



/* Nebo pomocí container queries (nové) */
@media (max-width: 768px) {
    .container{
        width:100%;
        padding:20px;
    }
    .pump-image img{
        width: 100%;
        top: 0;
        right: 0;
    }

    .custom-select {
        top: 20px;
        right: 20px;
    }

    .logo {
        padding-top: 20px;
        padding-left: 20px;
    }
    .header{
        background-position-y: top !important;
        background-position-x: -500px;
        height: 723px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-title {
        font-size: 6.5rem;
        margin-top: 20rem;
    }
 .header-subtitle {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .main-content {
        padding-left: 0;
        padding-right: 0;
    }
    .description {
        font-size: 2rem;
        margin-top: 50px;

    }

     .footer-image img {
         width: 320%;
         position: relative;
         left: -110%;
    }

    .footer-image{
        overflow: hidden;
    }

    .main-title {
        font-size: 4rem;
    }

    .products {
        flex-direction: column;
        flex-wrap: nowrap;

    }

    .product-card {
        min-width: auto;
        max-width: 100%;
    }

    .spec-row {
        flex-direction: column;
    }

    .spec-value {
        text-align: left;
        margin-top: 5px;
    }

    .buy-button{
        width: 100%;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .logo_quality{
        width: 79px;
        height: 79px;

        bottom: 340px;
        right: 40px;
        z-index: 2;
    }

    .harley-logo{
margin-top: 330px;
        max-width: 100%;
    }

    .header-wrap-title{
        width: 100%;
    }
}

@media (max-width: 300px){
    .harley-logo{
        max-width: 100%;
      margin-top:50px;
    }
}
@media (max-width: 500px){
    .harley-logo{
        max-width: 100%;
      margin-top:190px;
    }
}
@media (max-width: 1100px){

.pump-image img{
    width: 100%;
    top: 0;
    right: 0;
}
.header-content{
    padding-top: 185px;
}
}