/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth; /* Smooth scroll */
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    padding-top: 80px; /* výška headeru, aby obsah nebyl překrytý */
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(34, 34, 34, 0.95);
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.logo img {
    height: 50px;
}

.logo .phone a {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

.logo .phone a:hover {
    color: #f39c12;
}

@media (max-width: 768px) {
    .logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .logo .phone a {
        font-size: 1rem;
    }
}

nav {
    display: flex;
    align-items: center;
}

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

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

/* Burger menu */
.burger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(34, 34, 34, 0.95);
        position: absolute;
        top: 60px;
        right: 0;
        width: 220px;
        padding: 15px;
        border-radius: 5px;
    }
    .nav-links.show {
        display: flex;
    }
    .burger {
        display: block;
    }
}

/* Sections */
section {
    padding: 120px 20px 0px;
    max-width: 1200px;
    margin: auto;
}

section:last-of-type {
    padding-bottom: 60px; /* space for footer */
}

h1, h2 {
    margin-bottom: 20px;
    color: #222;
    font-weight: bold;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    height: 200px; /* fixed height for uniform thumbnails */
    object-fit: cover; /* ensures aspect ratio and fills the box */
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}

.lightbox.show {
    display: flex;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Lightbox Arrows */
.arrow {
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}


footer .fb-link {
    color: #fff;
    text-decoration: none;
}

footer .fb-link:hover {
    color: #f39c12;
}

/* Fixed CTA button for mobile */
.cta-button {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f39c12;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
    z-index: 10000;
}

.cta-button:hover {
    background: #d9830b;
}

@media (max-width: 768px) {
    .cta-button {
        display: block;
    }
}