@charset "utf-8";
/* CSS Document */

@font-face { font-family: pismo_regular; src: url('PT_Sans/Quicksand/Quicksand-VariableFont_wght.ttf');} 


body {
    position: relative;
    margin: 0;
    padding: 0;
    background-color: #fef8ee;
}

#pozadi {
    background-image: url("poz-3.jpg");
    background-size: cover; /* nebo contain, ale cover lépe přizpůsobí */
    background-repeat: no-repeat;
    background-position: center top;
    height: 707px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(80, 106, 75, 0.4);
    color: white;
    text-align: center;
    padding: 2em 1em;
    font-size: 1.5em;
    font-family: pismo_regular;
    z-index: 11;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6); /* pro lepší čitelnost */
}

.stranka {
    padding-top: 1%;
    padding-left: 4em;
    padding-right: 4em;
    max-width: 1650px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    background-color: #fef8ee;
}

footer{
    padding-left: 4em;
    padding-right: 4em;
    max-width: 1650px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2em;
    padding-bottom: 2em;
    margin-top: 4em;
}

footer nav ul li a:hover {
    color: #C8CFA0 !important;
}

footer .social-icons a:hover {
    color: #C8CFA0 !important;
}

p{
    font-family: pismo_regular;
    color: black;
    font-size: 1.1em;
    text-align: justify;
}

.nadpis-sekce{
    font-family: pismo_regular;
    color: #506a4b;
    font-size: 1.5em;    
}

#menu li{
    margin-left: 2%;  
    font-family: pismo_regular;
}

ul li a{
    text-transform: uppercase;
    font-family: pismo_regular;
    font-size: 1em;
    color: #506a4b ;
    font-weight: 600;
    text-decoration: none;
}

#nadpis{
    font-size: 1.5em;
    font-family: pismo_regular;
    color: #506a4b ;
    font-weight: 800;
}

#menu-bar .row {
    display: flex;
    align-items: center; /* vertikální zarovnání */
}

#menu-bar img {
    max-width: 100%;
    height: auto;
}

#menu-bar h1 {
    margin: 0;
    font-size: 1.5em;
    line-height: 1.2;
}

#menu {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#menu li {
    display: inline;
}

#menu a {
    text-decoration: none;
    color: #506a4b;
    font-weight: bold;
}

a{
    text-decoration: none;
}

a:hover #nadpis{
    color: #C8CFA0;
}

#menu-bar{
    margin-top:1em;
}

#menu a:hover{
    color: #C8CFA0;
}

.label-mobil {
    margin: 0 40px 0 0;
    font-size: 26px;
    line-height: 70px;
    display: none;
    width: 26px;
    float: right;
    color: white;
}

#toggle {
    display: none;
}

.bar {
    height: 100%; 
    line-height: 40px;
}

html{
    max-width: 1920px;
    margin:auto; 
    font-family: pismo_regular;
}

.odrazky-menu li{
    list-style:none;
    display: inline;
}

.odrazky-menu{
    padding:0;
}

#menu-bar .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

a:hover{
    text-decoration:none;
}

.ohraniceni-menu{
    padding-top: 1%;
    padding-left: 4em;
    padding-right: 4em;
    max-width: 1650px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
}

.stranka{
    max-width: 1650px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    color: #506a4b;;  
}

.page{
    padding-left: 6em;
    padding-right: 6em;
    max-width: 1650px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    color: #506a4b;
    margin-bottom: 10%;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: pismo_regular;
}

/* Základní stav overlayu, ztmavení stránky při vyjetí menu – skrytý */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* průhledně černé */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 998; /* pod menu-bar, nad obsahem */
}

.label-mobil i {
    color: #506a4b; 
    font-size: 2em;
    transition: color 0.3s ease;
    position: relative; /* aby z-index fungoval */
    z-index: 1001;      /* vyšší než menu */
    cursor: pointer;
    display: block;
}

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em;
    position: relative;
    z-index: 1000;
}

.logo img {
    width: 120px;
}




/* pro mobily a tablety s max. šířkou 1200 px */
@media screen and (max-width: 1200px){

    .bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1em;
        position: relative;
        z-index: 1000;
    }

    .logo img {
        width: 80px;
        margin-top: 1em;
        margin-left: 1em;
    }

    .label-mobil {
        cursor: pointer;
        display: block;
        color: #506a4b;
        font-size: 1.5em;

    }

    #menu-bar {
        position: fixed;
        top: 0;
        right: -80%;
        width: 80%;
        height: 100vh;
        background-color: #506a4b;
        transition: right 0.3s ease;
        padding-top: 7em;
        padding-left: 4em;
        z-index: 999; /* nižší než hamburger */
        overflow-y: auto;
        margin-top: 0;
    }

    #toggle:checked ~ #menu-bar {
        right: 0;
    }

    #menu {
        display: flex;
        flex-direction: column;  /* Položky pod sebou */
        gap: 1em;                /* Mezera mezi položkami */
        padding: 0;
        margin: 0;
        list-style: none;
    }

    #menu li {
        padding: 1em 0;
    }

    #menu a {
        display: block;
        color: white;
        font-size: 1.2em;
        text-decoration: none;
        text-align: left;         
    }   

    /* Zákaz scrollování stránky při vyjetém menu */
    body.no-scroll {
        overflow: hidden;
    }

    #toggle:checked ~ .overlay {
        opacity: 1;
        visibility: visible;
    }

    /* Když je menu otevřené (checkbox zaškrtnutý), změním ikonu na křížek a barvu na bílou */
    #toggle:checked + .overlay + #menu-bar + .bar .label-mobil i {
        content: "\f00d"; /* unicode pro fa-times (křížek) */
        color: white;
        pointer-events: auto;
    }

    .ohraniceni-menu {
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
        height: 100%;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
        text-align: center;
    }

    html{
        font-size:0.7em;
    }

    .stranka{
        max-width: 1650px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 2em;
        padding-right: 2em;
        height: 100%;
        color: #506a4b;  
    }
    
    footer{
        max-width: 1650px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1em;
        padding-right: 1em;
        text-align: center;
    }
    
    footer .footer-flex {
      flex-direction: column;
      align-items: center !important;
      text-align: center;
    }

    footer nav ul {
      flex-direction: column;
      align-items: center;
      gap: 10px;
      padding-left: 0;
    }

    footer .social-icons {
      justify-content: center !important;
      width: 100%;
      margin-top: 10px;
    }

    footer .footer-contact-logo {
      flex-direction: column;
      align-items: center !important;
      text-align: center;
    }

    footer .footer-contact-logo img {
      margin-top: 10px;
    }

    footer .footer-contact-logo p {
      text-align: center;
    }
    
    footer .footer-copyright p{
      text-align: center;
    }
    
    .page{
        padding-left: 3em;
        padding-right: 3em;
        max-width: 1650px;
        margin-left: auto;
        margin-right: auto;
        height: 100%;
        color: #506a4b;
        margin-bottom: 10%;
    }

    .zarovnani{
        padding-left: 3em;
        padding-right: 3em;
        max-width: 1650px;
        margin-left: auto;
    }

    .napis, .napis p{
        text-align: center;
    }

    .napis p{
        margin-bottom: 10%;
    }

    .napis{
        margin-top: 10%;
    }


    #pozadi {
        height: 400px; /* menší výška pro mobily */
        background-position: 20% 70%;
        overflow-x: hidden;
      }

      .overlay-text h2 {
        font-size: 0.9em; /* menší písmo pro mobily */
        text-align: center;
      }

      .overlay-text {
        position: absolute;
        bottom: 0;               
        left: 0;
        width: 100%;
        padding: 1em 1em;
        color: white;
        z-index: 20;
        text-shadow: 1px 1px 5px rgba(0,0,0,0.6); /* pro lepší čitelnost */
      }
    
    .img-responsive {
        width: 70%;
    }

    /* cenik */
    .price-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* První sloupec - Sezóna */
    .price-table td:nth-child(1),
    .price-table th:nth-child(1),

    /* Druhý sloupec - Období */
    .price-table td:nth-child(2),
    .price-table th:nth-child(2) {
        white-space: nowrap;
    }

    /* fotogalerie */ 
    .galerie {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        padding: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .foto.full {
        grid-column: span 3 !important; 
    }

    .foto.half {
        grid-column: span 3 !important; 
    }

    .foto.three {
        grid-column: span 1 !important;
    }

    .foto {
        height: auto !important; /* automatická výška */
    }
    .foto img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
}

.img-responsive {
    width: 100%;
}
        
 /*cenik*/
.section h2 {
    font-family: pismo_regular;
    color: red;
    font-size: 1.3em;   
    margin-bottom: 15px;
}

.section p {
    font-family: pismo_regular;
    color: red;
    font-size: 1.1em;  
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.price-table th, .price-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    font-family: pismo_regular;
    color: black;
    font-size: 1.1em;  
}

.price-table th {
    background-color: #506a4b;
    color: white;
    font-family: pismo_regular;
    font-size: 1.2em;  
}

.price-table td {
    background-color: #f9f9f9;
}

.price-table tr:nth-child(even) td {
    background-color: #ecf0f1;
}

.social-links a {
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.5em;
    color: #2980b9;
}

.social-links a:hover {
    color: #16a085;
}
        
.foot{
    margin-top: 5em;
    background-color: #506a4b;
}

footer p{
    color: white;
    font-size: 0.7em;
}

.social-links a {
  color: #506a4b;           
  transition: color 0.3s;   /* plynulý přechod */
  font-size: 3rem;   
}

/* Barva při najetí myší */
.social-links a:hover {
  color: #C8CFA0;           
}

/* kalendář */
#calendar {
    text-align: left;
    max-width: 700px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 10px;
}

/* Nadpis tlačítka */
#calendar .fc-button {
    color: white !important;
}

/* Text událostí */
#calendar .fc-event-title {
    color: white !important;
}

/* Barva šipek */
#calendar .fc-button .fc-button-icon {
    /* pokud ikonka je SVG, tak jde barva změnit přes fill */
    fill: white !important;
}

/* 1) Změna velikosti čísla dne */
#calendar .fc-daygrid-day-number {
    font-size: 0.9em !important;   
    line-height: 1 !important;
}

/* Změna velikosti názvu měsíce v toolbaru */
#calendar .fc-toolbar-title {
    font-size: 1.2em !important;   
    line-height: 1 !important;     /* zajistí pěkné vertikální vycentrování */
    font-weight: bold;               
}

/* Barva pozadí události „Obsazeno“ */
#calendar .fc-event,
#calendar .fc-daygrid-event {
    background-color: #506a4b !important;  
    border-color: #506a4b !important;      
}

/* fotogalerie */
.galerie {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 40px;
    max-width: 1000px;
    margin: auto;
}

/* dvě fotky vedle sebe */
.foto.half {
    flex: 1 1 calc(50% - 8px);
    box-sizing: border-box;
    overflow: hidden;
    height: 300px; /* stejné výšky pro 2 vedle sebe */
}

/* tři fotky vedle sebe */
.foto.three {
    flex: 1 1 calc(33% - 8px);
    box-sizing: border-box;
    overflow: hidden;
    height: 300px; /* stejné výšky pro 2 vedle sebe */
}

/* jedna fotka přes celou šířku */
.foto.full {
    flex: 1 1 100%;
    height: auto;
}

.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.foto:hover img {
    transform: scale(1.03);
}

lightbox .lb-close {
    background: url(lightbox/close.png) top right no-repeat;
}

.text-center{
    text-align: left !important;
}

.text-center-p{
    text-align: right !important;
}

.cookie-overlay {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    background: #eee;
    z-index: 2051;
    line-height: 20px;
    font-size: 16px;
    border-radius: 6px;
    font-family: pismo_regular;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}