* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

header {
  position: sticky;
  top: 0;
  background-color: #000;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.logo-wrapper {
transition-duration: 1s;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(-5%);
  z-index: 15;
}

.logo-wrapper img {
transition-duration: 1s;
  height: clamp(60px, 9vw, 90px);
}

.scrolled .logo-wrapper {
    transition-duration: 1s;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(-20%);
  z-index: 15;
}


.scrolled .logo-wrapper img {
    transition-duration: 1s;
  height: 4vw;
}


/* Navigace */
.nav-left {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(30px, 8vw, 100px); /* mezera mezi odkazy a krajem/centrem */
  max-width: 100%;
}

.nav-left a {
  color: #a3a3a3;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-left a:hover {
  color: #ffffff;
}

/* Hamburger menu */
.hamburger {
  display: none;
  position: absolute;
  right: 20px;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .nav-left {
    flex-direction: column;
    background-color: #000;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    display: none;
    gap: 20px;
    padding: 20px;
    z-index: 999;
  }

  .nav-left.active {
    display: flex;
  }

  .logo-wrapper img {
  height: 80px;
}

.scrolled .logo-wrapper img {
    transition-duration: 1s;
  height: 70px;
}

.scrolled .logo-wrapper {
transition-duration: 1s;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(-5%);
  z-index: 15;
}

  .hamburger {
    display: block;
  }
}

/*----------------------------------------------------------------------*/

.services-section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.services-section h1 {
  font-size: 36px;
  margin-bottom: 40px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-box {
  flex: 1 1 300px;
  max-width: 300px;
  border: 1px solid #eee;
  padding: 20px;
  background-color: #fafafa;
  transition: transform 0.3s;
}

.service-box img {
  width: 70%;
  height: auto;
  margin: 50px;
}

.service-box h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 16px;
  color: #555;
}

.service-box:hover {
  transform: translateY(-5px);
}

.catalogs-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.catalogs-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.catalogs-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.catalog-link {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.catalog-link:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #ececec;
}

.catalog-img-wrapper {
  width: 33.33%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.catalog-img-wrapper img {
  max-height: 100px;
  width: auto;
}

.catalog-text {
  width: 66.66%;
  padding: 20px;
}

.catalog-text h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.catalog-text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Responsivita */
@media (max-width: 768px) {
  .catalog-link {
    flex-direction: column;
    text-align: center;
  }

  .catalog-img-wrapper,
  .catalog-text {
    width: 100%;
  }

  .catalog-img-wrapper {
    padding: 15px 0;
  }

  .catalog-text {
    padding: 15px;
  }
}







/*----------------------------------------------------------------------*/

.footer {
  background-color: #1c1c1c;
  color: #aaa;
  padding: 80px 20px 40px;
  position: relative;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo {
  text-align: center;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.footer-logo img {
  height: 80px;
}

.footer-col-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-top: 10px;
  margin-bottom: 180px;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-col h3 {
  font-size: 16pt;
  margin-bottom: 12px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 18px;
  color: #aaa;
  font-size: 13px;
}

.footer-col a {
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 16px;
  font-size: 12px;
  color: #aaa;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.footer-bottom a {
  color: #aaa;
  text-decoration: none;
  margin: 0 6px;
  font-size: 12px;
}

.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-col-group {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .footer-logo img {
    height: 50px;
  }
}