
html {
  scroll-padding-top: 130px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0px;
  
}

/* header-navbar */

.header {
  background-color: rgb(255, 255, 255);
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 0;
  z-index: 9999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  width: 100%;
  box-sizing: border-box;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 90px;
}

.logo-text {
  font-size: 30px;
  line-height: 1.2;
  color: #000000;
}


.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 25px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 60px;
}

.nav-menu li a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  transition: color 0.3s;
}

/* Burger menu styles */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  z-index: 10000;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: #000000;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


@media (max-width: 768px) {

  .header {
    padding: 10px 0;
    position: sticky;
    top: 0;
  }

  .nav-container {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 0 15px;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
  }

  .logo-text {
    font-size: 14px;
    line-height: 1.2;
  }

  .logo img {
    height: 50px;
  }

  .nav {
    position: relative;
    width: auto;
    gap: 0;
    font-size: 12px;
    margin-left: auto;
    z-index: 1000;
  }

  .nav-menu {
    position: fixed;
    top: 69px;
    left: 0;
    flex-direction: column;
    width: 100%;
    background-color: #ffffff;
    border-top: none;
    padding: 0;
    margin: 0;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    max-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: max-height 0.3s ease-out;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    box-sizing: border-box;
  }

  .nav-menu.active {
    max-height: 80vh;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu li a {
    font-size: 16px;
    padding: 15px 20px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    color: #000000;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }

  .nav-menu li a:hover {
    background-color: #f5f5f5;
  }

  .burger {
    display: flex;
  }
}







body {
  padding-top: 0;
}

main {
  transition: none;
}









a {
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

a::before,
a::after {
  content: "";
  position: absolute;
  background-color: #000000;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transition: transform 0.4s;
}

a::before {
  top: 0;
  left: 0;
  transform-origin: left;
}

a::after {
  bottom: 0;
  right: 0;
  transform-origin: right;
}

a:hover::before,
a:hover::after {
  transform: scaleX(1);
}




/* footer-formular */


footer {
    background-color: #444652;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}


.newsletter-title {
    font-size: 24px;
    margin: 20px 0;
}

.newsletter-text {
    font-size: 16px;
}



.name-label,
.email-label {
    font-weight: bold;
    display: block;
    margin: 10px 0 5px;
}

input {
    width: 90%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ffffff;
    border-radius: 5px;
}

.submit-button {
    background-color: #7d98c9;
    color: #000000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.copyright-text {
    margin-top: 20px;
    font-size: 14px;
    
}




/* hlavny obrazok */


.main-img{
width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.35); 
  z-index: 2;}

.obrazok{
  position: relative;
  width: 100%;
  height: 95vh;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

@media (max-width: 1024px) {
  .obrazok {
    height: 80vh;
  }
}

@media (max-width: 768px) {
  .obrazok {
    height: 65vh;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  }
}

@media (max-width: 480px) {
  .obrazok {
    height: 50vh;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
  }
}


.hero-text {
  position: absolute;
  z-index: 3;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(247, 244, 244);
  text-align: center;
  width: 90%;
  max-width: 100%;
}

.hero-text h1 {
  font-size: 6rem;
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
}

@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 5rem;
  }
}

@media (max-width: 768px) {
  .hero-text {
    top: 40%;
    width: 95%;
  }

  .hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .hero-text p {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-text {
    top: 40%;
  }

  .hero-text h1 {
    font-size: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }

  .hero-text p {
    font-size: 0.9rem;
  }
}




#about-us {
    padding: 40px 20px;
    text-align: center;
}

#about-us h2 {
    font-size: 56px;
    margin-bottom: 10px;
}

#about-us p {
    font-size: 28px;
    margin-bottom: 30px;
    color: #555;
}






/* obrazky-stred */

.gallery {
    width: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.image-container {
    position: relative;
    width: 900px; 
    max-width: 90%; 
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.image-container:hover .overlay {
    opacity: 1;
    pointer-events: auto;
}

.text {
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 10px;
}

