
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'TuskerGrotesk', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Header */
.top-header {
    background-color: #9d7939;
    color: white;
    padding: 8px 0;
    font-size: 12px;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-left span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-right {
    font-size: 11px;
    opacity: 0.9;
}

/* Main Navigation */
.main-nav {
  background: url('blueprint.jpg') no-repeat center center; /* cesta k obrázku */
  background-size: cover; /* roztáhne obrázek, aby pokryl celý pruh */
  padding: 20px 0; /* trochu vnitřní mezery pro logo a menu */
  position: relative;
  z-index: 10;
}

.main-nav::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgb(255, 255, 255,0.8); /* světlý filtr přes obrázek */
  z-index: 1;
}
.main-nav > * {
  position: relative;
  z-index: 2; /* aby logo a menu byly nad overlayem */
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    background-color: transparent;
    color: white;
    padding: 1px 1px;
    text-align: center;
    border-radius: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 500px;
    height: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    padding: 10px 15px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1e5fa3;
}

.nav-menu a.active {
    background-color: #dbdbdb;
    border-radius: 0px;
}



/* Galerie na dva sloupce */
.rekonstrukce-akce {
  max-width: 1200px;
  margin: 40px auto;
  text-align: center;
}

.rekonstrukce-akce h3 {
  font-size: 26px;
  margin-bottom: 30px;
  color: #005b96;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Dva sloupce vedle sebe (PŘED a PO) */
.rekonstrukce-columns {
  display: flex;
  justify-content: center;
  gap: 40px;
}

/* Každý sloupec */
.rekonstrukce-column {
  flex: 1;
  max-width: 550px;
}

.rekonstrukce-column h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #005b96;
}

/* Grid pro fotky – 3 vedle sebe */
.rekonstrukce-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.rekonstrukce-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rekonstrukce-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsivita pro mobil */
@media (max-width: 900px) {
  .rekonstrukce-columns {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .rekonstrukce-grid {
    grid-template-columns: repeat(2, 1fr); /* Na mobilu 2 vedle sebe */
  }
}

/* Šipky */
.slider-section {
  width: 100%;
  background: url('blueprint.jpg') center center / cover no-repeat;
  padding: 50px 0; /* trochu místa nahoře a dole */
}
.slider-wrapper {
  position: relative;
  width: 1000px;
  max-width: 100%;
  margin: 40px auto;
  overflow: hidden;
}

.slider {
  display: flex;
  width: 100%;
  transition: transform 0.8s ease;
}

.slider img {
  width: 100%;
  flex-shrink: 0; /* <== důležité */
  height: 450px;
  object-fit: cover;
}

/* Šipky */
.slider-wrapper .prev,
.slider-wrapper .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  border-radius: 0%;
}

.slider-wrapper .prev:hover,
.slider-wrapper .next:hover {
  background-color: rgba(0,0,0,0.6);
}

.slider-wrapper .prev {
  left: 10px;
}

.slider-wrapper .next {
  right: 10px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1a1a1a;
  color: white;
  padding: 1rem 2rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  z-index: 9999;
  font-size: 0.95rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 300px;
}

.cookie-banner a {
  color: #4da3ff;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.cookie-buttons button {
  background-color: #4da3ff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.cookie-buttons button:hover {
  background-color: #3c91e6;
}

@media (min-width: 600px) {
  .cookie-banner {
    flex-wrap: nowrap;
  }

  .cookie-buttons {
    margin-top: 0;
  }
}

/* Hero Section */
.hero {
    background-color: #f4f1f0;
    width: 100%;
    padding: 60px 0;
    width: 100%;
    height: 60vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.3)),
        url('back.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    position: relative;
}
.hero-image {
    width: 100%;
    max-width: 1200px;
    display: block;
    margin: 0 auto;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-overlay {
    width: 100vw;
}

.hero-content {
    text-align: justify;
    max-width: 600px;
    padding-left: 40px;
}

.hero h1 {
    color: #ffffff;
    font-size: 36px;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero .highlight {
    color: #ffdd44;
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.service-image {
    height: 150px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.service-card:hover .service-image img {
    filter: grayscale(0%);
}

.service-card h3 {
    padding: 20px 15px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    letter-spacing: 1px;
    line-height: 1.4;
}

.kontakt-blok {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.6;
}

.kontakt-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}

.kontakt-box {
  flex: 1;
  min-width: 280px;
  margin: 10px 20px 20px 0;
}

.kontakt-box h3 {
  font-size: 20px;
  color: #005b96;
  margin-bottom: 10px;
}

.kontakt-box a {
  color: #005b96;
  text-decoration: none;
  font-weight: bold;
}

.kontakt-pravni {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.kontakt-mapa iframe {
  width: 100%;
  height: 300px;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.team-section {
  padding: 60px 20px;
  background-color: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
}

.team-section h2 {
  font-size: 28px;
  color: #005b96;
  margin-bottom: 40px;
  text-align: center;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.team-card {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.team-card h3 {
  font-size: 20px;
  color: #005b96;
  margin-bottom: 5px;
}

.team-card p {
  font-size: 16px;
  margin: 6px 0;
}

.team-card a {
  color: #005b96;
  text-decoration: none;
}

.team-card a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-header .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
  
 
    .main-nav .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card h3 {
        font-size: 12px;
        padding: 15px 10px;
    }
}
.contact-footer {
  background-color: #005b96; /* modrý pruh */
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 0.95rem;
}

.contact-footer a {
  color: white;
  text-decoration: underline;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  position: relative;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  padding: 10px 15px;
   font-size: 18px;
  display: block;
  color: #005b96;
  font-weight: bold;
}

.has-submenu .submenu {
  display: none;
  position: absolute;
  background-color: #f4f4f4;
  top: 100%;
  left: 0;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 100;
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu li {
  border-bottom: 1px solid #ddd;
}

.submenu li a {
  padding: 10px;
  color: #005b96;
}

.submenu li a:hover {
  background-color: #e6f0fa;
}
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.custom-form-container {
  max-width: 600px;
  margin: 40px auto;
  background-color: #eaeaea; /* světle šedá jako v logu */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.custom-form-container h2 {
  margin-bottom: 10px;
  color: #333;
}

.custom-form-container p {
  margin-bottom: 20px;
  color: #555;
  font-size: 14px;
}

.custom-form-container input,
.custom-form-container textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
}

.custom-form-container button {
  background-color: #005b96;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.custom-form-container button:hover {
  background-color: #005b96;
}

.form-message {
  margin-top: 15px;
  font-weight: bold;
  color: green;
}
.service-detail {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.image-text-block {
  display: flex;
  margin: 40px 0;
  gap: 30px;
  align-items: center;
}

.image-text-block.left img { order: 1; }
.image-text-block.right { flex-direction: row-reverse; }

.image-text-block img {
  width: 45%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-text-block .text {
  flex: 1;
}

.gallery h3 {
  margin-top: 60px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}


/* Lightbox styl */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.lightbox .close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.lightbox .arrow {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  padding: 10px;
  cursor: pointer;
  user-select: none;
}

.lightbox .arrow.left {
  left: 30px;
}

.lightbox .arrow.right {
  right: 30px;
}
.obsah img {
  width: 100%;
  max-width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}
.blok {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.obsah {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
}

.obsah img {
  max-width: 45%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.obsah .text {
  flex: 1;
}

.obsah.opacne {
  flex-direction: row-reverse;
}

/* Responsivita */
@media (max-width: 768px) {
  .obsah {
    flex-direction: column;
    text-align: center;
  }

  .obsah.opacne {
    flex-direction: column;
  }

  .obsah img {
    max-width: 100%;
  }
}
.text-blok {
  max-width: 600px;   /* maximální šířka textu */
  width: 100%;
  margin: 0 auto;     /* zarovnání na střed */
}
.sekce-nadpis {
  font-size: 32px;
  color: #005b96;
  margin: 40px 0 20px;
  border-bottom: 2px solid #005b96;  /* šedohnědá barva jako v logu */
  padding-bottom: 10px;
}
.intro-text {
    background-color: #f8f8f8;
    padding: 60px 0;
    text-align: center;
}

.intro-text h2 {
    font-size: 28px;
    color: #005b96;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 16px;
    color: #005b96;
    max-width: 800px;
    margin: 0 auto 20px auto;
    line-height: 1.7;
 }

.offer-heading {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center; /* vycentruje celý seznam */
  gap: 10px;
}

.offer-list li {
  display: flex;
  align-items: center;
  justify-content: center; /* vycentruje ikonu + text */
  font-size: 18px;
  text-align: center;
}

.offer-list .icon {
  margin-right: 8px;
  color: #ffffff;
  font-size: 18px;
}

/* Navigační menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: white;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  .main-nav .container {
    flex-direction: column;
  }
  
  @media (max-width: 768px) {
    .logo-image {
      max-width: 250px; /* nebo menší, např. 120px */
      height: auto;
    }
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 30px;
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger span {
    height: 4px;
    width: 30px;
    background-color: #000;
    margin: 4px 0;
    border-radius: 2px;
  }
  
  @font-face {
  font-family: 'TuskerGrotesk';
  src: url('fonts/TuskerGrote.wsk-6500Mediumoff2') format('woff2'),
       url('fonts/TuskerGrotesk-6500Medium.woff') format('woff'),
       url('fonts/TuskerGrotesk-6500Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
