
@import url('https://fonts.googleapis.com/css2?family=Thasadith:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic+Coding&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
  }

body {
    font-family: "Thasadith", sans-serif;
    margin: 0;
    padding: 0; 
    background: rgba(0, 0, 0, 0.5) url(namesti.jpg);
    height: 100vh;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: darken;
 }



 /*Header*/
 .hlavička {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    padding: 0px 50px;
    position: relative;
  }

  .logo img {
    height: 90px;
    margin-top: 20%;

  }

  .navigace {
    display: flex;
    gap: 30px;
  }

  .navigace a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s;
    text-transform: uppercase;
    font-family: "Thasadith", sans-serif;
    font-weight: 400;
    margin-bottom: 4%;
  }

  .navigace a:hover {
    color: #ccc;
  }




  /*Hamburger menu*/
  /*Tentokrát lepší!!! juhuuuu*/

  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }

  .hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
  }

 
  #menu-toggle {
    display: none;
  }



/*Nadpis úvodní stránky*/
  .stred-stranky {
    display: flex;
    justify-content: center;  
    align-items: center;                  
    text-align: center;
    margin-top: 10%;
    color: whitesmoke;
    font-size: 55px;
    font-family: "Rajdhani", sans-serif;
    text-transform: uppercase;
  }


.podtext h2 {
    color: whitesmoke;
    text-align: center;
    font-family: "Rajdhani", sans-serif;
    text-transform: uppercase;
    font-size: 25px;
    font-weight: 500;
}

/*Šipka na úvodní stránce*/


  .scroll-down {
    position: absolute;
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    font-size: 3em; 
    color: white;
    text-decoration: none;
    animation: bounce 2s infinite; 
}
/*Animace odraz nahoru a dolů*/
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}





/*Sekce Informace*/


.informace  {
    padding: 50px 20px;
    text-align: center;
    background-color: whitesmoke;
   
  }
  .informace h1 {
    font-size: 45px;
    padding-bottom: 5%;
  }
#informace h1 {
    font-family: "Thasadith", sans-serif;
    font-size: 40px;
    text-transform: uppercase;
}
.informace1  {
    padding: 50px 20px;
    text-align: center;
    background-color: whitesmoke;
    margin-top: 35%;
  }
 #informace h1 {
margin-bottom: 100px;
margin-top: 50px;
 }
 .informace2 {
    padding: 50px 20px;
    text-align: center;
    background-color: whitesmoke;
    padding-bottom: 10%;
  }

  .obsah {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px; 
    max-width: 1500px;
    margin: 0 auto;
    flex-wrap: wrap;
  }


  .obrazek {
    flex: 1 1 300px;   /* Element začne s šířkou 300px, může růst, aby vyplnil volný prostor, a může se zmenšit, pokud je potřeba, aby se vešel do kontejneru. */
  }

  .obrazek img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  .obrazek img:hover {
    transform: scale(1.1);
    transition: 1s;
  }
  .text {
    flex: 1 1 350px;
      text-align: left;
      font-size: 22px;
  }










#mapa {
position: relative;
  width: 100%;
  height: 500px; 
  overflow: hidden;
 

}

#mapa iframe {
    width: 100%; 
    height: 100%; /* Přes celou šířku*/
    object-fit: cover;
    object-position: center;
  
}






#zajimavosti {
    background-color: whitesmoke;
    margin-top: 0;
}

#zajimavosti h1 {
    text-align: center;
    font-family: "Thasadith", sans-serif;
    font-size: 35px;
    text-transform: uppercase;
    padding-top: 5%;
    margin-top: 0 ; /* Půl zkoušky nadávám, že nemám plynule sekce, jen abych zjistila, že tento command mě zachrání c: */

}



.nabidka {
    max-width: 1500px; 
    margin: auto;
    padding: 4rem 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Vytvoří se tolik sloupců, kolik se vejde do dostupného prostoru, přičemž každý sloupec bude mít minimální šířku 250px*/
    gap: 2rem;
    margin-top: 2rem;
    font-family: "Thasadith", sans-serif;
  }
  
  .nabidka-blok {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);

  }


  .nabidka-blok:hover {
    transform: translateY(-15px);
    transition: 0.5s;
  }
  
  .nabidka-blok i {
    font-size: 2rem;
    color: #c49b44;
  }
  


.doprava_a_spol {
    padding: 60px 5px;
    background-color: whitesmoke;
    font-family: "Thasadith", sans-serif;
}
.doprava_a_spol h1{
    text-align: center;
    font-size: 45px;
    margin-bottom: 20px;
    font-family: "Thasadith", sans-serif;
}


.dopravka {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 140px; /*Mezera mezi prvky*/
}

.dopr {
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    width: 380px;
    text-align: center;
    box-shadow: 0 15px 20px rgba(25, 25, 25, 0.1);
    padding: 15px;
    transition: 0.8s;
}
.dopr:hover {
    transform: scale(1.1);
    transition: 1s;
}
.dopr p{
 font-size: 18px;
 font-family: "Thasadith", sans-serif;
}
.dopr img {
   width: 350px;
   height: 280px;
   margin-top: 10px;
   box-shadow: 0 6px 8px rgba(122, 122, 122, 0.312);
   border-radius: 10px;
}

.btn {
    font-size: 20px;
    display: inline-block;
    padding: 10px 20px;
    margin-top: 3px;
    background-color: #fdd680;
    color: #fff;
    text-decoration: none;
    font-family: "Thasadith", sans-serif;
    border-radius: 5px;
}

.btn:hover {
    background-color: #c49b44;
    color: whitesmoke;
    transition: 0.5s;
}

#formular {

    background-color: whitesmoke;

}

#formular 
.section-container {
    max-width: 800px; /*Maximální šířka*/
    margin: 0 auto;
    padding-bottom: 5%;
}

h2 {
    text-align: center;
    color: #333;
    font-size: 45px;
    margin-top: 0;
    padding-top: 5%;
}

p {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

label {
    font-weight: bold; /*Tučné*/
    display: block;
    margin-top: 10px;
}



/*Políčka formuláře*/

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: vertical; /*umožňuje měnit velikost prvku jen vertikálně (nahoru a dolů).*/
}

button {
    background-color: #fdd680;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
}

button:hover {
    background-color: #bb984c;
}






/*Footer*/
footer {
    background-color: #f4f4f4;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #333;
    border-top: 1px solid #ddd;
  }
  
  footer a {
    color: #c49a6c;
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }












/*Responzivní design*/ 
@media (max-width: 768px) {
    .hamburger {
      display: flex;
    }

    .navigace {
      position: absolute;
      top: 100%;
      right: 0;
      background-color: #151515;
      flex-direction: column;
      width: 100%;
      display: none;
    }
    .navigace a {
        text-align: center;
        top: 2%;
    }

    #menu-toggle:checked + .hamburger + .navigace {
      display: flex;
    }

    .navigace a {
      padding: 15px 20px;
      border-top: 1px solid rgb(15, 15, 15);
    }

    .stred-stranky {
        font-size: 35px;
    }

    .scroll-down {
        font-size: 2.5em;
    }

    .obsah {
        flex-direction: column;
        gap: 20px;
    }
 }
