:root {
    --primary-color: #0E3A2F;
    --secondary-color: #78FAAE;
    --bg-color: #464647;
    --white-color: #fff;
}

@font-face{
    font-family:"Skoda-bold";
    src:url("../fonts/SKODANextW05-Bold.woff2") format("woff2"),url("../fonts/SKODANextW05-Bold.woff") format("woff");
}

@font-face{
    font-family:"Skoda-regular";
    src:url("../fonts/SKODANextW05-Regular.woff2") format("woff2"),url("../fonts/SKODANextW05-Regular.woff") format("woff");
}

@font-face{
    font-family:"Skoda-italic";
    src:url("../fonts/SKODANextW05-Italic.woff2") format("woff2"),url("../fonts/SKODANextW05-Italic.woff") format("woff");
}

@font-face{
    font-family:"Skoda-light";
    src:url("../fonts/SKODANextW05-Light.woff2") format("woff2"),url("../fonts/SKODANextW05-Light.woff") format("woff");
}

@font-face{
    font-family:"Skoda-thin";
    src:url("../fonts/SKODANextW05-Thin.woff2") format("woff2"),url("../fonts/SKODANextW05-Thin.woff") format("woff");
}

a {
    text-decoration: none;
}

.font-light {
    font-family: "Skoda-light";
}

.font-thin {
    font-family: "Skoda-thin";
}

body {
    font-family:"Skoda-regular";
    background-color: #000;
    margin: 0;
    overflow-x: hidden;
}

html, body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

header {
    height: 340px;
    width: 100vw;
    background-color: #fff;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-left: 110px;
    margin-right: 110px;
    width: calc(100vw - 220px);
}

.navigation.detail {
    justify-content: space-between;
}

.navigation.detail .visual-button {
    text-align: center;    
}

.nav-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 60px;
}

.nav-button img {
    height: 80px;
    width: auto;
}

.leftTitle {
    display: flex;
    align-items: center;
    gap: 60px;
}

.separator {
    font-size: 84px;
    color: var(--secondary-color);
    font-weight: 300;
    padding-right: 20px;
}

.page-title {
    font-size: 64px;
    color: var(--secondary-color);
    font-weight: 300;
    font-family: "Skoda-light";
}

.logo {
    height: 78px;
}

.lang {
    display: flex;
    gap: 20px;
}

.lang a {
    text-decoration: none;
    font-size: 56px;
    color: var(--primary-color);
    font-family: "Skoda-thin";
}

.lang a.active {
    font-weight: bold;
    font-family: "Skoda-bold";
}

.container {
    width: calc(100vw - 220px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 110px;
}

.container.after {
    background-color: var(--primary-color);
    height: 180px;
    display: flex;
    align-items: center;
    padding: 0;
    position: fixed;
    top: 340px;
    left: 0;
    width: auto;
    z-index: 900;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

section#visual {
    height: 1150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 150px;
    position: relative;
}

section#visual.HP {
    background-image: url(../img/hp-skoda-fabia-rs-rally2-2160x1150.jpg);
    margin-top: 340px;
}

html[lang="en"] section#visual.HP {
    background-image: url(../img/en-hp-skoda-fabia-rs-rally2-2160x1150.jpg);
}

section#visual.detail {
    background-image: url(../img/top-detail-skoda-octavia-combi-rs-moon-white-2160x1150.jpg);
    margin-top: 520px;
}

section#visual.motorsport {
    background-image: url(../img/motorsport/motorsport-top-skoda-fabia-rally-2-2160x1150.jpg);
    margin-top: 520px;
}

.full {
    margin: 0;
    width: 100vw;
}

.boxs {
    display: flex;
    flex-direction: row;
    gap: 100px;
    justify-content: center;
    height: 614px;
    margin-bottom: 100px;
}

.boxs .box1 {
    width: 614px;
    position: relative;
    overflow: hidden;
}

.boxs .box2 {
    width: 1270px;
    position: relative;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    display: block;
    text-decoration: none;
}

.video-overlay.models {
    background-image: url(../img/videa/modely-nad-video-1270x614.png);
}

html[lang="en"] .video-overlay.models {
    background-image: url(../img/videa/en-models-nad-video-1270x614.png);
}

.video-overlay.kviz {
    background-image: url(../img/videa/kviz-nad-video-614x614.png);
}

html[lang="en"] .video-overlay.kviz {
    background-image: url(../img/videa/en-quiz-nad-video-614x614.png);
}

.video-overlay.pexeso {
    background-image: url(../img/videa/pexeso-nad-video-1270x614.png);
}

html[lang="en"] .video-overlay.pexeso {
    background-image: url(../img/videa/en-pairs-game-nad-video-v2-1270x614.png);
}

.video-overlay.news {
    background-image: url(../img/videa/novinky-nad-video-1270x614.png);
}

html[lang="en"] .video-overlay.news {
    background-image: url(../img/videa/en-news-nad-video-1270x614.png);
}

.video-overlay.history {
    background-image: url(../img/videa/historie-nad-video-614x614.png);
}

html[lang="en"] .video-overlay.history {
    background-image: url(../img/videa/en-history-nad-video-614x614.png);
}

.video-overlay.motorsport {
    background-image: url(../img/videa/motorsport-nad-video-614x614.png);
}

html[lang="en"] .video-overlay.motorsport {
    background-image: url(../img/videa/en-motorsport-nad-video-614x614.png);
}

#game.air {
    width: 1900px;
    margin: 100px auto;
}

.pexeso-game {
    display: flex;
    width: 1000px;
    height: 1300px;
    margin: 500px auto 0;
    zoom: 2;
}

.visual-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: flex-end;
}

#visual.detail .visual-overlay {
    top: 0px;
    left: 100px;
    height: 88%;
    padding: 0;
    position: relative;
    width: 50%;
}

.visual-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    bottom: 60px;
    left: 100px;
}

.visual-title {
    color: white;
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.visual-button {
    background-color: var(--secondary-color);
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    display: inline-block;
    width: fit-content;
    transition: background-color 0.3s ease;
}

.visual-button:hover {
    background-color: #0a5c2e;
}

section.content {
    flex-direction: row;
    justify-content: center;
    margin-bottom: 80px;
}

#motorsport section.content {
    margin-bottom: 130px;
}

section.content .leftBox {
    width: 965px;
}

section.content .rightBox {
    width: 965px;
}

section.content .rightBox.text {
    background-color: var(--secondary-color);
    color: #000;
    padding: 60px;
    width: 845px;
    align-content: center;
}

section.content .leftBox.text {
    background-color: var(--bg-color);
    color: var(--white-color);
    padding: 60px;
    width: 845px;
    align-content: center;
}

#motorsport section.content .rightBox.text {
    background-color: transparent;
    color: var(--white-color);
}

#motorsport section.content .leftBox.text {
    background-color: transparent;
    color: var(--white-color);
}

section.content .text h3 {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 20px;
}

#motorsport section.content .text h3 {
    color: var(--secondary-color);
}

section.content .text p {
font-size: 24px;
font-weight: 300;
margin: 0;
}

.carousel-section {
background-color: #000;
padding: 80px 0 120px;
}

.carousel-tabs {
display: flex;
justify-content: center;
margin: 0 auto 40px;
width: 80%;
}

.carousel-tab {
background: none;
border: none;
color: var(--secondary-color);
font-size: 48px;
line-height: 90px;
font-family: "Skoda-light";
cursor: pointer;
padding-bottom: 10px;
border-bottom: 4px solid var(--primary-color);
width: 50%;
}

.carousel-tab.active {
border-bottom: 4px solid var(--secondary-color);
font-family: "Skoda-bold";
}

.carousel-wrapper {
width: 100vw;
position: relative;
}

.carousel {
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel.carousel-active {
    display: flex;
}

.carousel-track {
    overflow: hidden;
    width: 100vw;
}

.carousel-slide {
    display: none;
}

.carousel-slide.active {
display: block;
}

.carousel-slide img {
    width: 100vw;
    height: auto;
    display: block;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: transparent;
    border: none;
}

.carousel-arrow.left {
    background-image: url(../img/ico/Arrow_PREVIOUS_electric_green.png);
    left: 40px;
}

.carousel-arrow.right {
    background-image: url(../img/ico/Arrow_NEXT_electric_green.png);
    right: 40px;
}

.spec-tabs-section {
    background-color: #000;
    color: var(--white-color);
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
}

.spec-tabs {
    display: flex;
    margin-bottom: 40px;
}

.spec-tab {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 48px;
    line-height: 90px;
    font-family: "Skoda-light";
    cursor: pointer;
    padding-bottom: 10px;
    border-bottom: 4px solid var(--primary-color);
    padding: 0 40px;
    width: 33.33333%;
}

.spec-tab.active {
    border-bottom: 4px solid var(--secondary-color);
    font-family: "Skoda-regular";
}

.spec-block-title {
    color: var(--secondary-color);
    font-size: 48px;
    line-height: 90px;
    font-family: "Skoda-regular";
    margin: 0 0 40px;
    padding-bottom: 10px;
    border-bottom: 4px solid var(--secondary-color);
 }

.spec-content {
    padding: 0;
}

.spec-panel {
    display: none;
}

.spec-panel.spec-active {
    display: block;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table.two-columns td {
    width: 50%;
}

.spec-table.one-column td {
    width: 100%;
}

.spec-table tr td {
    padding: 16px 0;
    font-size: 20px;
    border-bottom: 1px solid #767676;
}

#price.content {
    flex-direction: column;
    margin-top: 150px;
    color: var(--white-color);
}

.price-container {
    width: 100%;
}

.price-title {
    font-size: 64px;
    color: var(--secondary-color);
    margin: 0 0 30px;
}

.price-rows {
    margin-bottom: 40px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 80px;
    margin-bottom: 10px;
}

.price-label {
    font-size: 24px;
    min-width: 260px;
}

.price-value {
    font-size: 32px;
}

.price-value-main {
    font-size: 64px;
    font-family: "Skoda-regular";
}

.price-notes {
    max-width: 1600px;
}

.price-notes p {
    font-size: 22px;
    line-height: 1.5;
    color: #ccc;
    margin: 0 0 10px;
}

#calendar {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

#motorsport .content.calendarTitle {
    margin-bottom: 0;
    height: 120px;
}

#motorsport #calendar h3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 30px;
}

#calendar span {
    color: var(--white-color);
}

#calendar span.green {
    color: var(--secondary-color);
}

.fixed-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 20px;
    align-items: center;
    background-color: var(--primary-color);
    zoom: .8;
}

.fixed-sidebar .nav-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.fixed-sidebar .nav-button img {
    height: 80px;
    width: auto;
}

/* ===========================================
   Portrait 1080px (1080x1920) responsive
   Poměrové škálování: 1080/2160 = 0.5
   =========================================== */
@media (max-width: 1080px) {
    /* Header */
    header {
        height: 15.74vw; /* 170px at 1080 */
    }

    .container {
        width: calc(100vw - 10.19vw);
        padding: 0 5.09vw;
    }

    .container.after {
        height: 8.33vw; /* 90px */
        top: 15.74vw;
    }

    .navigation {
        gap: 2.78vw;
        margin-left: 5.09vw;
        margin-right: 5.09vw;
        width: calc(100vw - 10.19vw);
    }

    .nav-button {
        gap: 2.78vw;
    }

    .nav-button img {
        height: 3.7vw;
    }

    .leftTitle {
        gap: 2.78vw;
    }

    .separator {
        font-size: 3.89vw;
        padding-right: 0.93vw;
    }

    .page-title {
        font-size: 2.96vw;
    }

    .logo {
        height: 3.61vw;
    }

    .lang a {
        font-size: 2.59vw;
    }

    /* Visual hero section - poměr 2160:1150 zachován */
    section#visual {
        height: 53.24vw; /* zachovává poměr 1150/2160 */
        margin-bottom: 6.94vw;
    }

    section#visual.HP {
        margin-top: 15.74vw;
    }

    section#visual.detail {
        margin-top: 24.07vw; /* header + after bar */
    }

    section#visual.motorsport {
        margin-top: 24.07vw;
    }

    /* Boxs na homepage - poměrově */
    .boxs {
        gap: 4.63vw;
        height: 28.43vw; /* 307px at 1080 -> poměr 614/2160 */
        margin-bottom: 4.63vw;
    }

    .boxs .box1 {
        width: 28.43vw; /* čtverec */
    }

    .boxs .box2 {
        width: 58.8vw; /* poměr 1270/2160 */
    }

    .video-overlay {
        zoom: .5;
    }

    /* Detail overlay */
    #visual.detail .visual-overlay {
        left: 4.63vw;
    }

    .visual-content {
        bottom: 2.78vw;
        left: 4.63vw;
    }

    .visual-title {
        font-size: 2.22vw;
    }

    .visual-button {
        padding: 1.39vw 2.78vw;
        font-size: 1.48vw;
        border-radius: 2.78vw;
    }

    /* Content sections - detail page */
    section.content {
        margin-bottom: 3.7vw;
    }

    section.content .leftBox {
        width: 44.68vw; /* poměr 965/2160 */
    }

    section.content .rightBox {
        width: 44.68vw;
    }

    section.content .leftBox img,
    section.content .rightBox img {
        width: 100%;
        height: auto;
    }

    section.content .rightBox.text {
        padding: 2.78vw;
        width: 39.12vw;
    }

    section.content .leftBox.text {
        padding: 2.78vw;
        width: 39.12vw;
    }

    section.content .text h3 {
        font-size: 1.67vw;
        margin-bottom: 0.93vw;
    }

    section.content .text p {
        font-size: 1.11vw;
    }

    /* Carousel */
    .carousel-section {
        padding: 3.7vw 0 5.56vw;
    }

    .carousel-tabs {
        margin-bottom: 1.85vw;
    }

    .carousel-tab {
        font-size: 2.22vw;
        line-height: 4.17vw;
    }

    .carousel-slide img {
        width: 100vw;
        height: auto;
    }

    .carousel-arrow {
        width: 3.7vw;
        height: 3.7vw;
    }

    .carousel-arrow.left {
        left: 1.85vw;
    }

    .carousel-arrow.right {
        right: 1.85vw;
    }

    /* Spec tabs */
    .spec-tabs-section {
        width: 90%;
    }

    .spec-tabs {
        margin-bottom: 1.85vw;
    }

    .spec-tab {
        font-size: 2.22vw;
        line-height: 4.17vw;
        padding: 0 1.85vw;
    }

    .spec-block-title {
        font-size: 2.22vw;
        line-height: 4.17vw;
        margin: 0 0 1.85vw;
    }

    .spec-table tr td {
        font-size: 1.48vw;
        padding: 0.74vw 0;
    }

    /* Price section */
    #price.content {
        margin-top: 6.94vw;
    }

    .price-title {
        font-size: 2.96vw;
        margin-bottom: 1.39vw;
    }

    .price-rows {
        margin-bottom: 1.85vw;
    }

    .price-row {
        gap: 3.7vw;
        margin-bottom: 0.46vw;
    }

    .price-label {
        font-size: 1.11vw;
        min-width: 12.04vw;
    }

    .price-value {
        font-size: 1.48vw;
    }

    .price-value-main {
        font-size: 2.96vw;
    }

    .price-notes {
        max-width: 90vw;
    }

    .price-notes p {
        font-size: 1.02vw;
    }

    /* Fixed sidebar */
    .fixed-sidebar {
        gap: 2.78vw;
        padding: 0.93vw;
        zoom: 1;
    }

    .fixed-sidebar .nav-button img {
        height: 3.7vw;
    }

    /* Games */
    #game.air {
        width: 88vw;
        margin: 4.63vw auto;
    }

    .pexeso-game {
        zoom: 1;
    }
}
