.nav-close-btn { display: none; }

@media only screen and (max-width: 1250px) {
    :root{
        --max-width:100%;
    }
    nav{
        padding: 0px 20px 0px 0px;
    }

    .nav-left{
        padding-left: 15px;
    }


    .main-content{
        padding: 0 25px;
    }
     .about-us{
      padding: 50px 25px 150px 25px;
     }
    .section{
        padding: 70px 25px 70px 25px;
        width: 100%;
    }

    .work{
      padding: 150px 25px 50px 25px;
    }

    .services{
      padding: 0px 25px 0px 25px;
    }

    .place{
        padding: 100px 0px 0px 0px;
    }

    .accommodations-container{
gap: 50px;
flex-wrap: wrap;
    }


    .services-container{
      gap: 25px;
      padding: 40px 40px;
    }
    .service-block img{
      height: 70px;
    }


    .gallery{
      padding: 25px;
    }

    footer{
      padding: 15px 0 0 0;
    }

    .footer-container{
      padding: 0 15px 25px 15px;
    }

    .footer-bottom{
      padding: 15px;
    }
  }








 @media only screen and (max-width: 1000px){

  .main-content h1{
        width: 100%;
      }
  .close{
      top: 100px;
    }
    .menu{
      z-index: 3;
      display: flex;
      margin: 0;
    }

  .nav-list{
        position: fixed;
        background-color: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
        backdrop-filter: blur(8px);
        z-index: 9000;
        align-items: center;
        justify-content: center;
        gap: 35px;
    }

    .nav-list.open{
        transform: translateX(0);
    }

    nav .button{
      display: none;
    }

    .onmobile {
        display: block;
    }

    .nav-list li a {
        color: black;
        font-size: 16px;
        letter-spacing: 1px;
        font-weight: 500;
    }

    .menu.closeMenu {
        display: none;
    }

    .nav-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        color: white;
        background-color: var(--defaultColor);
        border-radius: 50%;
        border: none;
        padding: 0;
        z-index: 9001;
        transition: background-color 0.2s ease;
    }

    .nav-close-btn:hover {
        background-color: var(--secondColor);
    }

    .slide-text{
      align-items: start;
      gap: 20px;
    }

    .slide-text h1{
      text-align: left;
    }

    .slide-text p{
      text-align: left;
      padding-top: 12px;
    }

    .content-wrapper{
      align-items: start;
      justify-content: start;
    }

    .slide-text.active{
      width: 65%;
    }
 }





        @media (max-width: 900px) {
            .bg-image { width: 100%; clip-path: none; height: 300px; } /* Na mobilu fotka nahoře */
            .contact-section { flex-direction: column; padding-top: 150px; }
            .container { flex-direction: column; gap: 50px; }
            .contact-form { width: 100%; }
        }



  @media only screen and (max-width: 800px) {
    
    
    .calculator-section{
      padding-bottom: 50px;
    }

    .activity_card_pressed{
      height: 300px;
    }
   
    .main-section{
        height: 80vh;
    }
    .main-content{
        padding: 0px 25px;
        height: auto;
        align-items: start;
        justify-content: start;
        margin-bottom: 50px;
      }
      .main-content h1{
        width: 100%;
        font-size: 25px;
      }

      .main-content p {
        width: 100%;
        display: none;
      }
    
      h2{
        font-size: 23px;
      }

       .about-us{
      padding: 50px 25px 250px 25px;
     }
      #accommodations{
        padding: 100px 15px 15px 15px;
      }

      .accommodations-container{
        gap: 25px;
      }

      .card{
        width: 90%;
      }

    
    .activity_container{
        flex-direction: column;
        gap: 35px;
    }



    .activity_block{
        width: 100%;
    }

    .activity_card{
        width: 100%;
    }

    .activity_image{
        width: 100%;
        min-width: auto;
    }

    .action-container{
      flex-direction: column;
    }

    .action-block{
      width: 100%;
    }

    .action-img{
      width: 100%;
    }

    .footer-container{
        flex-wrap: wrap;
    }

  

    .footer-container{
      gap: 50px;
    }

    .footer-blocks{
      align-items: start;
      justify-content: start;
    }

    .footer-block{
      justify-content: start;
      align-items: start;
    }

    .service-block img{
      height: 60px;
    }

    .service-text span:first-child{
      font-size: 22px;
    }

    .service-block{
      gap: 25px;

    }

    .contact-container{
      flex-direction: column;
    }

    .contact-block{
      width: 100%;
    }

    .contact-container form{
      width: 100%;
    }

    .price-container table tr td {
      padding: 10px 15px;
    }

    .footer-container{
      gap: 50px;
    }

    .footer-blocks{
      gap: 25px;
    }

    .footer-block h2{
      font-size: 20px;
    }

    .calculator-section{
      overflow: none !important;
    }
  }

  
  @media (max-width: 768px) {
    .slide-text h1 { font-size: 2.2rem; }
    .nav-btn { display: none; } /* Na mobilu jen swipe */
 
    .carousel-container {
        height: 300px; /* Menší výška na mobilu */
    }

    .carousel-card {
        width: 220px; /* Menší karty */
        height: 160px;
    }

    /* Na mobilu musíme upravit posuny, aby se karty vešly na obrazovku */
    .carousel-card.active {
        transform: translate(-50%, -50%) scale(1.2); /* Menší zoom */
    }

    .carousel-card.prev {
        /* Přiblížíme je víc ke středu, aby byly vidět */
        transform: translate(-110%, -50%) scale(0.8);
        opacity: 0.4; /* Více průhledné */
    }

    .carousel-card.next {
        transform: translate(10%, -50%) scale(0.8);
        opacity: 0.4;
    }

    .project-nav {
        width: 40px; height: 40px; font-size: 16px;
    }
    
    .project-prev { left: 10px; }
    .project-next { right: 10px; }
}

  @media only screen and (max-width: 520px) {
    .services-container{
      padding: 25px;
      justify-content: center;
      align-items: center;
    }
    
    .service-block{
      align-items: center;
      justify-content: start;
      margin: 0 auto;
    }

    .service-block img{
      height: 55px;
    }

    .accommodations-container{
      gap: 0px;
    }

    .slide-text.active{
      width: 100%;
    }

    .overlay{
      background: rgba(26, 19, 53, 0.62);
    }

    .slide-text h1{
      font-size: 1.9rem;
    }

    .slide-text{
      gap: 15px;
    }

    /* CTA tlačítko na malých telefonech: plná šířka pro pohodlné kliknutí palcem */
    .slide-text .btn{
      width: 100%;
      text-align: center;
      display: block;
      padding: 14px 20px;
    }

    .work-card{
      height: auto;
    }
  }