

*{
    margin: 0;
    padding: 0;
}

/*MARK:Body
*/
:root {
  --org: #f78154;
  --grn: #095d41;
  --wht: #f5f5f5;
  --blc: #0f0a0a;
  --gry: #b3bdbd;
}

@font-face {
  font-family: 'Popins'; /* libovolný název */
  src: url('fonts/Poppins/Poppins-Regular.ttf');
}

@font-face {
  font-family: 'Popins-bolt'; /* libovolný název */
  src: url('fonts/Poppins/Poppins-Bold.ttf');
}

@font-face {
  font-family: 'Popins-extrabolt'; /* libovolný název */
  src: url('fonts/Poppins/Poppins-ExtraBold.ttf');
}

h1{
    font-family: "Popins-extrabolt";
    font-size: 30px;
    font-weight: 700;
}

h2{
    font-family: "Popins-bolt";
    font-size: 24px;
    color: var(--blc);
}

h3{
    font-family: "Popins";
    font-weight: 500;
    font-size: 18px;
}

h4{
    font-size: 16px;
    font-family: 'Popins-extrabolt';
    margin-bottom: 12px;
    color: var(--blc);
}

p{
    font-family: "Popins";
    font-size: 16px;
    color: var(--blc);
}

a{
    font-family: "Popins-bolt";
    font-size: 16px;
    color: var(--blc);
    text-decoration: none;
}


body{
    justify-items: center;
    display: grid;
}

main{
    max-width: 1200px;
    width: 100%;
    color: var(--wht);
}

/*MARK:Navbar
*/
#header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 60px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;   
}

#header img{
    height: 50px;
    transition: transform 0.6s ease;
   
}

#header img:hover{
    transform: rotate(-360deg);
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li {
    list-style: none;
    padding: 0 15px;
    position: relative;
    transition: 0.3s;
}

#navbar li a {
    text-decoration: none;
    font-family: 'Popins-bolt';
    font-size: 18px;
    color: var(--blc);
    transition: 0.3s ease;
    position: relative;
}

#navbar li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--org);
    left: 0;
    bottom: -3px;
    transition: width 0.3s ease-in-out;
}

#navbar li a:hover::after {
    width: 100%;
}

#navbar li a:hover {
    color: var(--org); 
}

#mobil{
    cursor: pointer;
    display: none;
    align-items: center;
}

#close{
    cursor: pointer;
    display: none;
}

button{
    margin-top: 18px;
    text-decoration: none;
    background-color: var(--org);
    border: none;
    padding: 8px 10px;
}

/*MARK:About
*/

#about-info {
    display: flex;
    align-items: center;
    background-color: var(--gry);
}

#about-info .girl{
    width: 50%;
    height: 100%;
}
 
#about-info .girl img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#about-info .about-text{
    width: 50%;
    padding: 0% 10%; 
    text-align: justify
}

#about-info .about-text h2{
    font-size: 30px;
    padding-bottom: 35px;  
}

/*MARK:Servis
*/
#servis{
    padding: 100px 70px 0 70px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

#servis .servis-table {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#servis .servis-info{
    display: flex;
    align-items: center;
    width: 32%;
    min-width: 300px;
    margin: 2% 0;
    margin: 70px 0;
}

#servis .servis-info img{
    margin-right: 18px;
    width: 40px;
    height: 40px;
}

#servis .servis-text p {
    font-family: 'Popins-bolt';
    font-size: 20px;
    text-align: justify;
}

/*MARK:Describe
*/

#describe {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    background: white;              
    padding: 0px 60px;            
}

#describe .paragraf p {
    border-top: 1px solid var(--gry);    
    border-bottom: 1px solid var(--gry); 
    padding: 18px 0;
    column-count: 2;      /* rozdělí text do dvou sloupců */
    column-gap: 40px;     /* mezera mezi sloupci */
    font-size: 16px;
    line-height: 1.6;
    color: black;
    text-align: justify;
    padding: 100px 0;
}

footer{
    
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    text-align: center;
    justify-content: center;
    height: 25px;
    padding-bottom: 5px;
}

footer img{
    margin-left: 20px;

}

/*MARK:1000
*/
@media (max-width: 1000px) {

  html, body {
  overflow-x: hidden;
}

  #header, 
  #servis, 
  #describe, 
  #about-info,
  #contact {
    padding-left: 0px;
    padding-right: 0px;
    box-sizing: border-box;
  }

  

  #about-info .girl,
  #about-info .about-text {
    width: 100%;
    height: auto;
  }

  #about-info .about-text {
    padding: 40px 20px;
    text-align: center;
  }

  #about-info .about-text h2 {
    text-align: center;
    padding-bottom: 20px;
  }

  #describe .paragraf p {
    padding: 20px 22px;
  }

  #servis .servis-info {
    width: 45%;
    margin: 0;
    padding: 22px 0;
  }

  #servis .servis-text {
    padding: 0px 30px;
  }
}

/*MARK:900
*/
@media (max-width: 900px) {
  #header {
    padding: 10px 30px;
  }

  #navbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  #navbar li {
    padding: 10px 8px;
  }

  #servis {
    padding: 70px 40px 0 40px;
  }

  #servis .servis-info {
    width: 100%;
    justify-content: flex-start;
  }

  #servis .servis-text p {
    font-size: 18px;
    text-align: center;
  }
}

/*MARK:800
*/
@media (max-width: 800px) {
  #servis {
    padding: 60px 20px;
    text-align: center;
  }

  #servis .servis-table {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #servis .servis-info {
    width: 70%;
    justify-content: center;
  }

  #describe .paragraf p {
    font-size: 15px;
    line-height: 1.5;
    padding: 40px 20px;
  }

  /* Navbar – stejný styl jako u ostatních stránek */
  #navbar {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  #mobil, #close {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 26px;
    color: var(--blc);
    z-index: 1000;
  }

  #mobil {
    margin-left: auto;
  }

  #close {
    position: absolute;
    right: 20px;
    top: 20px;
    display: none;
  }
}

/*MARK:700
*/
@media (max-width: 700px) {
  #about-info .about-text {
    text-align: justify;
  }

  #about-info {
    flex-direction: column;
  }

  #about-info .about-text p {
    padding: 20px 30px;
    }

  #servis {
    padding: 50px 20px 0 20px;
  }

  #servis .servis-info img {
    width: 35px;
    height: 35px;
  }

  #servis .servis-info p {
    font-size: 15px;
  }

  #describe .paragraf p {
    font-size: 14px;
  }
}

/*MARK:600
*/
@media (max-width: 600px) {
  #contact {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  #about-info .about-text {
    padding: 20px;
  }

  #servis {
    padding: 0;
  }

  #servis .servis-text {
    padding: 30px;
  }

  #servis .servis-info {
    align-items: center;
    text-align: center;
  }

  #servis .servis-info img {
    margin-bottom: 10px;
  }

  #describe {
    padding: 0 20px;
  }

  
  #describe .paragraf p {
    border: none;
    column-count: 1;
    font-size: 14px;
    padding: 20px 0;
  }
}
