/* Reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scrollbar-gutter: stable;
}

body {
  font-family: Verdana, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

/* Textové prvky */
p,
ul li {
  font-size: 1rem;
}

h1, h2, h3 {
  color: black;
}

/* Header a Navbar */
.header {
  background: url(pozdadie_pristav.jpg);
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  position: relative;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 7rem;
  width: 100%;
  background-color: white;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
}

.logo {
  width: 100%;
  height: auto;
}

.navbar ul {
  display: flex;
  gap: 1rem;
}

.navbar ul li {
  list-style: none;
}

.navbar ul li a {
  text-decoration: none;
  color: black;
  font-size: 1.25rem;
  padding: 0.5rem 0.75rem;
}

.navbar ul li a:hover {
  color: red;
  text-decoration: underline;
}

.logo2 img {
  max-width: 100%;
  height: auto;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.paragraf {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.paragraf p {
  text-align: center;
  font-size: 2rem;
  color: white;
}

/* Sekcia 2 – O nás */
.section2 {
  width: 100%;
  background-color: white;
  padding: 2rem 1rem;
}

.section2 h1 {
  text-align: center;
  font-family: 'Curlz MT', cursive;
  margin-bottom: 1rem;
}

.section2 p {
  text-align: center;
  margin: 1rem auto;
  max-width: 900px;
  padding: 0 1rem;
  line-height: 1.6;
}

/* Služby */
.sluzby-background,
.kontakt-background {
  background-color: white;
  width: 100%;
}

.sluzby {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  padding: 2rem 0;
}

.kontakt {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
}

/* Texty vpravo */
.right, .right2 {
  color: black;
}

.right p, .right2 p {
  text-align: justify;
}

.right ul li,
.right2 ul li {
  list-style: none;
  margin-top: 0.5rem;
}

.right ul li a,
.right2 ul li a {
  text-decoration: none;
  color: black;
  font-size: 1rem;
}

.right ul li a:hover,
.right2 ul li a:hover {
  color: red;
}



/* Obrázky */
.middle img,
.left img {
  width: 70%;
  height: auto;
  border-radius: 20px;
  margin: 0.5rem 0;
  margin-left: 6rem;
}

.middle2 img,
.left2 img {
  width: 100%;
  height: 250px;
  margin: 0.5rem 0;
}

.middle img:hover{

  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Efekt 2 – stmavenie a zosvetlenie */
.gallery img:hover {
  filter: brightness(1.2);
}

/* Efekt 3 – jemné otočenie */
.gallery img:hover {
  transform: scale(1.05) rotate(1deg);
}

/* Efekt 4 – farebný rámček */
.gallery img:hover {
  border: 3px solid #4CAF50;
  transform: scale(1.05);
}

.left img:hover {
  opacity: 0.5;
}

/* Mapy */
.middle2 iframe,
.left2 iframe {
  width: 100%;
  height: 250px;
  margin: 1rem 0;
  border: none;
}

/* Certifikáty */
.section3 {
  background-color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.section3 h1 {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 1rem auto;
}

.section3 a {
  display: inline-block;
  margin: 0 2rem 1rem 2rem;
}

.section3 img {
  height: auto;
  max-height: 200px;
  width: auto;
  max-width: 100%;
}

/* Čiary */
.ciara, .ciara2 {
  height: 2px;
  background-color: rgba(137, 95, 9, 0.8);
  margin: 1rem auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.ciara {
  max-width: 70%;
}

.ciara2 {
  width: 100%;
}

/* Footer */
.footer {
  background-color: rgba(60, 56, 58, 0.8);
  color: black;
  text-align: center;
  padding: 1rem 0;
  font-size: 1rem;
}

/* Scroll padding pre kotvy */
#section25, #section26, #section27, #section28 {
  scroll-margin-top: 7rem;
}


.picture1 img{
  width: 100%;
  height: auto;
}

.obsah {
  width: 65%;
  margin: 0 auto;
  background-color: white;
  margin-top: 0rem;
  margin-bottom: 1rem;
  padding-top: 0rem;
}

.obsah3 {
  width: 65%;
  margin: 0 auto;
  background-color: white;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-top: 7rem;
  text-align: center;
}

.obsah h1{
  text-align: center;
  font-family: Verdana, sans-serif;
}

.obsah h2{
  font-family: Verdana, sans-serif;
  margin-bottom: 1rem;
}

.obsah h3{
  font-family: Verdana, sans-serif;
  margin-bottom: 0.5rem;
}

.obsah ul li{
  margin-left: 1.5rem;
  font-family: Verdana, sans-serif;
}

.lod{
  width: 100%;
  height: auto;
}

.obsah p{
  text-align: justify;
}




/* RESPONSÍVNE úpravy */
@media (max-width: 900px) {
  .sluzby,
  .kontakt {
    grid-template-columns: 1fr;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .navbar ul li a {
    font-size: 1rem;
  }

  .logo {
    width: 30vw;
    margin: 0;
  }

  .paragraf p {
    font-size: 1.5rem;
  }

  .logo2 img {
    width: 90%;
  }
}

.gallery{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    justify-content: center;
}

.gallery img{
    width:250px;
    height:180px;
    object-fit:cover;
    cursor:pointer;
    border-radius:8px;
    transition:.3s;
}

.gallery img:hover{
    transform:scale(1.05);
}