﻿/* ===== ZÁKLADNÍ RESET A BODY ===== */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== LOGO V NAVIGACI ===== */
.nav-logo {
    height: 60px;
    width: auto;
    margin-right: auto;
}

/* ===== NAVIGACE ===== */
nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    padding: 0.8rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .nav-links {
    display: flex;
    justify-content: center;
    flex: 1;
    gap: 0;
}

nav a {
    color: #333;
    text-decoration: none;
    padding: 0.6rem 2rem;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

nav a:hover {
    color: #4e9445;
}

/* ===== SEKCE ===== */

/* ===== HERO BANNER (INDEX) ===== */
.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    display: block;
    min-height: 300px;
    object-fit: cover;
}

/* ===== SLIDESHOW BACKGROUND (OSTATNÍ STRÁNKY) ===== */
.slideshow-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    flex: 1;
}

.slideshow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slideshow-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow-bg img.active {
    opacity: 1;
}

.slideshow-overlay {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.45);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    box-sizing: border-box;
}

.slideshow-overlay h1,
.slideshow-overlay h2 {
    color: #fff;
    margin: 0.4em 0 0.2em 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.slideshow-overlay p {
    color: #f0f0f0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    max-width: 700px;
    line-height: 1.6;
    font-size: 1.1em;
    margin: 0.5em 0;
}

.slideshow-overlay .about-list li {
    color: #f0f0f0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.slideshow-overlay label {
    color: #f0f0f0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.slideshow-overlay .contact-container {
    background: rgba(255, 255, 255, 0.95);
}

.slideshow-overlay .contact-container label {
    color: #444;
    text-shadow: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    box-sizing: border-box;
}

.hero-overlay h1,
.hero-overlay h2 {
    color: #fff;
    margin: 0.4em 0 0.2em 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-overlay .about-list li {
    color: #f0f0f0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

section {
    padding: 40px 20px;
    min-height: 200px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

section h1, section h2 {
    color: #222;
    margin: 0.5em 0 0.3em 0;
}

section p {
    color: #555;
    margin: 0;
    max-width: 700px;
    line-height: 1.6;
}

/* ===== ODRÁŽKOVÝ SEZNAM (O NÁS) ===== */

.content-block {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 2em 2.5em;
    max-width: 750px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.content-block h1,
.content-block h2 {
    text-align: center;
}

.content-block .about-list {
    text-align: left;
    align-items: flex-start;
}

.content-block .about-list li {
    text-align: left;
}

.about-list {
    list-style: none;
    text-align: center;
    margin: 0.5em auto 1.5em auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4em;
    max-width: 650px;
}

.about-list li {
    text-align: center;
    width: 100%;
    font-size: 1.1em;
    color: #444;
    line-height: 1.6;
}

/* ===== OBRÁZEK (RESPONSIVE) ===== */
.responsive-img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
}

.responsive-img.full-width {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

/* ===== GALERIE ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 30px 60px;
    justify-items: center;
    background: #f5f5f5;
    flex: 1;
}

.slideshow-overlay .gallery {
    background: transparent;
}

.gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
    padding: 0;
    box-shadow: none;
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 6px;
    background: #fff;
    padding: 8px;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1100;
    font-weight: bold;
    background: none;
    border: none;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1100;
    background: rgba(0,0,0,0.3);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-arrow:hover {
    background: rgba(0,0,0,0.6);
}

#lightbox-prev {
    left: 25px;
}

#lightbox-next {
    right: 25px;
}

/* ===== FORMULÁŘ (KONTAKT) ===== */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    color: #333;
    text-align: left;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
    background: #fafafa;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #4e9445;
}

.btn-submit {
    background: #333;
    color: #fff;
    border: none;
    padding: 14px 20px;
    margin-top: 25px;
    width: 100%;
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #4e9445;
}

/* ===== ZÁPATÍ ===== */
footer {
    background: #222;
    color: #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 2rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

footer .footer-left,
footer .footer-right {
    display: flex;
    align-items: center;
    gap: 0.3em;
    flex-wrap: wrap;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #4e9445;
}

footer .footer-separator {
    margin: 0 0.5em;
    color: #666;
}

/* ===== RESPONSIVITA ===== */
@media (max-width: 900px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
    nav a {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 550px) {
    .gallery {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    nav {
        flex-wrap: wrap;
        gap: 5px;
    }
    nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    footer {
        flex-direction: column;
        text-align: center;
        gap: 0.8em;
    }
    footer .footer-left,
    footer .footer-right {
        justify-content: center;
    }
}
