/* Resetování základních stylů */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
}

/* Container pro centraci obsahu */
.container {
    width: 70%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    position: relative;
    color: white;
    text-align: right;
    padding: 100px 0;
    background-image: url('img/uvod3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 45vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
header {
    position: relative;
    color: white;
    text-align: center;
    padding: 0px 0;
    background-image: url('img/uvod3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 25vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

header .container,
header h1,
header p {
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3em;
}

header p {
    font-size: 1em;
}

/* Navigace */
nav.main-nav {
    background-color: #333;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav.main-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav.main-nav ul li {
    display: inline;
    margin: 0 20px;
}

nav.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}

nav.main-nav a.active {
    font-weight: bold;
}

/* Navigace - mobil */
.menu-toggle {
    display: none;
    font-size: 2em;
    color: white;
    cursor: pointer;
    margin-left: 10px;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    padding: 5px 15px;
}

.nav-links a:hover {
    background-color: #007BFF;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #333;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 50px;
        left: 0;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 10px 0;
    }
}

/* Intro sekce */
.intro {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.intro h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.intro p {
    text-align: left;
    font-size: 1.2em;
    margin-bottom: 0.2em;
}

.intro p.center-text {
    margin-top: 30px;
    text-align: center;
    font-size: 1.2em;
}

.logo {
    display: block;
    margin: 10px auto;
    max-width: 200px;
}

/* Služby */
.services {
    background-color: #f8f8f8;
    padding: 50px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
}

.service-item {
    background: #fff;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.service-item a {
    margin-right: 20px;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

/* Globální tlačítko */
.btn {
    display: inline-block;
    background-color: #f9f9f9;
    color: #333;
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    font-weight: 600;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.btn:hover,
.btn:focus {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    background-color: #fff;
    outline: none;
}

/* Otevírací doba */
.opening {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
    overflow-x: auto;
}

.opening h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.opening-table {
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.opening-table td {
    padding: 5px 10px;
    font-size: 1.2em;
    white-space: nowrap;
}

.opening-table td:first-child {
    width: 30%;
    text-align: left;
    font-weight: bold;
}

.opening-table td:nth-child(2),
.opening-table td:nth-child(3) {
    width: 32.5%;
    text-align: center;
}

.opening-table .closed td {
    text-align: center;
    font-weight: bold;
}

@media (max-width: 600px) {
    .opening-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .opening-table td {
        font-size: 1em;
        padding: 5px;
    }
}

/* Aktuality */
.news {
    padding: 50px 0;
}

.news h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
}

.news ul {
    list-style-type: none;
    padding-left: 0;
}

.news li {
    margin: 15px 0;
}

.news a {
    color: #007BFF;
    text-decoration: none;
    font-size: 1.2em;
}

.news a:hover {
    text-decoration: underline;
}

/* Obrázky v článcích */
.article-img {
    width: 30%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Footer */
footer {
    background: #333;
    color: white!important;
    text-align: center;
    padding: 20px 0;
}

footer .footer-content  p{
    color: white!important;
    margin: 0px 0!important;
}

footer p {
    font-size: 1em;
}

/* Responzivní úpravy */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2em;
    }
    header p {
        font-size: 0.9em;
    }
    .service-item {
        margin: 10px 0;
        padding: 15px;
    }
    .service-item h3 {
        font-size: 1.5em;
    }
    .news a {
        font-size: 1em;
    }
}

@media screen and (max-width: 480px) {
    header h1 {
        font-size: 1.6em;
    }
    header p {
        font-size: 0.8em;
    }
}


