/* Základní styly */
body {
    font-family: Arial, sans-serif;
    margin: 0px auto;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    background-color: #f4f4f4;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hlavička */
header {
    background-color: #004080;
    color: white;
    padding: 1rem 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    max-height: 80px;
    border-radius: 10px;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    font-size: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Sekce galerie */
.gallery {
    padding: 2rem;
    background-color: #f4f4f4;
    text-align: center;
}

/* Carousel */
#ukazka-carouselu {
    max-width: 85%;
    margin: 0 auto;
}

.carousel-item {
    text-align: center;
    padding: 1rem;
    overflow: hidden;
}

.carousel-item img {
    max-height: 90vh;
    max-width: 85vh;
    border-radius: 8px;
    object-fit: cover;
    margin: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: gray; 
}

/* Tlačítka */
.button-container {
    display: flex; /* Aktivuje flexbox */
    justify-content: center; /* Zarovná tlačítko horizontálně */
    padding-top: 25px;
    padding-bottom: 40px;
}

.btn-cenik {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cenik:hover {
    background-color: #007bff;
    transform: scale(1.1);
}

.maps {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0056b3;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.maps:hover {
    background-color: #007bff;
    transform: scale(1.1);
}

a {
    color:white; /* Vlastní barva odkazu */
    cursor: pointer; /* Standardní ukazatel pro odkaz */
    text-decoration: none; /* Odstranění podtržení */
}

/* Footer */
footer {
    background-color:#004080;
    color: white;
    font-size: 13px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 400px;
    margin: 0 auto;
}
   
.footer h2 {
    margin-bottom: 15px;
    margin-top: 20px;
}
  
.footer-note {
    margin: 30px 0px;
}
  
.footer-note {
    font-size: 14px;
    color: #bbb;
}
  
.kontakty a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    margin-bottom: 10px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.kontakty a i {
    font-size: 15px;
    margin-right: 8px;
}

.kontakty a:hover {
    color: #007bff;
}

/* Kontakt */
.contact-info p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.contact-container {
    max-height: 90vh; /* Maximální výška kontejneru */
    overflow-y: auto; /* Posuvník pro přetečení */
    padding: 30px 30px 50px 30px;
    text-align: center;
    color: #004080;
    -webkit-text-fill-color: #004080;
    background-color: #f4f4f4;
}

.contact-container p, .contact-container i {
    margin: 10px auto;
    line-height: 1.5;
}

/* Sekce ceník */
.ubytovani, .cenik {
    padding: 2rem;
    background-color: #f4f4f4; 
    
}
.ubytovani {
    display: flexbox;
    height: 100%;
    margin-bottom: 50px;
}

.cenik table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.cenik table th, .cenik table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.cenik table th {
    background-color: #004080;
    color: white;
}

/* Sekce Úvod */
.index {
    text-align: center;
    padding: 2rem 0;
    background-color: #f4f4f4;
}

.index img {
    width: 80%;
    max-width: 500px;
    height: 80%;
    border-radius: 8px;
}

h1, h3 {
    margin: 10px !important;
}

h1 {
    font-size: 2rem !important;
    font-weight: bold !important;
    font-family: Arial, sans-serif !important;
}

.logo {
    font-size: 2rem !important;
    font-weight: bold;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    background: white;
    height: 3px;
    width: 25px;
    margin: 4px;
    border-radius: 3px;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00bcd4;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #004080;
    color: white;
    height: 60px;
    z-index: 10;
    position: relative;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Zarovnání obsahu menu na střed vertikálně */
    align-items: center; /* Zarovnání obsahu menu na střed horizontálně */
    position: fixed; /* Pevná pozice, aby bylo menu uprostřed obrazovky */
    top: 50%; /* Umístění na střed obrazovky vertikálně */
    left: 50%; /* Umístění na střed obrazovky horizontálně */
    transform: translate(-50%, -50%); /* Posun pro přesné zarovnání středu */
    background-color: #004080; /* Pozadí menu */
    padding: 20px; /* Vnitřní odsazení */
    z-index: 10; /* Zajištění, že menu je nad ostatními prvky */
    border-radius: 10px; /* Zaoblení rohů */
    opacity: 1;
    visibility: visible;
    }    
    

/* Responzivní design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin-bottom: 10px;
    }

    .hamburger {
        display: flex; /* Aktivace hamburger menu */
        flex-direction: column;
        cursor: pointer;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        margin: 4px 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #004080;
        width: 8rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px auto;
    }

    footer {
        padding: 20px;
        text-align: center;
    }

    footer h2 {
        font-size: 18px;
    }

    body {
        font-size: 16px;
    }

    .photos img {
        width: 100%; /* Jednotné pravidlo pro obrázky */
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    header .container {
        align-items: center;
    }

    .photos img {
        width: 100%;
    }

    footer {
        font-size: 12px;
    }
}

