*{
    padding: 0;
    border: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', 'Oswald'; 
    list-style-type: none;
}

body{
    width: 100%;   
    background-color: #EFEFEF;
    
}

footer{
    background-color: #212121;
    font-size: 10px;
    color: #FCFAFA;
    text-align: right;
}

header{
    position: relative;
    height: 100vh;
    margin-bottom: 10px;
    background: url('img/carone.jpg') no-repeat center center;
    background-size: cover;
    
}

header:after {
    content:"";
    display:block;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.5);
    position:absolute;
    top:0;
    left:0;
    
}

.option-one-header,
.option-two-header{
    background-color: #212121;
    padding: 20px 0;
}

.option-one,
.option-two{
    overflow: hidden;
    
}

.option-color{
    display: none;
    background-color: #212121;
}

.option-color.active{
    display: block;
    right: 0;

}

.option-etuning{
    background-color: #212121;
}

.section_style{
    background-color: #212121;
}

.desktop{
    display: none;
}
.mobile{
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: -100%;
    left: 0;
    z-index: 2;
    background-color: #212121;
    transition: 1s;
    overflow: hidden;
}

.mobile.active{
    top: 0;
}

.mobile ul {
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    
    list-style-type: none;
    z-index: 2;
}

.mobile ul li{
    width: 80%;
}

.mobile ul a{
    display: block;
    text-align: center;
    text-decoration: none;
    color: #FCFAFA;
    text-transform: uppercase;
    padding: .8rem 1rem;
    font-size: 20px;
}

.content-header{
   position: absolute;
   width: 80%;
   height: 25%;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   text-align: center;
   text-transform: uppercase;
   color: white;
   z-index: 1;
}
.row{
    display: block;
    margin: 0 auto;
    width: 80%;
    height: 1px;
    background-color: white;
    margin: 20px auto;
}

.logo{
    background-color: transparent;
    height: 10vh;
}

header img{
margin-left: 10px;
margin-top: 10px;
width: 150px;
position: relative;
z-index: 1;
}

.btn-menu {
    right: 5px;
    top: 5px;
    position: fixed;
    height: 60px;
    width: 60px;
    background-color: transparent;
    cursor: pointer;
    border-radius: 100%;
    z-index: 3;
}

.burger-menu::after{
    top: calc(60% - 3px);
}

.burger-menu::before{
    top: calc(40% - 3px);
}

.burger-menu::after,
.burger-menu::before{
    content: '';
    position:absolute;
    width: 55%;
    height: 3px;
    background:white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition:0.5s;
    left: 50%;
    transform: translate(-50%, 50%)
}
/*
.menu:hover span::after{
    transform: translate(-50%) rotate(45deg);
    top: calc(50% - 3px);  
}

.menu:hover span::before{
    transform: translate(-50%) rotate(-45deg);
    top: calc(50% - 3px);
}
*/
.btn-menu.active span::after {
    transform: translate(-50%) rotate(45deg);
    top: calc(50% - 3px);  
}
.btn-menu.active span::before {
    transform: translate(-50%) rotate(-45deg);
    top: calc(50% - 3px);
}

/*MAIN SECETIONS*/

.section_about,
.section_etuning{
    width: 80%;
    margin: 40px auto 0;
    overflow: hidden;
}

.section_ofert-header,
.section_header{
    color: #FCFAFA;
    text-align: center;
    padding: 15px 15px 10px 15px;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

.section_content-contact,
.section_content{
    color: #CFCFCF;
    font-size: 15px;
    font-weight: bold;
    padding: 20px 20px 20px 20px;
    text-align: justify;
}

.section_row-price:before,
.section_row:after{
    content: '';
    margin: 30px auto 0;
    display:block;
    width: 80%;
    height: 1px;
    background-color: white;
}

.section_photo-etuning,
.section_photo{
    height: 30vh;
    width: 100%;
    background: url('img/section1.jpg') no-repeat center center;
    background-size: cover;
}

.section_photo-etuning{
    background-image: url('img/section2.jpg');
    position: relative;
    left: -120%;
    transition: 1s;
}

.section_photo-etuning.active{
    left: 0;
}

.section_photo{
    position: relative;
    transition: 1s;
    left: -120%;
}

.section_photo.active{
    left: 0
}

.section_button{
    border: 3px solid #F3FF7C;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
    width: 100px;
    height: 50px;
    background-color: transparent;
    color: #F3FF7C;
    text-transform: uppercase;
    cursor: pointer;
}

.section_button-ofert{
    border: 3px solid #C50707;
    color: white;
    font-size: 1.1rem;
    background-color: #C50707;
}

.section-contact,
.section_ofert{
    width: 100%;
    height: 100%;
    background-color: #EFEFEF;
    text-align: center;
}

.section_ofert-header{
    color: #1C1C1C;
}

.section_prices{
    width: 90%;
    margin: 10px auto;
    padding: 10px;
    border: 1px solid black;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
}

.section_ofert_header{
    display: block;
    font-size: 1.3em;
    text-transform: uppercase;
    padding: 10px;
}

.section_row-price:before{
    background-color: black ;
    margin: 10px auto;
}

.section-contact{
    background-color: #212121;
}

.section_content-contact{
    text-align: center;
    padding: 10px 20px 20px 20px;
    text-transform: uppercase;

}

.section_content-contact i{
    font-size: 25px;
    margin: 5px;
}

iframe{
    width:100%;
    height: 50vh;
    min-height: 400px;
}

@media all and (min-width:500px) {
    .section_content{
        padding: 30px 50px;
        font-size: 20px;
    }
    
    .section_header{
        margin: 0 20px;
    }

    .section_button{
        width: 150px;
        height: 80px;
        font-size: 23px;
    }

    .section_header{
        font-size: 35px;
    }

    .section_photo-etuning,
    .section_photo {
        height: 35vw;
    }

    .section_prices{
        width: 60%;
    }

    iframe{
        width: 80%;
        height: 50vw;
    }

    .section_ofert{
        padding: 30px 0;
    }
}

@media all and (min-width:1000px) {
    .mobile{
        display: none;
    }

    footer{
        background-color: #212121;
        font-size: 15px;
        color: #FCFAFA;
        text-align: right;
    }

    .section_header{
        font-size: 25px;
    }

    .content-header > h1{
        font-size: 45px;
    }

    .content-header > h2{
        font-size: 35px;
    }

/*              MENU                */
    .btn-menu{
        display: none;
    }
    
    .desktop{
        display: block;
        width: 60%;
        position: fixed;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        z-index: 2;
    }
    .desktop ul{
        display: flex;
        justify-content: center;
    }

    .desktop li::before{
        content: '';
        width: 70%;
        height: 3px; 
        background-color: #FCFAFA;
        position: absolute;
        left: -100%;
        bottom: 2px;
        transition: .5s;
    }

    .desktop li:hover::before{
        left: 15%;
    }
    
    .desktop li{
        width: 25%;
        position: relative;
        overflow: hidden;
    }

    .desktop li a {
        text-align: center;
        display: block;
        background-color: transparent;
        padding: 10px 20px;
        text-decoration: none;
        color: #FCFAFA;
        text-transform: uppercase;
        font-size: 20px;
    }
    .desktop li a.active{
        background-color: #330A0A;
        border-bottom: 1px solid white;
    }

    .section_photo{
        width:50vw;
        height: 300px;
        margin: 0 auto;
        transform: translateX(-250px);
    }

    .section_photo-etuning{
        width:50vw;
        height: 300px;
        margin: 0 auto;
        transform: translateX(220px);
        position: relative;
        transition: 1s;
    }

    .section_style{
        width: 50vw;
    }

    .about-position{
        transform: translate(30px, -30px);
    }

    .center{
        display: flex;
        justify-content: space-around;
        margin: 0 auto;
        width: 90%;
    }

    .section_content{
        font-size: 17px;
        padding: 10px 35px 35px;
    }

    .option-one,
    .option-two{
        width: 32vw;
        border-radius: 10px;
    }
    .option-one-header,
    .option-two-header{
        background-color: #212121;
        padding: 20px 0;
    }
    
    .option-etuning{
        background-color: #212121;
        margin: 0 auto 40px;
        width: 35vw;
        transform: translate(-150px, -30px);
        border-radius: 10px;
    }
    
    .section_style{
        background-color: #212121;
        margin: 0 auto;
        border-radius: 10px;
    }
    
    .section_style-etuning{
        margin: 0 auto;
    }

    .option-color{
        background-color: #212121;
        min-height: 200px;
    }

    .section_ofert{
        margin: 0 auto;
        display:flex;
        width: 70%;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 30px 0;
    }

    .cars{
        width: 30vw;
    }

    .tir{
        width: 30vw;
        height: 500px;
    }

    .other{
        width: 30vw;
    }
    .section_prices{
        width: 60%;
    }
    
    .section-contact{
        display: flex;
        justify-content: center;        
        padding: 30px 30px;
    }
    
    iframe{
        width: 35vw;
        height: 50vh;
    }
}

@media all and (min-width:1240px) {
    .content-header > h1{
        font-size: 60px;
    }

    .content-header > h2{
        font-size: 45px;
    }
}

/* ====== DODATKI DO PODSTRONY DOWNLOAD ====== */
.download-card {
  width: 90%;
  margin: 10px auto 30px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.download-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.download-table th, .download-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.download-table thead th {
  background: #212121; 
  color: #FCFAFA; 
  text-transform: uppercase;
  font-weight: bold; 
  font-size: 14px; 
  letter-spacing: .03em;
}

.download-table tbody tr:hover { background: #fafafa; }
.sr-only { position:absolute; left:-9999px; }
.section_content-contact a { color: #CFCFCF; }

/* Download table – ładny, kompaktowy przycisk */
.download-table td:last-child { 
  text-align: center; 
  white-space: nowrap; 
}

/* nowa, mała wersja przycisku */
.btn-download{
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  border: 2px solid #C50707;
  background: #C50707;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  transition: transform .08s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-download:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.btn-download:active{
  transform: translateY(0);
  box-shadow: none;
}

/* na wszelki wypadek nadpisz stare w tabeli, gdyby gdzieś zostało */
.download-table .section_button{
  width: auto !important;
  height: auto !important;
  padding: 8px 14px !important;
  font-size: 14px !important;
  border-width: 2px !important;
}

/* Sticky footer */
html, body {
  height: 100%;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
  background-color: #212121;
  font-size: 14px;
  color: #FCFAFA;
  text-align: right;
  padding: 8px 12px;
}
