
body {
    font-family: Arial, sans-serif;
    padding: 20px;
    font-size: 1em;
}

header {
    width: 100% !important;
    max-width: 100%; /* ← přidat */
    box-sizing: border-box; /* ← přidat - důležité! */

    position: relative;

    float: none !important;
    background-color: #4caf50;
    color: black;
    padding: 1%;
    border-radius: 10px;
    margin-bottom: 10px;
}

/*
.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'Lucida Handwriting', cursive;
    text-align: center;
    font-size: 1.5vw;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    z-index: 2;
}
*/

.header-img {    
        display: block;
    width: 100%; /* Obrázek bude pokrývat celou šířku headeru */
    height: auto; /* Udržuje poměr stran obrázku */
    border-radius: 10px; /* Zaoblení okrajů obrázku, pokud je potřeba */
    position: relative; /* ← přidat */
    z-index: 1;         /* ← přidat, aby byl pod vlaječkou */
        max-width: 100%; /* ← přidat pro Firefox */
}


.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-family: 'Lucida Handwriting', cursive;
    font-size: 1.5vw;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    z-index: 2;
}

.booking-text {
    position: absolute;
    bottom: 3vw;              /* responsivní vzdálenost od spodní hrany */
    right: 2.2vw;               /* responsivní vzdálenost od pravé hrany */

    color: white;
    font-family: 'Lucida Handwriting', cursive;
    font-size: clamp(9px, 1.1vw, 24px); /* min 12px, ideálně 1.5vw, max 24px */
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    z-index: 2;
    white-space: nowrap;      /* zabrání zalomení textu */
}


header .overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.4); /* Poloprůhledný černý překryv pro lepší čitelnost textu */
z-index: 0;
}

h1 {
    font-size: 2em;
}

img {

    border-radius: 10px;
}

main img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

section {

    margin-bottom: 0px;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 12px 12px 20px rgba(0, 0, 0, 0.2);
    background-color: lightgreen;
    justify-content: space-between; 


}



a.odkazy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
        align-items: stretch;
            height: 100%;
}

.hqq {
    text-align: center;
    font-size: 20px;
    color: #3b5998;
}

section h1 {
    font-size: 1.2em;
    font-weight: bold;
   margin-top: 0em;
  margin-bottom: 0.2em;
  margin-left: 0;
  margin-right: 0;
    padding: 0;
    /*line-height: 1.4;*/
    color: inherit;
}

h2 {
    font-size: 1em;
    font-weight: bold;
   margin-top: 0em;
  margin-bottom: 0.2em;
  margin-left: 0;
  margin-right: 0;
    padding: 0;
    /*line-height: 1.4;*/
    color: inherit;
}

h3 {
    font-size: 20px;
    color: #2E8B57;
    padding: 0;
    margin: 0;
}

p {
    margin: 0;
    text-decoration: none; /* zruší podtržení */
     
}


.info-box {
    padding: 10px;
    margin: 0px 0px;
    background-color: lightblue;
    color: black;
}

.info-box1 {

    background-color: lightblue; 
    color: black;
}

.info-box2 {
    background-color: #ffdd90; 
}

.info-box3 {
    background-color: #fff3cd; 
    border-left: 5px solid #ffcc00;
}

/*
.info-box:hover:not(.no-hover) {
    padding: 10px;
    margin: 0px 0;
    border-radius: 8px;
    box-shadow: 12px 12px 15px rgba(0, 0, 0, 0.1);
    background-color: #ff8080;
    color: white;
}
*/
.spacer:hover:not(.no-hover) {

    background-color: #ff8080;
    color: white;
}


img,
.info-box {
    display: block;
}


main {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 sloupce na každém řádku */
    gap: 10px; /* Mezera mezi sekcemi */
}

img {
    width: 100%;
    height: auto;
    border-radius: 10px;

}




/* 3 sloupce při menší obrazovce */
@media (max-width: 1400px) {
    main {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2 sloupce na menší tablety */
@media (max-width: 1050px) {
    main {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 sloupec na mobilech */
@media (max-width: 700px) {
    main {
        grid-template-columns: 1fr;
    }
}



a {
    text-decoration: none;

}



.spacer {
    flex-grow: 1; /* zabírá zbylé místo */
    background-color: lightblue; /* stejná barva jako info-box */
}

a.odkazy .info-box2,
a.odkazy .info-box2 ~ .spacer {
 background-color: #ffdd90; 
}


/* když je v odkazu .info-box1 → obarvi i spacer */
a.odkazy:hover .info-box1,
a.odkazy:hover .info-box1 ~ .spacer {
    background-color: lightblue; 
}

/* když je v odkazu .info-box2 → obarvi i spacer jinak */
a.odkazy:hover .info-box2,
a.odkazy:hover .info-box2 ~ .spacer {
 background-color: #ffdd90; 
}


button {
    display: block;
    margin: 20px auto;
    background-color: #008CBA;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #005f73;
}

label, input[type="email"] {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 10px auto;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.table-section {
    padding: 20px;
    margin: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    font-weight: bold;
}

tr:nth-child(odd) {
    background-color: #b3e5fc;
}

tr:nth-child(even) {
    background-color: #4fc3f7;
}
sectiona:hover{

    color: white;

}    


section:not(.no-hover):hover {
    background-color: #ff8080;
    color: white;
    text-decoration: none;
}




@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}
ul {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
  }

  /* Vlaječka v pravém horním rohu */
/* Header a obrázek */
.lang-flag {
    position: absolute;

    z-index: 3;
    display: inline-block;  /* důležité pro Firefox */
}

.lang-flag img {
        display: block;  /* aby velikost vlaječky byla přesně podle šířky */
    width: 33px;       /* uprav velikost podle potřeby */
    height: 19px;
    border-radius: 1px; /* jemné zaoblení rohů */
    cursor: pointer;
 /*   box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    transition: transform 0.2s;*/
}

.lang-flag img:hover {
    transform: scale(1.1); /* efekt při najetí myší */
}

/*
.lang-flag {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
}

.lang-flag img {
    width: 40px;
    height: auto;
    cursor: pointer;
}

*/

/* Text uprostřed */
.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'Lucida Handwriting', cursive;
    text-align: center;
    font-size: 1.5vw;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    z-index: 2;
}

/* Vlaječka */
/*
.lang-flag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 3;
}
 

.lang-flag img {
    width: 40px;
    height: auto;
    cursor: pointer;
}
   */

body {
    font-family: Arial, sans-serif;
    padding: 20px; /* může zůstat */
    margin: 0;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%; /* ← přidat */
    box-sizing: border-box; /* ← přidat */
}

header, main {
    width: 100%;       /* zabírají šířku wrapperu */
}


 /* Řádek s obrázky */
.image-row {
    display: flex !important;
    flex-wrap: wrap;
    /*justify-content: flex-start;*/
    gap: 1rem;
    /*overflow-x: auto;   /* scroll, pokud by se nevešly */
    padding: 1rem 0;
    background-color: #fff;
    box-sizing: border-box;
}

/* Jednotlivý obrázek */
.image-row .image-section {
/*    flex: 0 0 auto;  skokově*/
    /*flex: 1 1 calc(33.333% - 1rem); /* každý obrázek zabere 1/3 řádku minus mezera */
    flex: 1 1 300px; /* flex-grow:1, flex-shrink:1, flex-basis:300px */
    box-sizing: border-box;
    background-color: #eee;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

/* Obrázky uvnitř sekce */
.image-row .image-section img {
    /*width: 300px; skokově*/
        width: 100%;   /* roztáhne se na šířku rodiče */
    height: auto;
    border-radius: 4px;
    display: block;
}


.icon-bar {
    position: absolute;   /* jen kontejner */
    bottom: 0.5vw;
    left: 2vw;

    display: flex;
    gap: 0.8vw;             /* vzdálenost mezi ikonami */
    z-index: 3;           /* pokud je potřeba nad obrázkem */
}

.icon-bar a.lang-flag {
    position: static;     /* důležité – přebije původní absolute */
    display: inline-block;
}

.icon-bar a.lang-flag img {
    display: block;
    /*height: 2.7vw;       /* responsivní */
    height: clamp(28px, 2.9vw, 100px);
    aspect-ratio: 1.3;
    width: auto;
    cursor: pointer;
}

.flag-bar {
    position: absolute;      /* absolutně poziciovaný kontejner */
    bottom: 0.7vw;           /* vzdálenost od spodní hrany */
    right: 2vw;              /* vzdálenost od pravé hrany */
    
    display: flex;
    flex-direction: row-reverse; /* řazení od pravé strany */
    gap: 0.5vw;             /* vzdálenost mezi vlajkami */
    z-index: 3;             /* nad obrázkem */
}

.flag-bar a.lang-flag {
    position: static;       /* přebije původní absolute */
    display: inline-block;
}

.flag-bar a.lang-flag img {
    display: block;
   /* height: 1%;         /* responsivní velikost */
    height: clamp(12px, 1.6vw, 100px);
    aspect-ratio: 1.6;
    width: auto;
    cursor: pointer;
}
