/* Základní reset a box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif; /* Použijte Google Fonts pro lepší typografii */
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header Section --- */
.main-header {
    position: relative;
    width: 100%;
    height: 600px; /* Výška headeru */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    text-align: center;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

/* Příklady fotek - nahraďte svými */
.slide-1 { background-image: url('https://via.placeholder.com/1920x600/007bff/ffffff?text=Teplice+1'); }
.slide-2 { background-image: url('https://via.placeholder.com/1920x600/28a745/ffffff?text=Teplice+2'); }
.slide-3 { background-image: url('https://via.placeholder.com/1920x600/dc3545/ffffff?text=Teplice+3'); }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Tmavý overlay pro lepší čitelnost textu */
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Aby se obsah vycentroval */
}

.main-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: absolute;
    top: 0;
    left: 0;
}

.logo {
    color: #fff;
    text-decoration: none;
    font-size: 1.8em;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff; /* Barva hoveru */
}

.menu-toggle {
    display: none; /* Skryto na desktopu */
    background: none;
    border: none;
    font-size: 2em;
    color: #fff;
    cursor: pointer;
}

h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
}

.header-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
}

/* --- Sekce --- */
section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

section:last-of-type {
    margin-bottom: 0;
    border-bottom: none;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.section-description {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
    font-size: 1.1em;
}

/* --- Kalendář --- */
.calendar-section {
    background-color: #f9f9f9;
}

/* Styly pro FullCalendar - přizpůsobte dle potřeby */
.main-calendar {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Přizpůsobení FullCalendar barev událostí */
.fc-event {
    background-color: #dc3545 !important; /* Barva rezervace */
    border-color: #dc3545 !important;
    color: #fff !important;
}

/* --- Blog --- */
.blog-section {
    background-color: #fff;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-post {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post h3 {
    font-size: 1.5em;
    margin: 15px 15px 10px;
    color: #333;
}

.blog-post p {
    font-size: 0.95em;
    margin: 0 15px 20px;
    color: #666;
}

.blog-post .btn-secondary {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    text-align: center;
    padding: 10px 0;
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

/* --- Footer --- */
.main-footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-block {
    flex: 1;
    min-width: 250px;
}

.footer-block h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: #007bff;
}

.footer-block p, .footer-block li {
    font-size: 0.95em;
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-block a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-block a:hover {
    color: #007bff;
}

.footer-block ul {
    list-style: none;
}

.social-links a {
    font-size: 1.5em;
    margin-right: 15px;
    color: #fff;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007bff;
}

.footer-bottom {
    border-top: 1px solid #555;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #ccc;
}


/* --- Responzivní design (Media Queries) --- */
@media (max-width: 768px) {
    .main-nav {
        padding: 20px;
    }

    .nav-links {
        display: none; /* Skrýt navigaci ve výchozím stavu */
        flex-direction: column;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 80px; /* Pod headerem */
        left: 0;
        text-align: center;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex; /* Zobrazit při aktivaci */
    }

    .nav-links li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block; /* Zobrazit toggle button */
    }

    h1 {
        font-size: 2.5em;
    }

    .header-content p {
        font-size: 1em;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr; /* Na mobilu jeden sloupec */
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-block {
        margin-bottom: 30px;
    }

    .footer-block:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .main-header {
        height: 400px;
    }

    h1 {
        font-size: 2em;
    }

    .logo {
        font-size: 1.5em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Přístupnost: Fokus pro klávesnici */
a:focus, button:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}