/* Základní reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Základ těla stránky */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  color: #333;
}
/* === HOVER EFEKT NA OBRÁZKY === */
.reference-item img {
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.reference-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  z-index: 9999;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 92%;
  max-height: 92%;
  transform: scale(0.9);
  transition: transform 0.35s ease;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.lightbox.active img {
  transform: scale(1);
}

/* ŠIPKY */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
  padding: 20px;
  user-select: none;
  transition: opacity 0.3s;
}

.lightbox-arrow:hover {
  opacity: 0.6;
}

.lightbox-arrow.left {
  left: 30px;
}

.lightbox-arrow.right {
  right: 30px;
}

/* Zákaz scrollování */
body.no-scroll {
  overflow: hidden;
}

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
      color: #1f2937;
      line-height: 1.6;
      background-color: #ffffff;
    }

    section {
      padding: 80px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    h1 {
      font-size: 3rem;
      margin-bottom: 1rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 0.3rem;
      flex-wrap: wrap;
      width: 100%;
    }

    .logo-bittner {
      color: #257243;
    }

    .logo-separator {
      color: #DEDEDE;
    }

    .logo-projekt {
      color: #DEDEDE;
    }

    h2 {
      font-size: 2.5rem;
      margin-bottom: 2rem;
      font-weight: 600;
      text-align: center;
      color: #1f2937;
    }

    h3 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      font-weight: 600;
      color: #1f2937;
    }

    p {
      font-size: 1.1rem;
      line-height: 1.8;
      color: #4b5563;
    }

    .hero {
      background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                  url("images/hero.jpg") center/cover no-repeat;
      color: #fff;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .hero-content {
      max-width: 900px;
      padding: 0 20px;
      width: 100%;
    }

    .hero-subtitle {
      font-size: 1.4rem;
      margin-bottom: 2.5rem;
      opacity: 0.95;
      font-weight: 300;
      color: #ffffff;
      text-align: center;
    }

    .hero-contact {
      background: rgba(255, 255, 255, 0.95);
      padding: 2rem;
      border-radius: 8px;
      display: inline-block;
      color: #1f2937;
      margin-top: 2rem;
    }

    .hero-contact a {
      color: #0369a1;
      text-decoration: none;
      font-weight: 600;
      font-size: 1.2rem;
      display: block;
      margin: 0.5rem 0;
    }

    .hero-contact a:hover {
      color: #075985;
    }

    .hero-contact,
.stats {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 2rem;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      max-width: 900px;
      margin: 0 auto;
    }

    .stat-item {
      padding: 1rem;
    }

    .stat-number {
      font-size: 3rem;
      font-weight: 700;
      color: #0369a1;
    }

    .stat-label {
      font-size: 1.1rem;
      color: #4b5563;
      margin-top: 0.5rem;
    }

    .o-nas-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .sluzby-section {
      background: #f9fafb;
    }

    .sluzby-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
    }

    .sluzba-kategorie {
      background: white;
      padding: 2rem;
      border-radius: 8px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .sluzba-kategorie h3 {
      color: #0369a1;
      margin-bottom: 1.5rem;
      padding-bottom: 1rem;
      border-bottom: 2px solid #e5e7eb;
    }

    .sluzba-kategorie ul {
      list-style: none;
      padding: 0;
    }

    .sluzba-kategorie li {
      padding: 0.6rem 0;
      padding-left: 1.5rem;
      position: relative;
      color: #4b5563;
    }

    .sluzba-kategorie li:before {
      content: "▪";
      position: absolute;
      left: 0;
      color: #0369a1;
      font-weight: bold;
    }

    .reference-section {
      background: #ffffff;
    }

    .reference-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
    }

    .reference-item {
      background: white;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .reference-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .reference-item img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .reference-item-content {
      padding: 1.5rem;
    }

    .reference-item h3 {
      font-size: 1.2rem;
      color: #0369a1;
      margin-bottom: 0.5rem;
    }

    .reference-item p {
      font-size: 1rem;
      color: #6b7280;
    }

    .kontakt-section {
      background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
                  url("images/hero1.jpg") center/cover;
      color: white;
    }

    .kontakt-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 3rem;
      margin-top: 3rem;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .kontakt-item {
      text-align: center;
    }

    .kontakt-item strong {
      display: block;
      font-size: 1.2rem;
      margin-bottom: 0.8rem;
      color: #e0f2fe;
    }

    .kontakt-item a {
      color: #7dd3fc;
      text-decoration: none;
      font-size: 1.3rem;
      font-weight: 600;
    }

    .kontakt-item a:hover {
      color: #bae6fd;
    }

    .kontakt-item p {
      color: #e0f2fe;
      font-size: 1.1rem;
    }

    .firma-info {
      background: rgba(255, 255, 255, 0.1);
      padding: 2rem;
      border-radius: 8px;
      margin-top: 3rem;
      text-align: center;
    }

    .firma-info p {
      color: #e0f2fe;
      margin: 0.5rem 0;
    }

    footer {
      background: #1f2937;
      color: #9ca3af;
      text-align: center;
      padding: 2rem 20px;
      font-size: 0.95rem;
    }

    @media (max-width: 768px) {
      h1 {
        font-size: 2rem;
      }

      h2 {
        font-size: 1.8rem;
      }

      .hero-subtitle {
        font-size: 1.1rem;
      }

      section {
        padding: 50px 20px;
      }

      .stat-number {
        font-size: 2.5rem;
      }

      .reference-grid {
        grid-template-columns: 1fr;
      }
    }
  