body {
    margin: 0;
    font-family: 'Instrument Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
  }
  
  header {
    background: #1E90FF;
    padding: 1rem 2rem;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    color: white;
  }

  @media screen and (max-width: 767px) {
    header {
      padding: 0.5rem 1rem;
    }
  }
  
  header i {
    margin-right: 0.4rem;
    color: white;
  }

  @media screen and (max-width: 420px) {
    .header-email {
        display: none;
    }
  }
  
  .hero {
    background: url('image/voda.jpg') center/cover no-repeat;
    color: white;
    padding: 10rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 0;
  }
  
  .hero h1,
  .hero p {
    position: relative;
    z-index: 1;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 4.2rem;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    max-width: max-content;
    font-weight: 600;
  }

  @media screen and (max-width: 767px) {
    .hero h1 {
      font-size: 2.5rem;
    }
  }
  
  .hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 1rem auto 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  .container {
    padding: 4rem 2rem;
    max-width: 1024px;
    margin: 0 auto;
    background-color: transparent;
    position: relative;
  }

  @media screen and (max-width: 479px) {
    .container {
        padding: 4rem 0.6rem;
    }
  }
  
  section {
    margin-bottom: 3rem;
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
  }

  @media screen and (max-width: 479px) {
    section {
      padding: 2rem 1rem;
    }
  }
  
  h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1E90FF;
  }
  
  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
  }

@media screen and (max-width: 1023px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 479px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
  
  .card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    border: 1px solid #ddd;
    justify-content: space-between;
    transition: 0.3s ease-out;
  }

  .card:hover {
    border: 1px solid #1E90FF;
  }
  
  .card i {
    font-size: 2.2rem;
    color: #1E90FF;
    flex-shrink: 0;
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: 'Instrument Sans', sans-serif;
    margin: 0 auto;
  }
  
  .form-row {
    display: flex;
    gap: 1rem;
  }
  
  .form-row input {
    flex: 1;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    box-sizing: border-box;
    font-family: inherit;
  }
  
  input,
  textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    background-color: #fff;
  }
  
  textarea {
    resize: vertical;
    min-height: 180px;
  }
  
  button[type="submit"] {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: #1E90FF;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content;
    font-family: inherit;
  }
  
  button[type="submit"]:hover {
    background-color: #0066cc;
  }
  
  .contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .contact-info {
    flex: 1 1 300px;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .contact-info p {
    margin: 0.3rem 0;
  }
  
  .map-container {
    flex: 1 1 auto;
    height: 280px;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    background-color: #fafafa;
  }
  
  .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  footer {
    background: black;
    color: white;
    padding: 1.5rem 2rem;
    font-size: 0.9rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    column-gap: 2rem;
    row-gap: 1rem;
  }

  @media screen and (max-width: 767px) {
    footer {
      flex-direction: column;
      text-align: center;
    }

    .teamwork {
      justify-content: center;
    }
  }

  .teamwork {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    column-gap: 1rem;
    row-gap: 0.8rem;
    align-items: center;
  }

  .footer-logo {
    width: 110px;
    filter: grayscale(1);
    transition: 0.3s ease-out;
  }

  .footer-logo:hover {
    filter: grayscale(0);
  }
  
  @media screen and (max-width: 600px) {
    .hero {
      padding: 4rem 2rem;
    }
  
    header {
      justify-content: center;
      gap: 1rem;
    }
  
    .contact-section {
      flex-direction: column;
    }
  
    .form-row {
      flex-direction: column;
    }
  }

  p.left-border {
    border-left: 6px solid #1E90FF;
    padding-left: 20px;
    font-weight: 600;
  }

  .photo-gallery {
    padding: 20px;
  }

  .gallery-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/2;
    border-radius: 5px;
  }

  @media screen and (max-width: 767px) {
    .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: row;
  }

  .lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px #000;
  }

  .lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    user-select: none;
  }

  .lightbox-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    user-select: none;
    padding: 0 15px;
  }

  #lightbox-prev {
    left: 20px;
  }

  #lightbox-next {
    right: 20px;
  }

  #lightbox-prev:focus,
  #lightbox-next:focus,
  .lightbox-close:focus {
    outline: none;
    box-shadow: none;
  }

  .container-background-image {
    position: absolute;
    top: -5%;
    right: -25%;
    z-index: -1;
    opacity: 0.03;
    width: 1000px;
  }

  @media screen and (max-width: 768px) {
    .container-background-image {
      display: none;
    }
  }

  html, body {
    overflow-x: hidden;
  }

  .button-blue {
    position: relative;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: #1E90FF;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
  }

  .button-blue:hover {
    background-color: #0066cc;
  }

  .button-white {
    position: relative;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: white;
    color: #333333;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
  }

  .button-white:hover {
    background-color: #d7d7d7;
  }

  .hero-button-wrapper {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    column-gap: 1rem;
    row-gap: 1rem;
  }

  html {
    scroll-behavior: smooth;
  }

  textarea:focus-visible {
    outline: none !important;
    border: 1px solid #1E90FF;
  }

  input:focus-visible {
    outline: none !important;
    border: 1px solid #1E90FF;
  }

  .hlaska.success {
    background-color: #28a745;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: 600;
    width: fit-content;
  }

  .hlaska.error {
    background-color: #dc3545;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: 600;
    width: fit-content;
  }

  .row {
    display: flex;
    flex-direction: column;
    row-gap: 1.5em;
  }

  #sluzby ul {
    margin: 0;
  }