:root {
    --main-color: #344E41;
    --accent-color: #DAD7CD;
    --dark-color: #1E1E1E;
    --glow-color: #344E41;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    background-color: var(--main-color);
    color: var(--dark-color);
    overflow-x: hidden;
}

.wcover > header,
header {
    background-color: var(--main-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.hamburger {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    cursor: pointer;
    z-index: 999;
    position: relative;
    margin-left: auto;
}

.hamburger div {
    width: 100%; /* důležité */
    height: 4px;
    background-color: var(--accent-color); /* nebo zkus přímo #fff pro test */
    border-radius: 2px;
}


.side-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 80px 20px 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 200;
}

.side-menu.active {
    right: 0;
}

.side-menu .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.side-menu .close-menu::before,
.side-menu .close-menu::after {
    content: '';
    position: absolute;
    top: 13px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--dark-color);
    border-radius: 2px;
}

.side-menu .close-menu::before {
    transform: rotate(45deg);
}

.side-menu .close-menu::after {
    transform: rotate(-45deg);
}

.side-menu a {
    display: block;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 1.1em;
}

main {
    padding: 60px 20px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    text-align: center;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

p {
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 900px;
}

.stav-box {
    padding: 20px;
    background-color: #fff5e1;
    color: #1e1e1e;
    margin: 0 auto;
    max-width: 600px;
    border: 2px solid var(--main-color);
    border-radius: 12px;
    font-size: 1.2em;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.section.reverse {
    flex-direction: row-reverse;
}

.section-image {
    flex: 0 0 180px;
}

.section-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.section-text {
    flex: 1 1 300px;
    max-width: 500px;
    text-align: left;
}

.section-text h2 {
    margin-bottom: 10px;
}

.btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn-download,
.contact-buttons a {
    background-color: var(--main-color);
    color: var(--accent-color);
    padding: 12px 30px;
    font-size: 1em;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 200px;
}

.btn-download:hover,
.contact-buttons a:hover {
    background-color: #2a3e34;
}

.video-container {
    position: relative;
    width: 100%;
    height: 95vh;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.4);
    z-index: 1;
}

.circle-buttons {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}

.circle-button {
    background: linear-gradient(145deg, #e3e1d5, #b8b6ac);
    border: 1px solid rgba(52, 78, 65, 0.3);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 0 10px rgba(52, 78, 65, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.circle-button span {
    font-size: 10px;
    margin-top: 4px;
    line-height: 1;
}

.circle-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-color);
}

.circle-button:active {
    transform: scale(0.95);
}

.why-section {
    margin-top: 60px;
}

.why-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.why-block {
    flex: 1 1 250px;
    background: var(--accent-color);
    border: 2px solid var(--main-color);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.why-block img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.contact-info {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.opening-hours {
    max-width: 400px;
    margin: 0 auto;
    background: #f3f2ed;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    color: var(--dark-color);
}

.opening-hours h2 {
    text-align: center;
    margin-bottom: 15px;
}

.opening-hours table {
    width: 100%;
    border-collapse: collapse;
}

.opening-hours td {
    padding: 6px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-icons a img {
    width: 40px;
    height: 40px;
    filter: invert(43%) sepia(11%) saturate(479%) hue-rotate(84deg) brightness(95%) contrast(92%);
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .section {
        flex-wrap: nowrap;
        flex-direction: row;
    }

    .section.reverse {
        flex-direction: row-reverse;
    }

    .section-image,
    .section-text {
        flex: 1 1 50%;
        text-align: left;
    }

    .section-text {
        padding: 0 10px;
    }

    .section-image img {
        width: 140px;
        height: 140px;
        margin: auto;
        display: block;
    }

    .circle-buttons {
        right: 10px;
        gap: 15px;
    }

    .circle-button {
        width: 70px;
        height: 70px;
        font-size: 20px;
    }

    .circle-button span {
        font-size: 9px;
    }

    .why-grid {
        flex-direction: column;
    }
}
