/* 1. ZAKLADNE NASTAVENIA STRANKY  */


/* Nastavenie zakladneho stylu tela stranky */
body{
    margin: 0;            /* Margin = vonkajsi okraj prvku, ktory je nastaveny na 0 */
    padding: 0;           /* Padding = vnutorny okraj prvku, ktory je nastaveny na 0 */
    color: black;         /* Farba textu nastavena na  ciernu */
    font-family: 'Times New Roman', Times, serif;
}

cite{
display: none;

}



.hamburger{

  display: none;
}


/* 2. POMOCNE TRIEDY A FULLSCREEN POZADIE*/


.visually-hidden{         
    position: absolute!important;   /* Je tu nastavena absolutna pozicia prvku (dalej mame napr. static, relative, fixed) */
    width: 1px;                     /* Nastavenie sirky na 1px */           
    height: 1px;                    /* Slúži na nastavenie vysky, v tomto pripade 1px */
    padding: 0;
    margin: -1px;
    overflow:hidden;                /* Znamena to skryty obsah */
    clip-path: inset(0 0 0 0);      /* Orezanie viditelnej casti */
    white-space: nowrap;            /* Text sa nezalamuje */                   
}


/* Celostrankove pozadie(o nas,kontakt a galeria*/
.fullscreen{
    background-image: url("../images/pozadie.png"); /* Obrazok na pozadi prvku vyuzity v O nas, v celej galerii a v kontakte */
    background-size: cover;                         /* Obrazok vyplna cely prvok */
    background-position:center;                     /* Zarovnanie pozadia na stred */
    background-repeat: no-repeat;                   /* Obrazok sa nebude opakovat */
    background-attachment: fixed;                   /* Pozadie sa nehybe pri scrollovani */
    height: 185vh;
    width: 99vw;
    margin-top: -50px;
    margin-bottom: -80px;
    justify-content: center;                        /* Zarovnanie obsahu pri flex kontejnery */
}

#vs{
height:800px;


}





/* 3. NAVIGACIA A MENU*/


/* Horna navigacna lista */
nav{
    display: flex;                                   /* Flexbox = moderne rozlozenie prvkov na webovej stranke */
    align-items: center;                             /* Zarovnanie poloziek na stred */
    justify-content: space-between;                  /* Medzi polozkami je priestor */
    padding: 20px;
    background-image: url("../images/pozadie.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);     /* Vytvorenie tiena pod textom */
    font-size: 20px;                                 /* Nastavenie velkosti pisma */
}


/* Logo firmy v navigacii */
.Logo-firmy{
    height: 80px;  /*vyska obrazku */
    margin-right: auto; /*nastaveny margin z prava automaticky pre responzivitu  */
}


/* Styl odkazov v navigacii */
nav a{
    text-decoration: none;
    color: whitesmoke;
    transition: all 0.3s ease;    /* Plynula zmena pri hover (vsetkych vlastnosti) */
    padding: 5px 10px;
}


/* Efekt na odkaz v navigacii – odkaz sa mierne nadvihne */
nav a:hover {
    color: azure;
    text-decoration: underline double;
    text-underline-offset: 6px;       /* Tu mam nastaveny offset pre text; ked je hover, text sa podciarkne a toto urcuje medzeru ciary od textu */
    transform: translateY(-4px);      /* Tu je mierne nadvihnutie textu o -4px */
}


/* Zoznam poloziek v hlavnej navigacii */
.nav-list {
  display: flex;
  align-items: center;
  list-style: none;  /* Skrytie odrazok zoznamu ale mohol byt nastaveny trebars cyrcle vytvorilo by to kruzok vedla textu */
  width: 100%;
  margin: 0;
  padding: 0;
  justify-content: right;
}


/* Polozka v navigacnom zozname */
.nav-list li {
  position: relative; /* Rodic pre absolutne pozicovane submenu */
}


/* Vseobecne nastavenie li (pouzivane aj inde) */
ul li{
    float: left;       /* Tu je vytvorene obtiekanie */
    margin: 10px;
    padding: 10px;
    gap: 60px;         /* Je to odsadenie textu o 60px */   
    display: flex;
    color: azure;
}


.submenu-toggle {
  display: none;  /* Skryty checkbox pre ovladanie submenu*/
}


/* Pole pre submenu – polozka „Nasa praca“. */
.submenu-label {
  cursor: pointer;     /* Kurzor sa zmeni na ukazovatel na (ruku) */
  user-select: none;   /* Zakaze oznacovanie textu mysou */
  color: whitesmoke;
  font-size: 21.5px;
  padding: 5px 10px;
  display: block;
}


/* Rozbalovacie menu (submenu), skryte, kym nie je zaskrtnute */
.toogle-menu{
    display: none;
    position: absolute;
    left: 0;
    top: 55px; /* Top je posunutie zhora a v tomto pripade posunie submenu pod „Nasa praca“ */
    background: rgba(50, 30, 10, 0.97);
    padding: 15px 15px;
    border-radius: 8px;  /* Nastavenie radiusu  zaoblenia rohov, v mojom pripade 8px */    
    z-index: 10;         /*sluzi iba na prekritie niektory prvkov v osy z to znamena ked si pouzivatel zobrazi toogle tak to co je pod nim tak zakrije */               
    min-width: 190px;    /*minimalna sirka na 190px */ 
    background-image: url("../images/pozadie.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    line-height: 1.5;  /* Nastavenie vysky riadku –ake budu riadky od seba odsadene */   
    border: 1px solid black;
    box-shadow: 0 0 10px 5px rgba(245, 245, 245, 0.4);   
}


/* Polozky v rozbalovacom menu */
.toogle-menu li {
    margin: 12px 0;
    display: block;
}


/* Odkazy v rozbalovacom menu */
.toogle-menu a {
    color: #fff;
    font-size: 18px;
    text-underline-offset: 6px;
    margin: 10px;
}


/* Zobrazenie submenu po zaskrtnuti checkboxu */
.submenu-toggle:checked + .submenu-label + .toogle-menu {
    display: block;
}


/* 4. HERO BLOK A TEXTY*/


/* Hlavny hero blok s pozadim a kartami */
.hero{
    background-image: url("../images/pozadie.png");
    background-size: cover;
    background-position:center;
    background-attachment: fixed;
    border: 2px solid black;      /*to je podstate okraj 2px nastaveny okolo prvku hero + je nastaveny ako solid a do toho jeho farba je cierna*/
    border-radius: 10px;
    box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.4);    
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;       /* Ak je malo miesta, zalomi je to nahrada za <br> (zalomenie) */
    padding: 60px 90px;
    margin-top: 5px;
    min-height: 700px;
}


/* Úvodny textovy blok v hero sekcii */
.uvod{
    background: none;      /* Nastavenie, aby text nemal ziadne pozadie */
    border: 0;
    padding: 0;
    margin: 0;
    flex: 1 1 300px;       /* Urcuje, aka bude sirka flex prvku */
    max-width: 650px;     
}


/* Kontajner pre obrazkove karty v hero sekcii */
.image-cards{
    flex: 1 1 650px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 100px;
    
}


/* Jedna karta (odkaz s obrazkom a textom) */
.image-cards .card{
    position: relative;
    display: block;
    width: 250px;
    text-decoration: none;
    color: white;
}


/* Obrazky v kartach */
.image-cards img{
    height: 400px;
    width: 250px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    border: 1px solid black;
    box-shadow: 0 0 20px 5px rgba(160, 31, 31, 0.2);
    transition: filter 0.3s ease,opacity 0.3s ease;
    filter: brightness(100%);
  
}


/* Odkaz v kartach (nadpis / popis) */
.image-cards a{
    text-decoration: none;
    color:whitesmoke;
    text-align: center;
}


/* Text (nadpis a popis) zobrazeny cez obrazok pri hover */
.image-cards h2,
.image-cards p{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 90%;
}


/* Nadpis na karte  pozicia a velkost */
.image-cards h2 {
    top: 30%;
    font-size: 2.0em;
}


/* Popis na karte pozicia a velkost */
.image-cards p {
    top: 55%;
    font-size: 1.3em;
}


/* Efekt pri prechode mysou stmavenie obrazka */
.card:hover img {
    filter: brightness(30%)  drop-shadow(0 0 30px black);
}


/* Zobrazenie textu pri hover na kartu */
.card:hover h2,
.card:hover p {
    opacity: 1;
}


/* Nazov firmy v hero sekcii */
.nazov-firmy {
    position: absolute;
    top: 270px;         
    left: 90px;       
    font-size: 50px;
    font-family: Arial, Helvetica, sans-serif;
    color: azure;
    margin: 0;
    z-index: 1000;         
}




/* Uvitaci text pri uvode */
.uvitaci-text{
    font-size: 25px;
    margin-top: 200px;
    padding: 10px;
    color: azure;
   animation: plynulyNabeh 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    max-width: 52ch;  /*max nastavenie pre 52 znakov  */
}


/* Vseobecne odsadenie odstavcov */
p{
    margin: 20px 5px 15px 5px;
}


/* Animacia pre objavenie textu (scale + opacity) */
@keyframes appear {
    from { opacity: 0; transform: scale(0.5); }
    to   { opacity: 1; transform: scale(1);   }
}


/*5. O NAS – BOX, TEXT A LOGA */


/* Biely box pre sekciu O nas v index.html */
.box{
  height: 500px;
  position: relative;
  background-color: white;
  border-radius: 5px;
  border: 1px solid black;
  border-bottom: 0px;
  background-size: cover;
  background-position:center;
  top: 30px;
  align-items: center;
  display: block;
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.3);
}


/* Text sekcie O nas vo vnutri boxu */
.o_nas_text{
  font-size: 27px;
  float: right;
  color: black;
  max-width: 500px;
  margin-top: -330px;
  margin-right: 200px;
}


/* Nadpis O firme */
.o-firme-nazov{
  color: whitesmoke;
  margin-top: 300px;
}


/* Logo pre sekciu O nas v boxe */
.o_nas_logo{
  display: block;
  left: 100px;
  margin: 100px;
  height: auto;
  width: 300px;
  bottom: 20px;
  

}


/* Nadpis O nas nad boxom */
.o_nas{
  color: black;
  float: right;
  margin-top: -400px;
  margin-right: 620px;
  font-size: 35px;
  text-decoration: double underline;
  text-underline-offset: 4px;
}


/* Logo firmy v sekcii vecsi obrázok */
.firma-logo{
  height: 400px;
  width: 450px;
  float: right;
  margin: 140px 120px 30px 20px;
  box-shadow: 0 15px 20px -10px rgba(4, 4, 4, 0.2), 
            0 8px 10px -6px rgba(0, 0, 0, 0.2);
            display: block;          
    
  
}


/* Text O firme  blokovy obsah */
#o_firme{
  margin: 40px;
  padding: 20px;
  max-width: 45ch;
  font-size: 25px;
  color: whitesmoke;
  vertical-align: top;
  line-height: 1.5;
  
}




/* Odstup odstavcov v #o_firme */
#o_firme p{
  margin-top: 20px;     /*vonkajsi okraj z hora nastaveny na 20px */
  padding-top: 15px;    /*vnutorny okraj z hora nastaveny na 15px  */
  padding-bottom: 20px;  /*vnutorny okraj z dola 15px  */
}


/*6. TLACIDLO NAHOR (kotva) */


.up-button{
  border-radius: 50%;
  background-color: rgba(165, 42, 42, 0.325);
  float: right;
  height: 30px;
  width: 30px;
  margin-top: -50px;
  margin-right: 20px;
  border: 3px solid white;
  text-decoration: none;
  color: aliceblue;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  transition:all 0.5s ease;
}


/* Urobil som len hover efekt  ked sa prejde kurzorom nan, zmeni sa farba na zelenu a zvecsi sa font */
.up-button:hover{
  font-size: 30px;  
  background-color: green;
  cursor: pointer;
}


/*7. REALIZACIA je v index.html a PARTNERI v o_nas.html*/


#realizacia{
  color: rgb(0, 0, 0);
  margin: 100px;
  text-align: center;
  font-size: 20px;
}


h3{
  font-size: 18px;
}


mark{     /*zmena farby pozadie a farby textu pre znacku mark v zaklade zlte pozadie a cerveny text  */
  background-color: rgb(243, 243, 218);     /*nastavenie pozadia farby na bezovu zltu  */
  color: rgb(68, 51, 51);                  /*nastavenie farby pre pismo nieco v style ako cierno hneda  */ 

}

main {
  position: relative;
}

.partnery {
  /* display: none; */ /* Odkazované tvojím inline štýlom style="display: none;" v HTML */
  position: absolute;
  top: 150px;
  right: 25%;
  width: 450px !important;
  margin: 0 !important;
}

.partnery-list {
  display: grid !important;
  /* 3 rovnaké stĺpce, každý získa približne 120px pri šírke 400px s 20px medzerami */
  grid-template-columns: repeat(3, 1fr) !important; 
  gap: 20px !important;
  width: 100% !important;
}

.partnery a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: #fff !important;
  padding: 8px !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  width: 100% !important; /* Prispôsobí sa mriežke */
  height: 55px !important; /* Jednotná výška pre biele boxy */
  overflow: hidden;
}

.partnery img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important; /* Zabraňuje deformácii loga */
  display: block !important;
  transition: transform 0.3s ease;
}

.partnery img:hover {
  transform: scale(1.05);
}




#hl-tlacidlo{
height: 100px;
width: 100px;
border: none;
margin: 20px;
float: right;
margin-top: 300px;
font-size: 50px;
text-align: center;
background: rgba(0, 0, 0, 0.219);
color: white;
border-radius: 50%;

}



/*Pouzite v realizacnom procese v index.html  */
.realization-container{
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  height: auto;
  width: auto;
  padding: 15px;
  flex-wrap: wrap;
  gap: 15px;
  align-items: stretch;
  max-width: 1500px;
}


.realization-box{
  max-width: 18.9%;
  border: 1px solid white;
  border-radius: 10px;
  text-align: center;
  background-color: whitesmoke;
  flex: 0 1 19%; 
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}


.realization-box:hover{
  transform: scale(1.05);
  background-color: rgb(221, 221, 221);
}


.realization-box h3{
  text-decoration: underline; /* Je to podciarknutie textu */
  text-underline-offset: 6px;
  margin-top: 30px;
  font-size: 25px;
}


.realization-box p{
  font-size: 22px;
  padding: 15px;
  top: 30px;
}  


.realization-container img{
  height: 300px;
  width: 240px;
  display: flex;
  border: 1px solid white;
  border-radius: 5px;
}


/*8. GALERIA, VIDEO, AUDIO, TABULKA*/

/*Vseobecne nastavenia pre galeriu  */
.galeria{
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 25px;
  padding: 30px;
  flex-wrap: wrap;
  margin-top: 50px;
}

/*nastavenie obrazka pre galeriu*/
.galeria img{
  height: 360px;
  width: 430px;
  border-radius: 30px;
}




/*Hover efekt na vytvorenie zvecsenia obrazku */
.galeria img:hover{
  transform: scale(1.05);
  cursor: pointer;
  border-radius: 50px;
}


/*pouziva sa v ine.html na nastavenie nadpisu */
#vs-nadpis{
  color: white;
  margin: 40px;
  padding: 30px;
  font-size: 50px;
  text-decoration: double underline;
  text-underline-offset: 15px;
}


#video{
  width: 100%;
  max-width: 600px;
  margin: 10px auto;
  height: auto;
  border-radius: 15px;
}


#audio{
  height: 50px;
  width: 300px;
  top: 1300px;
  left: 100px;
  position: absolute;
  
}


/* Nastavenie tabulky */

table{
margin: 100px auto;
border-collapse: collapse;
width: 80%;
text-align: center;
height: 200px;
background: #f5f5f5;
border-radius: 15px;
border: 1px solid black;


}

thead{

height: 50px;

}


/* Nastavenie hlavicky a tela 
th,td{
  font-size: 20px;
  padding: 15px;
  max-width: 200px;
  line-height: 1.5;
  border-radius: 10px;
  background-color: rgba(250, 235, 215, 0.578);
  color: rgb(0, 0, 0);
}

*/





.obrazky-tabulka{
  height: 140px;
}


/* 9. MAPA A OBRAZOK MAPY */


.images-map{
  height: 700px;
  width: 1100px;
  background-image: url("../images/pozadie.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border: 4px solid rgb(221, 221, 221);
  border-radius: 10px;
  align-content: center;
  padding: 20px;
  color: white;
  margin: auto;
  box-shadow: 0 0 20px 5px rgba(0, 1, 1, 1);
  justify-content: center;
  display: flex;
  position: relative;
}


.images-map img{
  height: 700px;
  width: 800px;
  padding: 20px;
  margin-bottom: 100px;
  border-radius: 3px;
}


#mapa-nazov{
  text-align: center;
  text-decoration: double underline;
  text-underline-offset: 7px;
}


.mapa{
width:600px; 
height: 300px;


}

/*10. KONTAKTNA SEKCIA */


.kontakt{
  color: white;
  margin: 40px;
}


.kontakt-vyzitka{
height: 500px;
width: 800px;
display: block;
margin: 50px auto;
padding: 100px;

}







.formular-text{
  background-color: rgb(255, 255, 255);
  text-align: center;
  position: static;
  align-items: center;
  display: block;
  margin: 20px auto;
  width: 900px;
  padding: 15px 15px;
  border-radius: 12px;
  height: 400px;
  text-align: center;
}


.formular-text input,
.formular-text textarea{
  display: block;
  box-sizing: border-box;  /* Sirka sa rata vratane paddingu a borderu */
  width: 100%;
  margin: 10px;
  padding: 10px;
  border: 1px solid black;
  border-top: none;
  border-right:none ;
  border-left: none;
  border-radius: 6px;
  font-size: 1.00em;
}


/*11. PODPIS, MAZANIE A POMOCNE TRIEDY*/


.podpis{
  width: 500px;
  float: left;
}


/*12. FOOTER KONTAKT, MAPA, Copy a pravne INFO */


.footer-body{
  background-color: black;
  color: white;
  height: auto;
  margin-top: 70px;
  border: 3px solid rgba(45, 42, 42, 0.81);
  border-radius: 6px;
}


#nazov-kontakt{
  margin-top: 10px;  
  padding: 40px;
  margin-left: 50px;
  font-size: 35px;
  text-underline-offset: 5px;
}


.footer-kontakt{
  margin-left: 100px;
  font-size: 15px;
  max-width: 52ch;
}


.footer-kontakt a{
  color: beige;
  text-underline-offset: 6px;
  font-size: 19px;
}


/*pouzite definicne zonnamu a jeho nastaveny  */
.footer-kontakt dt:last-of-type + dd,
.footer-kontakt dt:last-of-type + dd + dd {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}


.footer-kontakt img{
  width: 50px;
  height: 50px;
  vertical-align: middle;
  padding: 3px;
  margin-left: 20px;
}


iframe {
  float: right;
  margin-top: -400px;
  margin-right: 80px;
}


dt{
  font-size: 30px;
  padding: 20px;
  left: 100px;
}


#lokalita{
  float: right;
  margin-top: -500px;
}


.find{
  float:right;
  position: relative;
  font-size: 25px;
  margin-top: -60px;
  margin-right: 110px;
  text-align: center;
  padding: 15px;
}


#copy{
  text-align: center;
  margin-top: -35px;
  color: antiquewhite;
  font-size: 15px;
}



.vyhladavanie{
margin-left: 128px;    
max-width: 780px;
padding: 30px;
border-radius: 5px;
color: whitesmoke;
top: 115px;
bottom: 40px;

}


#toggle-form, 
#toggle-formu {
    display: none;
}


.formular {
    display: none; 
    margin: 100px auto;
    width: 600px;
    background-color: aliceblue;              
    padding: 20px;
    text-align: center;
    color: #333;
    border-radius: 15px;

    box-shadow: 0 0 30px rgba(0,0,0,0.3); 
}


#toggle-form:checked ~ .formular,
#toggle-formu:checked ~ .formular {
    display: block;
    font-size: 15px;
    font-weight: 500;
}


.tlacidlo{
position:fixed;
bottom:40px;
right:40px;
font-size:20px;
background:#333;
color:white;
width:60px;
height:60px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
text-align: center;


}





ul-php{
display: flex;
margin-left: 200px;
gap: 20px;
top: 50px;
position: absolute;
font-size: 20px;
transition: 3s;
list-style: none;

}


ul-php li a{
text-decoration: none;
list-style: none;
color: #f5f5f5;
transition: 0.3s;
display: inline-block;

}



ul-php li:hover a {
    color: azure;
    text-decoration: underline double;
    text-underline-offset: 6px;     
    transform: translateY(-4px);    
}


.Logo-firmy-php{
margin: 30px;
height: 100px;
width: 120px;


}

#login{
text-align: center;
display: flex;
align-items: center;
flex-direction: column;
background-color: #fff;
color: black;
width: 400px;
height: 700px;
justify-content: center;
margin: 50px auto;
padding: 10px;
border: 2px solid black;
box-shadow: 0 4px 20px rgba(255, 0, 0, 0.08), 
            0 2px 5px rgba(127, 87, 87, 0.04);
border-radius: 12px;
top: 20px;



}

.label-log{
  border: none;
  border-bottom: 2px solid #e2e8f0; /* Iba spodná linka */
  outline: none;
  padding: 2px;
  background: transparent;
  transition: border-color 0.2s;
  margin: 10px;
  padding: 2px;
  text-align: left;

}

.label-log:focus{
border-bottom: 2px solid #6366f1;

}

.login-btn{
background-color: whitesmoke;
width: 100px;
height: 50px;
transition: background-color 0.2s;
padding: 5px;
border-radius: 10%;
border-color: 1px solid black;
text-align: center;
font-size: 15px;


}

#btn:focus{
background-color:#0004ff;
color:white;

}





/* =========================
   TABLET (1024px)
========================= */
@media (max-width: 1024px) {

  nav {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .nav-list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero {
    flex-direction: column;
    padding: 40px;
    align-items: center;
  }

  .image-cards {
    justify-content: center;
    margin-top: 40px;
  }

  .firma-logo,
  .o_nas_logo {
    float: none;
    margin: 20px auto;
    display: block;
  }

  .o_nas_text {
    float: none;
    margin: 20px auto;
    text-align: center;
  }

  .realization-container {
    justify-content: center;
  }

  .realization-box {
    flex: 1 1 45%;
  }

  .images-map {
    width: 95%;
    height: auto;
  }

  .kontakt-vyzitka {
    float: none;
    margin: 20px auto;
  }

  .formular-text {
    margin-left: auto;
    margin-right: auto;
  }
}


@media (max-width: 768px) {
    

    .fullscreen {
        height: auto;      
        width: 100vw;      
        margin: 0;          
        padding: 20px 10px;
    }

    /* 2. Oprava Navigácie (Menu) */
    nav {
        flex-direction: column; 
        gap: 15px;
        text-align: center;
    }



    .hamburger{
    display: block;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;

    }





    .nav-list {
      display: none;
    }

    .nav-list li, ul li {
        float: none;        
        margin: 5px 0;
        padding: 5px;
        gap: 0;
    }



  .nav-list.active{
    display: flex;
    flex-direction: column;
    width: 100%;
  }




    .toogle-menu {
        position: relative; 
        top: 10px;
        width: 100%;
        box-sizing: border-box;
    }

   
    .hero {
        padding: 20px 15px; 
        min-height: auto;   
        flex-direction: column; 
        align-items: center;
    }


    .nazov-firmy {
        position: relative; 
        margin: 20px 0;
        font-size: 32px;    
        text-align: center;
        top: 0;
        left: 0;
    }

    .uvod {
        max-width: 100%;   
    }

    .uvitaci-text {
        margin-top: 40px;  
        font-size: 25px;    
        text-align: center;
    }

    
    .image-cards {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .image-cards .card {
        width: 31%;
    }





.image-cards a{
    text-decoration: none;
    color:whitesmoke;
    text-align: center;
}


/* Text (nadpis a popis) zobrazeny cez obrazok pri hover */
.image-cards h2,
.image-cards p{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 90%;
    top: 32%;
}


/* Nadpis na karte  pozicia a velkost */
.image-cards h2 {
    top: 13%;
    font-size: 2.0em;
}



    

    .image-cards img {
        width: 100%;       
        height: 350px;      
    }




.realization-container{
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  height: auto;
  width: auto;
  padding: 15px;
  flex-direction: column;
  gap: 15px;
  align-items: stretch;
  max-width: 1500px;
}


.realization-box{
  max-width: 100%;
  border: 1px solid white;
  border-radius: 10px;
  text-align: center;
  background-color: whitesmoke; 
  align-items: center;
  
  transition: transform 0.3s ease;
}


.realization-box:hover{
  transform: scale(1.05);
  background-color: rgb(221, 221, 221);
}


.realization-box h3{
  text-decoration: underline; /* Je to podciarknutie textu */
  text-underline-offset: 6px;
  margin-top: 30px;
  font-size: 25px;
}


.realization-box p{
  font-size: 22px;
  padding: 15px;
  top: 30px;
}  


.realization-container img{
  max-width: 100%;
  margin: 20px;
  display: flex;
  border: 1px solid white;
  border-radius: 5px;
}



.images-map img{
  height: 480px;
  max-width: 300px;
  padding: 20px;
  margin-bottom: 100px;
  border-radius: 3px;
}


#mapa-nazov{
  text-align: center;
  text-decoration: double underline;
  text-underline-offset: 7px;

}


}












@media (max-width: 480px) {
    
    .fullscreen {
        height: auto;      
        width: 100%;      
        margin: 0;         
        padding: 40px 15px;
        box-sizing: border-box;
    }

    .hero {
        padding: 10px 20px; 
        min-height: auto;   
        flex-direction: column; 
        align-items: center;
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }

    .nazov-firmy {
        position: relative; 
        margin: 20px 0;
        font-size: 32px;    
        text-align: center;
        top: 0;
        left: 0;
    }

    .uvod {
        max-width: 100%;    
        box-sizing: border-box;
    }

    .uvitaci-text {
        margin-top: 40px;  
        font-size: 25px;    
        text-align: center;
    }

    .image-cards {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        box-sizing: border-box;
        width: 100%; 
    }

    .image-cards .card {
        width: 30%;
    }

    .image-cards a {
        text-decoration: none;
        color: whitesmoke;
        text-align: center;
    }

    .image-cards h2,
    .image-cards p {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        width: 85%;
        top: 20%;
    }

    .image-cards h2 {
        top: 5%;
        font-size: 1.4em;
    }

    .image-cards img {
        width: 100%;       
        height: 260px;      
        object-fit: cover; 
    }

.box{
  height: 600px;
  position: relative;
  background-color: white;
  border-radius: 5px;
  border: 1px solid black;
  border-bottom: 0px;
  background-size: cover;
  background-position:center;
  top: 30px;
  align-items: center;
  display: block;
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.3);
}


/* Text sekcie O nas vo vnutri boxu */
.o_nas_text{
  font-size: 22px;
  float: right;
  color: black;
  max-width: 500px;
  margin-top: 10px;
  margin-right: 10px;
}


/* Nadpis O firme */
.o-firme-nazov{
  color: whitesmoke;
  margin-top: 200px;
}


/* Logo pre sekciu O nas v boxe */
.o_nas_logo{
  display: block;
  margin: 5px;
  height: auto;
  width: 290px;
  bottom: 20px;
}


/* Nadpis O nas nad boxom */
.o_nas{
  color: black;
  float: right;
  margin-top: -400px;
  margin-right: 400px;
  font-size: 20px;
  text-decoration: double underline;
  text-underline-offset: 4px;
  }



    .realization-container {
        display: flex;
        justify-content: space-between;
        margin-right: 50px;
        margin-left: -40px;
        height: 100%;
        width: 100%; 
        padding: 15px;
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        max-width: 100%; 
        box-sizing: border-box; 
    }

    .realization-box {
        max-width: 250%;
        border: 1px solid white;
        border-radius: 10px;
        text-align: center;
        background-color: whitesmoke; 
        align-items: center;
        transition: transform 0.3s ease;
    }

    .realization-box:hover {
        transform: scale(1.05);
        background-color: rgb(221, 221, 221);
    }

    .realization-box h3 {
        text-decoration: underline; 
        text-underline-offset: 6px;
        margin-top: 30px;
        font-size: 20px;
    }

    .realization-box p {
        font-size: 20px;
        padding: 15px;
        top: 30px;
    }  

    .realization-container img {
        max-width: 100%;
        display: block; 
        border: 1px solid white;
        border-radius: 5px;
    }



    .images-map{
      max-width: 80%;


    }

    .images-map img {
        height: 100%; 
        max-width: 100%; 
        width: 100%;
        padding: 3px; 
        margin-bottom: 4px; 
        border-radius: 3px;
        box-sizing: border-box;
    }

    #mapa-nazov {
        text-align: center;
        text-decoration: double underline;
        text-underline-offset: 7px;
    



    }
      
.footer-body{
  display: flex;
  flex-direction: column;
  background-color: black;
  color: white;
  height: auto;
  margin-top: 15px;
  border: 3px solid rgba(45, 42, 42, 0.81);
  border-radius: 6px;
}


#nazov-kontakt{
  margin-top: 20px;  
  padding: 20px;
  margin: 0 auto;
  font-size: 25px;
  text-underline-offset: 5px;
}


.footer-kontakt{
  margin-left: 30px;
  font-size: 10px;
  max-width: 52ch;
}


.footer-kontakt a{
  color: beige;
  text-underline-offset: 6px;
  font-size: 19px;
}


/*pouzite definicne zonnamu a jeho nastaveny  */
.footer-kontakt dt:last-of-type + dd,
.footer-kontakt dt:last-of-type + dd + dd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}


.footer-kontakt img{
  width: 50px;
  height: 50px;
  vertical-align: middle;
  padding: 3px;
  margin-left: -120px;
}


iframe {
  float: right;
  margin-top: 20px;
  margin-right: 40px;
  max-width: 365px;
}


dt{
  font-size: 30px;
  
}

#lokalita{
  float: right;
  margin-top: -500px;
}


.find{
  float:right;
  position: relative;
  font-size: 25px;
  margin-top: 100px;
  margin: 10px;
  text-align: center;
  padding: 15px;
}


#copy{
  text-align: center;
  margin-top: 2px;
  height: 50px;
  color: antiquewhite;
  font-size: 15px;
  background-color: black;
  padding: 15px;
}




.up-button{
  margin-top:-370px;
  height: 50px;
  width: 50px;
  



}


.firma-logo{
height: 180px;
width: 200px;
  
}

#o_firme{
  margin: 5px;
  padding: 10px;
  max-width: 100ch;
  font-size: 25px;
  height:1600px;
  margin-bottom: 50px;
  color: whitesmoke;
  vertical-align: top;
  line-height: 1.5;
}



.partnery {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 20px auto !important; /* Väčší rozstup zhora aj zdola */
    width: 90% !important;
    max-width: 400px !important;
    clear: both !important;
   
  }

  .partnery-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
     margin-top: -1200px;
    
  
  }

  .partnery a {
    height: 48px !important;
    padding: 6px !important;
  }





#neexistujuce{
  display: none;



}

.galeria img{
  height: 300px;
  width: 350px;
  border-radius: 30px;
}

video ,audio{
display: none;

}


.kontakt-vyzitka{
height: 260px;
width: 370px;
margin: 0px;


}


.kontakt-vyzitka{
height: 200px;
width: 300px;
display: block;
margin: 10px;
margin: 0 auto;
padding: 10px;

}







.formular-text{
  background-color: rgb(255, 255, 255);
  text-align: center;
  position: static;
  align-items: center;
  display: block;
  margin: 20px auto;
  width: 250px;
  padding: 15px 15px;
  border-radius: 12px;
  height: auto;
  text-align: center;
}


.formular-text input,
.formular-text textarea{
  display: block;
  box-sizing: border-box;  /* Sirka sa rata vratane paddingu a borderu */
  width: 100%;
  margin: 10px;
  padding: 10px;
  border: 1px solid black;
  border-top: none;
  border-right:none ;
  border-left: none;
  border-radius: 6px;
  font-size: 1.00em;
}

#vs-nadpis{
  color: white;
  text-align: center;
  font-size: 30px;
  text-decoration: none;
}


#vs{
height: 1900px;

}






}












