body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #f9f9f9;
    color: #333;
    padding-top: 140px; /* výška headeru */
}

/* Fixní header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Horní lišta */
.top-bar {
    background-color: rgb(242, 242, 242);
    color: #167f83;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 20px;
    flex-wrap: wrap;
    font-weight: bold;
}

.top-bar img {
    width: 50px;
}


.top-bar a {
    color: #167f83;
    text-decoration: none;
    margin-left: 10px;
    font-size: 20px;
    font-weight: bold;
}

.top-buttons {
    display: flex;
    gap: 10px;
}

/* Navigace */
nav {
    background-color: white;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}


.nav-container {
    display: flex;
    justify-content: space-between; /* Logo vlevo, hamburger vpravo */
    align-items: center;
    padding: 10px 20px;
}

.logo img {
    max-height: 40px;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    color: #555;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.menu a:hover {
    color: #2DC4C8;
}


/* Hamburger tlačítko */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

/* Mobilní menu zprava */
.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: flex-end; /* Text menu zprava */
    background-color: white;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.mobile-menu.show {
    display: flex;
}

.mobile-menu a {
    padding: 8px;
    color: #555;
    text-decoration: none;
    font-weight: bold;
}


/* Banner */
.banner {
    background-color: #2DC4C8;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    gap: 20px;
}

.banner img {
    max-width: 650px;
    border-radius: 10px;
    margin: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.banner img:hover {
    transform: scale(1.08);
}

.banner-text {
    color: white;
    max-width: 400px;
    margin: 10px;
    text-align: left;
    animation: fadeIn 1s ease-in-out;
}

.banner-text h1 {
    font-size: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 5px 20px;
    margin: 5px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, #00A6A8, #2DC4C8);
    transition: transform 0.2s, opacity 0.3s;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn2 {
    display: inline-block;
    padding: 12px 20px;
    margin: 55px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    color: rgb(225, 255, 0);
    background: linear-gradient(90deg, #00A6A8, #367d80);
    transition: transform 0.2s, opacity 0.3s;
    text-align: center;
}

.btn2:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Animace */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}


/* Responzivita */
@media (max-width: 768px) {
    .menu {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}


/* Track posouvající se zprava doleva */
.marquee-track {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    animation: marquee 14s linear infinite;
    font-weight: 600;
    font-size: 16px;
}

/* Pokud chcete pomalejší/rychlejší posun, změňte délku animace (14s) */
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Malá úprava pro mobil (zmenšení fontu) */
@media (max-width: 480px) {
    .marquee-track { font-size: 14px; animation-duration: 16s; }
    .bottom-marquee { height: 44px; padding-left: 12px; padding-right: 12px; }
}

/* Aby marquee nepřekrývalo patičku, případně upravte body padding-bottom */
body { 
    padding-bottom: 60px; /* rezervuje místo pro marquee */
}


/* Spodní pevný pruh v barvách webu */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #00A6A8, #2DC4C8);
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    padding: 14px 10px;
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.15);
}

/* Rezerva, aby obsah nebyl zakrytý */
body {
    padding-bottom: 50px;
}
