* {
    font-family: Arial, Helvetica, sans-serif;
}
body{
    font-size: 16px;
}
html, body {
    margin: 0;
    padding: 0;
}
  body {
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-weight: normal;
    line-height: normal;
    color: #000000;
    position: relative;
    letter-spacing: 0;
    padding: 0;
    margin: 0
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px
}

h5 {
    font-size: 14px
}

h6 {
    font-size: 13px
}
/* header */
header{
    width: 100%;
    height: 100px;
    border-bottom: 2px solid rgba(20, 20, 20, 0.192);
}
  
header .container{
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
  
.logo img{
    height: 60px;
    width: auto;
  }
  
nav .menu{
    display: flex;
    gap: 50px;
    list-style: none;
}
  
nav .menu a{
    color: #000;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
}
  
nav .menu a:hover{
    color: #F28B19;
}
  
nav .menu a.active{
    color: #F28B19;
}
  
nav .menu .button{
    background-color: #7CBB28;
    color: #FFF;
    padding: 10px 20px;
    border-radius: 6px;
}

nav .menu .button:hover,
nav .menu .button.active {
  background-color: #F28B19;
  color: #FFF;
}
  

@media (max-width: 1024px) {
    header{
        height: auto !important;
    }
    header .container{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        padding: 20px 15px;
    }
    nav .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
        padding: 0;
    }
}

  @media (max-width: 768px) {
    header {
      height: auto;
    }
    header .container {
      padding: 15px 10px;
    }
    .logo img {
      height: 50px;
      margin-bottom: 12px;
    }
    nav .menu a {
      font-size: 14px;
      padding: 8px 0;
    }
    nav .menu .button {
      padding: 8px 16px;
    }
}
/* header end*/


/* Sekce s pozadím*/

.background-section {
    background-size: cover;
    background-position: center;
    min-height: 800px;
}

.wrap {
    display: flex;
    max-width: 1300px;
    height: 700px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.nadpis {
    width: 50%;
    margin-left: 30px;  
    background-color: rgba(39, 24, 24, 0.151);
    border-radius: 20px;
    padding: 80px 20px;
}
.nadpis h1{
    color: white;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;

}
.nadpis h2{
    margin-top: 7px;
    color: #000;
    font-size: 24px;
    font-weight: bold;
}
.nadpis p{
    color: #ececec;
    line-height: 1.6;
}
.obrazek {
    width: 50%;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .wrap {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 40px 20px;
    }

    .nadpis, .obrazek {
        width: 100%;
    }

    .nadpis h2 {
        font-size: 32px;
    }

    .nadpis h3 {
        font-size: 24px;
    }

    .obrazek img {
        max-width: 100%;
        height: auto;
        margin-top: 20px;
    }
}


/* Sekce s pozadím end*/








/* Dlazdice*/

.sluzby .container{
    max-width: 1300px;
    margin: 0 auto;
}
.sluzby .tiles{
    display: flex;
    justify-content: space-between;
}

.tile {
    background-color: rgba(39, 24, 24, 0.9);
    width: 50%;
    height: 300px;
    padding: 20px;
    margin: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}
.tile button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    border-radius: 10px;
    padding: 16px 20px;
    background-color: white;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    
}
.tile button:hover{
    background-color: #F28B19;
    cursor: pointer;
    transition: background-color 0.3s ease;

}
.tile h3{
    text-align: left;
    color: #FFF;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 25px;
}
.tile p{
    text-align: left;
    color: #FFF;
    font-weight: bold;
    color: rgb(186, 186, 186);
    line-height: 1.5;
}
@media (max-width: 1024px){

}
@media (max-width: 768px){
    .sluzby .tiles{
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .tile{
        width: 90%;
    }
}


/* Dlazdice end*/


/* Sekce o nas*/

.about-us{
    background-color: #f8f8f8;
}
.about-us .container{
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 1.6;
    padding-bottom: 50px;
}
.about-us .container h1{
    text-align: center;
    padding: 40px 0px;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: bold;
    color: #202020;
}
.about-us .container h2{
    text-align: center;
    padding: 30px 0px;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: bold;
    color: #4b4b4b;
}

.about-us .container p{
    margin: 30px 0px;
    text-align: center;
}

/* Sekce o nas end */


/*service*/

.service {
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
    background-color: #fff;

}

.service .service-content {
    flex: 1;
    text-align: left;
    margin: 20px;
    background-color: #F2D063;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-radius: 10px;
    border: 1px solid rgba(224, 224, 224, 0.5);
}

.service h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
    letter-spacing: 1px;
    padding-left: 7%;
}

.service p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-top: 10px;
    padding-left: 7%;
    padding-right: 3%;
}

.service .image {
    flex: 1;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.service .image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(224, 224, 224, 0.5);
}

@media (max-width: 768px) {
    .service {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 0;
        width: 90%;
    }

    .service .service-content {
        border-right: none;
        padding: 20px;
        margin: 10px 0;
    }

    .service .image {
        width: 90%;
        margin: 10px 0;
    }

    .service h2 {
        font-size: 22px;
    }
}
/*end service*/

/* gallery*/

.nadpis-galerie{
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 30px;
}
.galerie-text{
    text-align: center;
    padding: 0 44px;
}
.galerie-text h2 {
    font-weight: 700;
}
.galerie-text p {
    margin: 25px 0;
}


.container-gallery{
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 0;
}

.gallery{
    column-count: 4;
    column-gap: 1em;
}
.gallery img{
    width: 100%;
    display: block;
    margin-bottom: 1em;
    break-inside: avoid;
}
.gallery .hidden{
    display: none;
}
/*
.gallery .foto1{
    max-height: 400px;
}
.gallery .foto2{
    max-width: 350px;
}
.gallery .foto3{
    max-width: 350px;
}
.gallery .foto4{
    max-width: 350px;
}
.gallery .foto5{
    max-width: 350px;
}
.gallery .foto6{
    max-width: 350px;
}
*/

/* gallery end */


/* open */

.open {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    font-size: 16px;
    text-align: center;
  }
  
.open thead {
    background-color: #7CBB28;
  }
.open thead th {
    color: #fff;
    padding: 10px;
    font-weight: bold;
  }
  
.open tbody tr:nth-child(even) {
    background-color: #f5f5f5;
  }
  
.open tbody td {
    padding: 10px;
    border: 1px solid #ddd;
  }
  
.open tbody tr:hover {
    background-color: #e0e0e0;
  }

/* open end */

/* contact */
input[type=text],
input[type=email],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=submit] {
    background-color: #7CBB28;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #F28B19;
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 40px;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}
/* contact end */

.nadpisy{
    text-align: center;
    padding: 15px 0;
}
.nadpisy h2{
    font-weight: bold;
    font-size: 25px;
}

/* footer */

footer .footer-bg{
    width: 100%;
    background-color: #202020;
}
footer .container{
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}
footer .footer{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 10px;
}
footer .logoFooter{
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
footer .logoFooter .logo-text {
    max-width: 500px;
    color: #FFF;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.6;
  }
footer .menuFooter ul{
    margin: 20px;
    padding: 10px;
    list-style: none;
}
footer .menuFooter li a{
  display: inline-block;
  padding-top: 12px;
  padding-bottom: 12px;
}
footer .menuFa{
    margin-left: 7%;
    line-height: 1.6;
    color: #FFF;
}
footer a{
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    color: #FFF;
}
footer a:hover{
    color: #F28B19;
}
footer a.active{
    color: #F28B19;
}




@media (max-width: 1024px) {
    footer .footer {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding-top: 30px;
      padding-bottom: 30px;
    }
    footer .logoFooter,
    footer .menuFooter,
    footer .menuFa {
      margin: 0;
      width: 100%;
    }
    footer .logoFooter {
      margin-bottom: 20px;
      align-items: center;
    }
    footer .menuFooter ul {
      justify-content: center;
    }
    footer .menuFooter li a {
      padding: 8px 0;
    }
    footer .menuFa p {
      line-height: 1.8;
      margin-top: 20px;
    }
  }

  @media (max-width: 768px) {
    footer .container {
      padding: 0 10px;
    }
    footer .footer {
      padding-top: 20px;
      padding-bottom: 20px;
    }
    footer .logoFooter .logo-text {
      font-size: 13px;
      line-height: 1.6;
      max-width: 100%;
    }
    footer .menuFooter ul {
      flex-wrap: wrap;
      gap: 10px;
    }
    footer .menuFooter li a {
      font-size: 16px;
      padding: 6px 0;
    }
    footer .menuFa p {
      font-size: 14px;
      line-height: 1.6;
    }
  }
/* footer end */


/* copyright */
.copyright{
    text-align: center;
}
.copyright p{
    font-size: 14px;
}

/* copyright end*/