.video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    margin-top: -100px;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-family: "Space Grotesk", sans-serif;
}

.overlay-content h1 {
    font-size: 6rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.overlay-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 550px;
    text-align: center;
}

.button {
    background: none;
    border: 1px solid white;
    padding: 18px 60px;
    color: white;
    font-size: 20px;
    margin-top: 20px;
    transition: all 0.12s ease-in;
    text-decoration: none;
}

.button:hover {
    backdrop-filter:blur(100px);
    border-color: pink;
}

.sluzby, .kontakt {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 100px 0;
    color: rgb(82, 70, 77);
}

.sluzby h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-align: center;
}

.sluzby h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin: 50px 0;
}

.service-card-reversed {
    flex-direction: row-reverse;
}

.service-card p {
    max-width: 500px;
    opacity: 0.7;
    margin-bottom: 15px;
}

.link-sluzby {
    color: rgb(103, 52, 84);
    text-decoration: none;
    font-size: 1.7rem;
}

.link-sluzby:hover {
    text-decoration: underline;
}

.kontakty {
    display: flex;
    flex-direction: row;
    gap: 100px;
    margin: 30px 0;
    text-align: center;
}

.kontakt h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.kontakt > p {
    max-width: 400px;
    opacity: 0.7;
    text-align: center;
}

.kontakty p {
    color: rgb(82, 70, 77);
}

.kontakty h2 {
    font-size: 2rem;
    text-align: center;
}

.scroll-container {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    white-space: nowrap;
    width: 130%;
    color: rgb(82, 70, 77);
  }  
  
  .scroll-content {
    display: inline-flex;
    animation: scroll 10s linear infinite;
    border-top: 1px solid rgb(97, 24, 5) !important;
    border-bottom: 1px solid rgb(97, 24, 5);
  }
  
  .scroll-content p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    font-size: 24px;
    white-space: nowrap;
  }
  
  @keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-30%);
    }
  }

.service-info {
    text-align: center;
}

.service-info p {
    max-width: 500px;
    margin-bottom: 50px;
}

.service-info a {
    border-color: black;
    color: black;
    text-decoration: none;
}

.reveal {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.recenzie-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.recenzie h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-align: center;
    color: rgb(82, 70, 77);
}

.recenzie {
    margin: 40px 0 100px 0;
}

.recenzia {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 150px;
    width: 250px;
    padding: 20px;
    background-color: #e3cbcb;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.recenzia h5 {
    margin-top: 20px
}

.recenzia.stredna {
    width: 350px;
    height: 190px;
}

.service-card img {
    max-width: 500px;
}

@media (max-width: 1657px) {
    .overlay-content h1 {
        font-size: 4rem;
    }
    .overlay-content {
        width: 90%;
    }
}

@media (max-width: 620px) {
    .overlay-content h1 {
        font-size: 3rem;
    }
    .overlay-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 465px) {
    .overlay-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 385px) {
    .overlay-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 1200px) {
    .service-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
    }
}

@media (max-width: 525px) {
    .service-card img, .service-card p {
        width: 90%;
        margin: 0 auto 5px auto;
    }
}

@media (max-width: 925px) {
    .recenzie-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .kontakt h2 {
        font-size: 3rem;
        text-align: center;
    }
}

@media (max-width: 1050px) {
  #map {
    width: 90vw;
  }
}