/* Původní minimalistický vizuální styl webu */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: #333; line-height: 1.6; background-color: #fff; }

header { background-color: #1a1a1a; color: #fff; padding: 20px 0; position: sticky; top: 0; z-index: 1000; }
.nav-container { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo { font-weight: bold; font-size: 1.2rem; letter-spacing: 1px; }
nav a { color: #ccc; text-decoration: none; margin-left: 20px; font-size: 0.95rem; transition: color 0.3s; }
nav a:hover { color: #fff; }

/* Střídání odstínů šedi pro jednotlivé sekce */
.hero { background-color: #f5f5f5; padding: 80px 20px; text-align: center; border-bottom: 1px solid #e0e0e0; }
.hero-container { max-width: 800px; margin: 0 auto; }
.hero p.subtitle { color: #666; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 15px; }
.hero h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 20px; color: #1a1a1a; }
.hero h2 { font-size: 1.4rem; font-weight: 400; color: #555; margin-bottom: 35px; line-height: 1.5; }

.btn { display: inline-block; background-color: #1a1a1a; color: #fff; padding: 12px 30px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: background-color 0.3s; border: none; cursor: pointer; }
.btn:hover { background-color: #444; }

section { padding: 80px 20px; border-bottom: 1px solid #e5e5e5; }
.container { max-width: 1100px; margin: 0 auto; }

section h2 { font-size: 2rem; margin-bottom: 15px; color: #1a1a1a; }
section p.section-desc { color: #666; margin-bottom: 50px; font-size: 1.1rem; max-width: 700px; }

/* Konkrétní podbarvení sekcí */
#proc-vybrat { background-color: #ffffff; }
#sluzby { background-color: #ededed; } /* Tmavší elegantní šedá */
#galerie { background-color: #ffffff; }
#o-mne { background-color: #f5f5f5; }   /* Světlejší šedá */
#kontakt { background-color: #ffffff; }

/* Mřížka pro "Proč si vybrat mě" a "Služby" */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }

/* Karty v sekci Služby s bílým pozadím */
#sluzby .grid-item { background: #ffffff; padding: 25px; border: 1px solid #dfdfdf; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.grid-item { background: transparent; }
.grid-item .num { font-size: 1.1rem; font-weight: bold; color: #999; margin-bottom: 10px; display: block; }
.grid-item h3 { font-size: 1.3rem; margin-bottom: 15px; color: #1a1a1a; }
.grid-item p { color: #555; }

/* Sekce Galerie integrovaná do původního stylu */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 40px; margin-top: 20px; }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item { background: #f9f9f9; padding: 20px; border: 1px solid #eee; }
.gallery-label { font-size: 1.1rem; font-weight: 600; color: #1a1a1a; margin-bottom: 15px; border-left: 3px solid #1a1a1a; padding-left: 10px; }
.gallery-img-wrapper { width: 100%; overflow: hidden; background: #eaeaea; display: flex; align-items: center; justify-content: center; }
.gallery-img-wrapper img { width: 100%; height: auto; display: block; object-fit: contain; }

.about-text { max-width: 800px; font-size: 1.1rem; color: #444; }
.about-text blockquote { font-style: italic; font-size: 1.3rem; color: #1a1a1a; margin-bottom: 25px; border-left: 4px solid #ccc; padding-left: 20px; }
.about-text p { margin-bottom: 20px; }

.contact-info { font-size: 1.4rem; font-weight: 600; margin-top: 30px; }
.contact-info a { color: #1a1a1a; text-decoration: none; margin-right: 30px; transition: color 0.3s; }
.contact-info a:hover { color: #666; }

footer { background-color: #1a1a1a; color: #777; padding: 30px 20px; text-align: center; font-size: 0.9rem; }

/* ---- doplňky pro obsah spravovaný v administraci UXS ---- */
.logo { color: #fff; text-decoration: none; }
.hero .rte { margin-bottom: 3.2em; }
.rte.section-desc { color: #666; margin-bottom: 50px; font-size: 1.1rem; max-width: 700px; }
.grid-item .rte { color: #555; }
.contact-info span { color: #1a1a1a; margin-right: 30px; }
.contact-info a, .contact-info span { display: inline-block; margin-bottom: 8px; }
.gallery-img-wrapper a { display: block; width: 100%; }
.notfound { text-align: center; }
.notfound .section-desc { margin-left: auto; margin-right: auto; }

@media (max-width: 760px) {
    .nav-container { flex-direction: column; align-items: flex-start; gap: 10px; }
    nav a { margin-left: 0; margin-right: 18px; }
    .hero { padding: 60px 20px; }
    .hero h1 { font-size: 2.1rem; }
    .hero h2 { font-size: 1.2rem; }
    section { padding: 60px 20px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .contact-info { font-size: 1.2rem; }
}

/* ---- prohlížeč fotografií (modal) ---- */
.js-lightbox { cursor: zoom-in; }
html.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 56px 64px; background: rgba(10, 12, 12, .92); }
.lightbox.is-open { display: flex; }
.lightbox-figure { margin: 0; padding: 0; border: 0; background: none; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox-img { display: block; max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lightbox-caption { margin: 14px 0 0; padding: 0; color: #f2f2f2; font-family: Arial, sans-serif; font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; text-align: center; }
.lightbox-close, .lightbox-nav { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-family: Arial, sans-serif; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover, .lightbox-nav:hover, .lightbox-close:focus-visible, .lightbox-nav:focus-visible { background: rgba(255, 255, 255, .28); outline: none; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
    .lightbox { padding: 64px 8px 72px; }
    .lightbox-img { max-height: calc(100vh - 190px); }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; }
    .lightbox-prev { left: calc(50% - 56px); }
    .lightbox-next { right: calc(50% - 56px); }
}

/* doplňující údaje pod kontakty (adresa, příslušný úřad) */
.contact-extra { margin-top: 26px; color: #555; font-size: 1rem; }
.contact-extra p { margin-bottom: 10px; }

/* ---- cookie lišta ---- */
.cookie-lista { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500; display: none; align-items: center; justify-content: space-between; gap: 24px; max-width: 1100px; margin: 0 auto; padding: 20px 24px; background: #fff; color: #333; border: 1px solid #dfdfdf; border-top: 4px solid #1a1a1a; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); font-size: .92rem; line-height: 1.5; }
.cookie-lista.is-open { display: flex; }
.cookie-lista-text strong { display: block; margin-bottom: 4px; color: #1a1a1a; font-size: 1rem; }
.cookie-lista-tlacitka { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { padding: 12px 20px; border: 2px solid #1a1a1a; background: transparent; color: #1a1a1a; font-family: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: background-color .3s, color .3s; }
.cookie-btn-ano { background: #1a1a1a; color: #fff; }
.cookie-btn:hover, .cookie-btn:focus-visible { background: #444; border-color: #444; color: #fff; outline: none; }
.cookie-odkaz { color: inherit; }
@media (max-width: 760px) {
    .cookie-lista { flex-direction: column; align-items: stretch; gap: 14px; left: 8px; right: 8px; bottom: 8px; padding: 16px; }
    .cookie-btn { flex: 1; }
}
