@charset "utf-8";

/* ZÁKLAD */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #111;
  color: #fff;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(255, 165, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.logo-container {
  display: flex;
  align-items: center;
}

/* LOGO */
.logo img {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* MENU */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: #ffa500;
  transition: width 0.3s;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.nav-links a:hover {
  color: #ffa500;
}

.nav-links a:hover::after {
  width: 100%;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* HERO */
.hero {
  background-color: #111;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* NADPIS */
.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffa500;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeSlideIn 1s ease-out forwards;
}

/* POPIS */
.hero-description {
  font-size: 1.1rem;
  color: #ddd;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeSlideIn 1s ease-out forwards;
}

/* SLUŽBY */
.service-group {
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.8s forwards;
}

.service-group h3 {
  color: #ffa500;
  font-weight: 700;
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}

.service-group ul {
  list-style: inside disc;
  color: #ddd;
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.service-group ul li {
  margin-bottom: 0.5rem;
}

/* ANIMÁCIE */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* GALÉRIA */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 2rem auto 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.4);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.5s ease;
  border-radius: 8px;
}

.gallery-item .hover-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.gallery-item:hover .hover-img {
  opacity: 1;
}

.gallery-item:hover img:not(.hover-img) {
  opacity: 0;
}

/* KONTAKT */
#kontakt {
  text-align: center;
  padding: 50px 20px;
}

.contact-info p {
  font-size: 1.2rem;
  margin: 10px 0;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #ffa500;
}

/* FOOTER */
.footer {
  background-color: #111;
  color: #fff;
  padding: 1rem 0;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(255, 165, 0, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffa500;
}

.footer-text {
  font-size: 0.75rem;
  color: #ccc;
}

/* ODSADENIE KVÔLI FIXED NAVBAR */
#onas {
  padding-top: 140px;
}

/* MOBILE */
@media (max-width: 768px) {
  
  .navbar {
    padding: 0.6rem 1rem;
  }

  .logo img {
    height: 45px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #111;
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 0.8rem 0;
  }

  .nav-links a {
    display: block;
    width: 100%;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}