html {
  scroll-behavior: smooth;
}
    body {

      margin: 0;
      font-family: 'Merriweather', serif;
    }

   .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 14px 20px;
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

    .navbar a {
      color: white;
      text-decoration: none;
      margin: 0 10px;
      position: relative;
      transition: color 0.3s ease;
    }

    .navbar a::after {
      content: '';
      position: absolute;
      width: 0%;
      height: 2px;
      background: #e5c79c;
      left: 0;
      bottom: -4px;
      transition: width 0.3s ease;
    }

    .navbar a:hover {
      color: #e5c79c;
    }

    .navbar a:hover::after {
      width: 100%;
    }

  .nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
}

.nav-links a {
  margin: 0 8px;
  white-space: nowrap;
}

.nav-contact-btn {
  background-color: #f5deb3; /* beige */
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  margin-left: 1rem;
  transition: background-color 0.3s ease;
}

.nav-contact-btn:hover {
  background-color: #004d26;
}

    .menu-icon {
      display: none;
      font-size: 26px;
      cursor: pointer;
    }

.logo {
  display: flex;
  align-items: center;
}

    .logo img {
     
margin-right: 10px;
margin-bottom: 10px;
      vertical-align: middle;
    }

.logo a {
  font-family: 'Pacifico', cursive;
  font-size: 28px; /* adjust as needed */
  color: white;
  text-decoration: none;
  display: inline-block;
  /* if you want a fallback if the image is missing or for text logo */
}

    .video-banner {
margin-top: 60px; /* pushes it below the fixed navbar */
      position: relative;
      overflow: hidden;
  width: 100%;
  height: 90vh; /* full viewport height */
      
    }

/* Add a dark overlay */
.video-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent black */
  z-index: 1;
}

    .video-banner video {
      width: 100%;
      height: auto;
      display: block;
    }

.banner-overlay {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: #fdf7f0; /* match your about us background */
  padding: 20px 30px;
  border-top-left-radius: 14px;
  font-size: 1rem;
  z-index: 5;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);

}

.banner-overlay a {
    color: #333;
  text-decoration: none;
  font-weight: 600;
}

.banner-overlay a:hover {
  text-decoration: underline;
}

.sticky-phone {
  position: fixed;
  top: 60px; /* adjust to match your navbar height */
  right: 0px;
  background: #333;
  color: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  font-size: 1rem;
  z-index: 999;
  display: none;
  box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
}

.sticky-phone a {
  color: #fff;
  text-decoration: none;
}

.sticky-phone a:hover {
  text-decoration: underline;
}

    .banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  z-index: 2; /* make sure it's above overlay */
  padding: 30px;
  max-width: 90%;
  border-radius: 12px;
  /* Optional: add a subtle background */
  background: rgba(0, 0, 0, 0.3);
}

    .banner-text h1 {
      font-size: 48px;
      margin: 0 0 10px;
    }

.banner-text .highlight {
  color: #f5deb3; /* světle béžová, nebo si můžeš zvolit */
  font-weight: bold;
  text-decoration: underline;
}

    .banner-text p {
      font-size: 20px;
    }

.banner-text .cta-button {
  display: inline-block;
  margin-top: 24px;
  padding: 18px 48px;
  background: #f5deb3; /* beige */
  color: #333;
  font-size: 22px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.banner-text .cta-button:hover {
  background: #e5c79c; /* darker beige on hover */
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.about-us {
  padding: 50px 20px;
  background-color: #fdf7f0;
  color: #4a342e;
  font-family: 'Merriweather', serif;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #3b2a1a;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}


.services h2 {
  font-size: 36px;
  margin-bottom: 40px;
text-align: center;
}

.services h2 {
      font-size: 36px;
      margin-bottom: 40px;
      text-align: center;
    }

.services a {
text-decoration: none;
 color: #333;
}

    .services {
      padding: 40px 20px;
      overflow: hidden;
      position: relative;
    }

    .services-carousel {
      display: flex;
      transition: transform 0.4s ease;
    }

    .service-item {
      flex: 0 0 100%;
      text-align: center;
      padding: 20px;
      box-sizing: border-box;
    }

    .service-item img {
      width: 80%;
      height: auto;
      margin: 0 auto 20px;
      border-radius: 8px;
      display: block;
    }

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: #333;
      color: white;
      border: none;
      padding: 10px 16px;
      cursor: pointer;
      font-size: 26px;
      z-index: 2;
    }

    .carousel-btn.prev {
      left: 0;
    }

    .carousel-btn.next {
      right: 0;
    }

.strengths {
  padding: 50px 20px;
  background-image: url('wood.jpg'); /* sem cesta k obrázku */
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
  position: relative;
}

/* případně jemný overlay přes background */
.strengths::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

.strengths h2 {
  font-size: 36px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.strengths-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.strength-item {
  flex: 1 1 calc(45% - 20px);
  margin: 10px;
  padding: 30px 20px;
  background-color: rgba(245, 225, 192, 0.9);
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #3e2c1c;
  opacity: 0;
  transform: translateY(100px);
}

.strength-item.visible { 
opacity: 1;
  transform: translateY(0);
}

.strength-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.strength-item h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.strength-item h3::after {
  content: "\f00c"; /* Font Awesome checkmark */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 10px;
  color: #4caf50; /* tick color */
  text-shadow: 0 0 2px #4caf50, 0 0 5px #4caf50;
  display: inline-block;
  animation: glowPulse 1.5s ease-in-out infinite;
      
}

@keyframes glowPulse {
      0% {
        text-shadow: 0 0 2px #4caf50, 0 0 8px #4caf50;
        transform: scale(1);
      }
      50% {
        text-shadow: 0 0 5px #4caf50, 0 0 20px #4caf50;
        transform: scale(1.2);
      }
      100% {
        text-shadow: 0 0 2px #4caf50, 0 0 8px #4caf50;
        transform: scale(1);
      }
}

.strength-item p {
  font-size: 16px;
  color: #5c4531;
}

.pricing-section {
  background-color: #f7f1e8;
  padding: 60px 20px;
  text-align: center;
}

.pricing-section h2 {
  font-size: 36px;
  color: #3e2c1c;
  margin-bottom: 40px;
}

.pricing-table {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #ddd;
}


.service-name {
  font-weight: 600;
  color: #3e2c1c;
}

.additional-info {
  font-weight: 300;
  font-style: italic;
}

.service-price {
  font-weight: 600;
  color: #6b4a2b;
}

.inquiry-flow {
 background: #e6f2f8; /* light blue */
padding: 40px 20px 50px 20px;
text-align: center;
}


.flow-container {
margin-top: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* optional, allows wrapping on smaller screens */
  gap: 40px;
}

.flow-item {
  width: 160px;
  height: 160px;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: inline-block;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(100px);
}

.flow-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.flow-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  border-color: #007bff;
  background-color: #f9f9ff;
}

.flow-item i {
  font-size: 48px;
  color: #0077cc;
  margin-bottom: 12px;
}

.flow-item p {
  margin-top: 8px;
  font-size: 16px;
}


.flow-arrow {
  font-size: 24px;
  color: #555;
}
.flow-arrow.visible {
  opacity: 1;
}

.gallery {
padding-top: 30px;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
}

.css-masonry {
  column-count: 3;
  column-gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

.grid-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 16px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 8px;
}

.grid-item img {
  width: 100%;
  display: block;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.grid-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

 .lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(255,255,255,0.3);
  cursor: default;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  user-select: none;
  z-index: 11000;
  font-weight: bold;
}
.lightbox-close:hover {
  color: #ccc;
}

.contact {
background: linear-gradient(180deg, #e6f0f8 0%, #ffffff 100%);
  padding: 60px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

.contact-info {
  margin-bottom: 30px;
  font-size: 18px;
}

.contact-info p {
  margin: 10px 0;
}

.contact-info a {
  color: #333;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  color: #333;
  font-size: 28px;
  margin: 0 12px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #0077cc;
}

.contact-form {
  max-width: 600px;
  margin: 50px auto;
  padding: 30px 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

.contact-form label {
  display: block;
  margin: 15px 0 5px;
  text-align: left;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.contact-form button {
  display: inline-block;
  width: 100%;
  padding: 14px;
  background: #333;
  color: white;
  font-size: 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
}

.contact-form button:hover {
  background: #555;
}

.g-recaptcha {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.site-footer {
  background-color: #333;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.site-footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer p {
  margin: 0 0 15px;
  font-size: 14px;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 12px;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #333;
  color: #fff;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: background-color 0.3s, opacity 0.3s;
}
.back-to-top:hover {
  background-color: #555;
  opacity: 1;
}



 @media (max-width: 768px) {

.video-banner {
    height: 450px; /* or any height you prefer */
    position: relative; /* keep positioning for overlay and text */
  }

.video-banner video {
    height: 100%;
    width: 100%;
    object-fit: cover; /* maintain aspect ratio and cover area */
  }

      .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #333;
    position: absolute;
    top: 60px; /* height of navbar */
    left: 0;
    z-index: 9;
}
      .nav-links a {
        padding: 12px 20px;
        border-top: 1px solid #444;
      }

      .nav-links.active {
        display: flex;
      }

      .menu-icon {
        display: block;
 position: relative;
    z-index: 10;
      }

.banner-text {
    max-width: 100%;
   padding: 15px 30px; /* a bit more horizontal padding */
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }

      .banner-text h1 {
        font-size: 24px;
      }

 .banner-text .cta-button {
    padding: 10px 36px;
    font-size: 18px;
margin-top: 0px;
  }

.about-us{
padding-top: 30px;}

 .about-container {
    flex-direction: column;
    text-align: center;

  }
.about-us h2 {
    font-size: 24px;
  }
  .about-text, .about-image {
    flex: unset;
  }

 .video-banner {
    margin-top: 55px; /* space for fixed navbar */
  }

.strengths h2 {
    font-size: 24px;
  }

  .strength-item {
    flex: 1 1 100%;
  }
pricing-section h2 {
    font-size: 24px;
  }

 .flow-steps {
    flex-direction: column;
    gap: 20px;
  }

  .flow-item {
    max-width: none;
  }

.css-masonry {
    column-count: 2;
  }
.grid-item:nth-child(n+13) {
    display: none;
  }

 }


@media (max-width: 480px) {

p {
font-size: 16px !important;
}

h2 {
font-size: 20px !important;
}

.navbar {
padding: 8px 15px;
}

.navbar a {
margin-left: 0px;
}
  
.logo img {
margin: 0 5px 10px 0;
height: 30px;
  }

 .logo a {
    font-size: 20px; /* smaller logo text */
  }


.banner-text {
      max-width: 100%;
    width: 60vw;       /* Make it use almost full viewport width */
    padding: 20px 20px; /* Less padding so more space for text */
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }


  .banner-text h1 {
    font-size: 18px;
    line-height: 1.2;
  }

  .banner-text .cta-button {
    padding: 12px 36px;
    font-size: 14px;
margin-top: 0px;
  }

.banner-overlay {
padding: 10px 15px;
}

.banner-overlay a {
 font-size: 15px;
}

.sticky-phone {
padding: 10px 15px;
top: 50px; /* adjust to match your navbar height */
border-bottom-right-radius: 0;
border-bottom-left-radius: 14px;
opacity: 80%;
}

.sticky-phone a {
 font-size: 15px;
}

.about-us {
    padding-top: 30px;
  }


.strengths h3 {
    font-size: 18px;
  }

.strength-item {
    padding: 10px 20px;
}

.strength-item:nth-child(4) {
    display: none;
}

.pricing-section span {
font-size: 15px;
  }

 .flow-container {
    flex-direction: column;
  }
  .flow-arrow {
    transform: rotate(45deg); /* turns → into ↓ */
    margin: 0;
  }

 .contact-form {
    margin: 30px 10px;
    padding: 20px 15px;
  }

  .contact-form h2 {
    font-size: 24px;
  }

}

/* Desktop: */
@media (min-width: 769px) {
  .services-carousel {
    flex-wrap: wrap;
  }

  .service-item {
    flex: 0 0 33.3333%;
transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

.service-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

  .carousel-btn {
    display: none;
  }
}
