

body {
  font-family: 'Roboto','Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #000000;
  scroll-behavior: smooth;
  padding-top: 1rem;
  max-width: 100%;

}

html {
  scroll-behavior: smooth;
  outline: none;
  caret-color: transparent;
  
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}



.content {
  padding: 40px;
  text-align: center;
  z-index: 1;
  position: relative;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(5px) brightness(0.5);
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 9;
  display: none;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: yellow;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  z-index: 10;
  border-radius: 10px;
}


.arrow-down-wrapper {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

}

.arrow-button {
  font-size: 3rem;
  background: none;
  
  border-radius: 50px;
  padding: 5px 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.arrow-button:hover {
  transform: translateY(5px);
}

.arrow-button:active {
  transform: translateY(10px);
}

.popup-image {
  width: 100%;
  max-height: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border-radius: 5px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.top-contact-info {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background-color: white;
  color: black;
  font-size: 0.9rem;
  padding: 0.5rem 2rem;
  text-align: left;
  user-select: none;
  border-bottom: 1px solid #eee;
}

.navbar {
  position: fixed;
  top: 2.2rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;

}

.navbar-left img {
  width: 150px;
}

.navbar-center {
  flex: 2;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.navbar-center a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 1.2rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.navbar-center a:hover,
.navbar-center a.active {
  border-bottom: 2px solid #0042d2;
  color: #0042d2;
}

.navbar-right {
  display: flex;
  gap: 2rem;
}

.cta-button {
  padding: 0.5rem 1rem;
  background-color: #0042d2;
  color: white;
  border: none;
  border-radius: 4px;
  margin-right: 40px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
  
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: 0.3s ease;
 
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

section {
  padding: 4rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
  
}

.section-heading h2 {
  font-size: 3.2rem;
  margin-bottom: 2rem;
  color: #0042d2;
  border-bottom: 5px solid #0042d2;
  display: inline-block;
  text-align: left;
  margin-bottom: 50px;
}

.hero-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  background-color: #fff;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 4rem;
  max-width: 50%;
  
}

.hero-left h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  
}

.hero-left h1 span {
  font-size: 3rem;
  color: #0042d2;
  margin-left: 100px;
}

.hero-left p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-right {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.hero-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}



.triangle {
  width: 350px;
  height: 400px;
  overflow: hidden;
}

.triangle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character img {
  width: 350px;
  height: auto;
  transform: translateY(-5px);
}

.triangle-left-top img {
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
.triangle-right-top img {
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}
.triangle-left-bottom img {
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  
}

.triangle-right-top {
  transform: translate(0px , 50px);
}

.triangle-left-bottom {
  transform: translate(0px , -100px);
}

.services {
  background-color: #fff;
  margin-bottom: 100px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-card {
  width: 350px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.image-container {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .image-container img {
  transform: scale(1.05);
}

.service-label {
  background-color: #0042d2;
  color: white;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: bolder;
  text-align: center;
  transition: background-color 0.3s ease;
}

.service-card:hover .service-label {
  background-color: #0042d2;
}

.about-modern {
  background-color: #fff;
  margin-bottom: 100px;
}

.about-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.about-left {
  flex: 1;
  min-width: 300px;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.about-graphics {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-triangle {
  width: 300px;
  height: 450px;
  overflow: hidden;
}

.about-triangle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-triangle-up img {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.about-triangle-down img {
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

.about-triangle-down {
  transform: translate(-70px , 15px);
}

.about-triangle-up {
  transform: translate(70px , -15px);
}




.footer {
  background-color: white;
  color: black;
  padding: 60px 20px 30px;
  border-top: 1px solid #ccc;
  margin-top: 100px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 0;
  min-width: 220px;
  font-size: 1em;
  
}


.footer-column p {
  flex: 1;
  min-width: 220px;
  margin-top: 15px;
  
}

.footer-logo {
  width: 250px;
  margin-bottom: 20px;
}

.footer-bottom-logo {
  margin-top: 15px;
  width: 150px;
  opacity: 1;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 2rem;
  color: #2a27e4;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.footer-column li {
  margin: 5px 0;
}

.footer-column a {
  color: black;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #0042d2;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 0.9em;
  color: black;
}

@media (max-width: 768px) {
  body {
    padding-top: 7rem;
    overflow-x: hidden;
    
  }

  .top-contact-info {
  display: flex; /* změníme na flexbox */
  flex-wrap: wrap; /* umožní zalomení */
  justify-content: center; /* centrování obsahu */
  gap: 0.5rem; /* mezery mezi prvky */
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  text-align: center;
  line-height: 1.2;
  width: 90%;
  }

  .top-contact-info span,
.top-contact-info a {
  white-space: nowrap;
}
  
  .cta-button {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 50px;
    
  }

  .navbar-center {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    background-color: white;
    padding: 1rem 2rem;
    border-top: 1px solid #eee;
  }

  .navbar-center.active {
    display: flex;
  }

  .hero-custom {
    flex-direction: column;
    padding: 3rem 1.5rem;
    height: auto;
  }

  .hero-left {
    padding: 0;
    max-width: 100%;
    margin: 0;
    text-align: center;
    align-items: center !important; /* Přidáno zarovnání na střed */
  }

  .hero-left h1 {
    font-size: 3rem;
  }

  .hero-left h1 span {
    font-size: 2rem;
  }

  .hero-left p {
    font-size: 1rem;
  }

  .hero-right {
    flex-direction: column;
    align-items: center;
  }

  .hero-column {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    
  }

  .triangle,
  .about-triangle {
    width: 50vw;
    height: 250px;
    padding: 0px;
    
    

    
  }

  .triangle-left-top{
    display: none;
    
  }

  .triangle {
    margin-bottom: 50px;
    padding: 0px;
    
   
  }
.services{
  margin-top: -150px;
  margin-left: -20px;
}

  .character img {
    width: 80vw;
    transform: translateY(-40px);
  }

  .services-grid,
  .about-graphics {
    flex-direction: column;
    align-items: center;
    
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    width: 180px;
  }

  .navbar {
 
    top: 0rem;

  }

  .popup-image {

  width: 150%;

}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  background-color: transparent;
  padding: 20px;
  margin-left: -30px;
  z-index: 10;
  border-radius: 10px;
}

.arrow-button {
    font-size: 2.5rem;
    display: none;
  }


.close {
 
  top: 15px;
  right: 180px;
  font-size: 30px;

}

  .price-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-left: -20px;
  }



  .price-title{
    font-size: 1.8em;
  }

.service-description p{
  font-size: 0.8em;
  

}


  .price-category h3 {
    font-size: 0.8em;
    
  }
}


.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 1600px;
  margin: 40px auto;
  padding: 0 20px;
}

.gallery-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: zoom-in;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* Lightbox */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

/* Responsivní layout */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}


/* SLUZBY ---------------------------------------------- */

.service-intro {
  max-width: 1000px;
  margin: 0 auto 50px;
  padding: 0 20px;
  text-align: center;
  
}

.service-description {
  font-size: 1em;
  line-height: 1.6;
  color: black;
  margin-bottom: 15px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0px;
}

.service-note {
  font-size: 1em;
  color: #666;
  font-style: italic;
  margin-bottom: 100px;
}

.material-price-list {
  padding: 60px 20px;
  background-color: white;
  text-align: center;
}

.material-price-list .container {
  max-width: 1000px;
  margin: 0 auto;
}

.price-title {
  font-size: 2.4em;
  margin-bottom: 40px;
  margin-top: 100px;
  color: black;

  
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  text-align: left;
}

.price-category {
  border-top: 1px solid #ccc;
  padding-top: 20px;
    word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.price-category h3 {
  font-size: 1.7em;
  color: #0042d2;
  margin-bottom: 10px;
}

.price-category ul {
  list-style: none;
  padding-left: 0;
}

.price-category li {
  font-size: 1.2em;
  margin: 5px 0;
  color: #333;
}
