

/*Media Queries */

/*///////////////////////////////////////////////////////////////////////////////////////////
 Desktopy do 1650px 
 //////////////////////////////////////////////////////////////////////////////////////////*/
@media (max-width: 1650px) {
.poptat {
    margin-top:50px;
}
}


/*///////////////////////////////////////////////////////////////////////////////////////////
 Desktopy do 1500px 
 //////////////////////////////////////////////////////////////////////////////////////////*/
@media (max-width: 1500px), (max-height:785px) {
    
    .nabidka h1{
        margin-top:80px;

    }
     .naseSluzby1, .naseSluzby2 {
        gap: 30px;
        margin: 50px auto;
        justify-content: center;
    }

    .ridiciSystemy, .navrh, .sauny, .dokumentace, .zamecnickePrace, .rele {
        width: 300px;
        height: 200px;
        margin: 15px;
    }

    .naseSluzby1 h1, .naseSluzby2 h1 {
        font-size: 1.8rem;
    }

   .specializace{
        max-width:800px;
        font-size:20px;
}

.rightCol img{
  max-width:300px;
}

.kontakt, .formular{
    margin-top: 180px;
}
.kontakt h1, .formular h1{
    font-size: 40px;
 }
 .kontakt h2{
    font-size: 25px;
 }

 iframe{
    width:400px;
    height:200px;
 }

 input{
    height:40px;
    font-size: 17px;
	width:200px;
 }

 textarea {
    width: 400px;
    height:200px;
    font-size: 17px;
 }


}

/*///////////////////////////////////////////////////////////////////////////////////////////
 Desktopy do 1350px 
 //////////////////////////////////////////////////////////////////////////////////////////*/
@media (max-width: 1350px), (max-width:700px) {
.specializace{
        max-width:600px;
        font-size:20px;
}

nav {
        height: auto;
        padding: 15px 20px; 
    }
.uvod h1 {
       
        letter-spacing: 3px;
        margin: 60px 0 30px 0;
    }

    .uvod h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }
.kdoJsme h1{
    font-size: 4rem; 
}

.specializace{
  
  font-size:20px;
}

.specializace {
        font-size: 20px;
    }

    .specializace p {
        font-size: 18px;
        padding: 0 10px;
    }

 .basicInfo {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: stretch;
        gap: 40px;
        padding-top: 50px;
    }

    .infoBox {
        flex: 0 0 auto;
        width: 180px;
        text-align: center;
    }

    .basicInfo h1 {
        font-size: 2.2rem;
        margin: 10px 0;
    }

    .basicInfo p {
        font-size: 20px;
        width: 90%;
        margin: 0 auto;
    }

    .cisla {
        width: 120px;
        height: 120px;
        font-size: 1.8rem;
    }

    .cisla::before {
        width: 140px;
        height: 140px;
    }



    .rightCol img {
        width: 90%;
        max-width: 230px;
    }

    .blue-gap {
        height: 50px;
    }

.kontakt{
  margin-top:170px;
}

.kontakt h1 {
    margin-bottom: 30px;
}

.kontakt h2{

    font-size: 25px;
    font-weight: 500;
    padding-bottom:10px;
}
.formular {
  margin-top:170px;
  gap:30px;
}

iframe {
	width:380px;
	height: 180px;
}

input{
	margin-bottom: 20px;
	width:200px;
    height:30px;
    padding: 10px;
	font-size: 17px;
}

 textarea {
    width: 400px;
    height:180px;
    font-size: 17px;
 }
.formular input[type="submit"] {

    font-size: 1.5rem;
    max-width: 280px;
    padding: 12px 20px;
    margin-top: 10px;
}

}


/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 
Menší desktopy do 1100px 
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
@media (max-width: 1100px), (max-height:600px) {
    header {
        height: auto;
        clip-path: none;
        padding: 120px 0px 80px 0px;
        background-position: top;
    }

    nav {
        height: auto;
        padding: 15px 20px;
        flex-direction: row;
        align-items: center;
    }

    nav ul {
        flex-direction: row;
        gap: 15px;
    }

    nav li {
        padding: 0;
    }

    nav a {
        font-size: 1.3rem;
        padding: 10px 15px;
    }

    .uvod h1 {
       
        letter-spacing: 3px;
        margin: 60px 0 30px 0;
    }

    .uvod h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .poptat {
        margin-top: 50px;
    }

    .poptat a {
        font-size: 1.8rem;
        width: 220px;
        height: auto;
        padding: 14px 15px;
        text-align: center;
        display: inline-block;
    }

   
    .nabidka h1{
        
        margin-top: 100px;
    }

    .naseSluzby1, .naseSluzby2 {
        gap: 30px;
        margin: 50px auto;
        justify-content: center;
    }

    .ridiciSystemy, .navrh, .sauny, .dokumentace, .zamecnickePrace, .rele {
        width: 300px;
        height: 200px;
        margin: 15px;
    }

    .naseSluzby1 h1, .naseSluzby2 h1 {
        font-size: 1.8rem;
    }

     .oNas {
        flex-direction: column;
        height: auto;
        padding: 60px 5vw 100px;
        gap: 60px;
        clip-path: none;
        background-attachment: scroll;
    }
    .kdoJsme{
        position:relative;
        transform:none;
        display: flex;
        flex-direction: column;
        justify-content: center;

    }

    .leftCol, .rightCol {
        width: 100%;
        flex: none;
        margin: 0;
    }

    .leftCol {
        align-items: center;
        text-align: center;
    }

    .specializace {
        font-size: 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .specializace p {
        text-align: center;
        font-size: 20px;
        padding: 0 10px;
    }

     .basicInfo {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: stretch;
        gap: 40px;
        padding-top: 50px;
    }

    .infoBox {
        flex: 0 0 auto;
        width: 180px;
        text-align: center;
    }

    .basicInfo h1 {
        font-size: 2.2rem;
        margin: 10px 0;
    }

    .basicInfo p {
        font-size: 20px;
        width: 90%;
        margin: 0 auto;
    }

    .cisla {
        width: 120px;
        height: 120px;
        font-size: 1.8rem;
    }

    .cisla::before {
        width: 140px;
        height: 140px;
    }

    .rightCol {
        justify-content: center;
    }

    .rightCol img {
        width: 90%;
        max-width: 320px;
    }

    .blue-gap {
        height: 80px;
    }

    .zapati {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-attachment: scroll;
    background-position: center;
    clip-path: none;
    height: auto;
    padding: 40px 5vw 60px;
    gap: 40px;
  }

  .kontakt {
    width: 100%;
    max-width: 700px;
    display: flex;
    justify-content: center;
    margin: 0;
  }

  .kontakt .adresa {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  
    margin-bottom:40px;
  }

  .kontakt h1 {
    margin-top: 40px;
    gap:40px;
  }

  .kontakt iframe {
    display: none;
  }

  .formular {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0px 0 0; /* větší mezera nad formulářem */
  }


  .formular form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .formular input,
  .formular textarea {
    width: 100%;
    max-width: 500px;
  }

  .formular textarea {
    height: 160px;
    resize: vertical;
  }

  .formular input[type="submit"] {

    font-size: 1.5rem;
    max-width: 280px;
    padding: 12px 20px;
    margin-top: 10px;
  }

 
   
.copyRight{
    font-size: 15px;
}
}


/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Tablety do 768px 
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
@media (max-width: 768px) {
    header {
        height: auto;
        clip-path: none;
        background-attachment: scroll;
    }

    nav ul{
        flex-direction: column;
    }

    nav a {
        font-size: 1.3rem;
        padding: 10px 15px;
    }
    .uvod h1{
        font-size:3rem;
    }

    .poptat a {
        width: 220px;
        font-size: 1.8rem;
        padding: 14px 15px;
    }

    .nabidka h1{
        font-size:3rem;
    }

    .naseSluzby1,
.naseSluzby2 {
    flex-direction:column;
}

    .ridiciSystemy, .navrh, .sauny, .dokumentace, .zamecnickePrace, .rele {
        width: 350px;
        height: 150px;
        margin: 10px;
    }

    .naseSluzby1 h1, .naseSluzby2 h1 {
        font-size: 2rem;
    }

    .oNas {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
        gap: 30px;
    }
    .kdoJsme h1{
            font-size:3rem;
        }
    .leftCol, .rightCol {
        flex: none;
        width: 100%;
        margin: 0;
    }

    .specializace {
        font-size: 1.2rem;
        text-align: center;
    }


    .infoBox {
        max-width: 100%;
    }

    .cisla {
        width: 140px;
        height: 140px;
        font-size: 2.5rem;
    }

    .zapati {
        flex-direction: column;
        height: auto;
        padding: 50px 20px;
        gap: 40px;
    }

    .kontakt, .formular {
        flex: none;
        width: 100%;
        margin-top: 0;
    }

    iframe {
        height: 250px;
    }

    .formular input, .formular textarea {
        width: 100%;
    }

    .formular textarea {
        height: 180px;
    }

    input[type="submit"] {
        width: 100%;
        font-size: 1.6rem;
    }

    .kontakt h1, .formular h1 {
        font-size: 3rem;
    }

    .kontakt h2 {
        font-size: 1.3rem;
    }
}

/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 
Mobily do 600px 
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
@media (max-width: 600px) {

    .basicInfo{
        display:flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .basicInfo h1{
    font-size:2rem;
    }


   .rightCol img {
        width: 90%;
        max-width: 250px;
    }

    .cisla{
        width:100px;
        height:100px;
    }

}



/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 
Mobily do 480px 
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
@media (max-width: 480px) {
    
  .menu-toggle {
        display: flex; /* musí být viditelné! */
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 22px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        height: 3px;
        background-color: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Animace "X" po otevření menu */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
   nav ul {
        position: fixed;
        top: 60px; /* přizpůsob podle headeru */
        right: -100%;
        width: 200px;
        height: calc(100% - 60px);
        background-color: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    nav ul.open {
        right: 0;
    }

    nav li {
        padding: 10px 0;
    }

    nav a {
        font-size: 1.2rem;
        padding: 10px 15px;
    }

    header {
        height: 60vh;
        clip-path: none;
        background-attachment: scroll;
        padding: 20px 10px;
    }

    .uvod h1 {
        font-size: 2rem;

    }

    .uvod h2 {
        font-size: 1.3rem;
    }

    .poptat a {
        width: 180px;
        font-size: 1.5rem;
        padding: 12px 12px;
    }

    .naseSluzby1, .naseSluzby2 {
        flex-direction: column;
        margin: 80px auto;
    }

    .ridiciSystemy, .navrh, .sauny, .dokumentace, .zamecnickePrace, .rele {
        width: 90vw;
        max-width: 350px;
        height: 200px;
        margin: 15px auto;
    }

    .naseSluzby1 h1, .naseSluzby2 h1 {
        font-size: 1.8rem;
    }

    .oNas {
        flex-direction: column;
        height: auto;
        padding: 20px 10px;
        gap: 20px;
    }

    .leftCol, .rightCol {
        flex: none;
        width: 100%;
        margin: 0;
    }

    .specializace {
        font-size: 1rem;
    }

    .basicInfo {
        flex-direction: column;
        gap: 20px;
        padding: 40px 0 0;
    }

    .infoBox {
        max-width: 100%;
    }

    .cisla {
        width: 120px;
        height: 120px;
        font-size: 2rem;
    }

     .rightCol img {
        width: 90%;
        max-width: 250px;
    }

    .zapati {
        flex-direction: column;
        height: auto;
        padding: 40px 10px;
        gap: 30px;
    }

    .kontakt, .formular {
        flex: none;
        width: 100%;
        margin-top: 0;
    }

    iframe {
        height: 200px;
    }

    .formular input, .formular textarea {
        width: 100%;
    }

    .formular textarea {
        height: 150px;
    }

    input[type="submit"] {
        width: 100%;
        font-size: 1.5rem;
    }

    .kontakt h1, .formular h1 {
        font-size: 2rem;
    }

    .kontakt h2 {
        font-size: 1.2rem;
    }
}