/* --- 1. PROMĚNNÉ A RESET --- */
:root {
    --brand-green: #9E42C1;      /* Energy Green */
    --brand-dark: #004d20;       /* Tmavší Green */
    --text-main: #2c3e50;        /* Hlavní text */
    --text-light: #7f8c8d;       /* Světlejší text */
    --bg-light: #f8f9fa;         /* Pozadí sekcí */
    --white: #ffffff;
    
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --radius: 6px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background: var(--white);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- 2. UI PRVKY --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.btn {
    display: inline-block; padding: 12px 28px; font-weight: 500;
    border-radius: var(--radius); text-transform: uppercase;
    font-size: 0.9rem; letter-spacing: 0.5px; cursor: pointer; border: none;
    transition: var(--transition);
}
.btn-primary { background-color: var(--brand-green); color: var(--white); box-shadow: 0 4px 10px rgba(0, 150, 64, 0.3); }
.btn-primary:hover { background-color: var(--brand-dark); transform: translateY(-2px); }

.btn-white { background-color: var(--white); color: var(--brand-green); font-weight: bold; }
.btn-white:hover { background-color: #f0f0f0; }

.btn-outline-white { border: 2px solid rgba(255,255,255,0.8); color: white; background: transparent; }
.btn-outline-white:hover { background: white; color: var(--brand-green); }

.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 10px; }
.divider { width: 60px; height: 4px; background: var(--brand-green); margin: 0 auto; }
.header-desc { text-align: center; margin-top: 15px; color: var(--text-light); max-width: 600px; margin: 15px auto 0; }

/* --- 3. HLAVIČKA --- */
.top-bar {
    background-color: #f1f1f1; font-size: 0.85rem; padding: 8px 0;
    color: var(--text-light); border-bottom: 1px solid #e0e0e0;
}
.top-bar-content { display: flex; justify-content: space-between; }

.kontakt-odkaz {
    color: purple;            /* Základní fialová */
    font-weight: bold;        /* Tučné písmo */
    transition: color 0.3s;   /* Plynulý přechod barvy */
}

/* Styl při najetí myší (hover) */
.kontakt-odkaz:hover {
    color: #bd59d4;           /* Světlejší fialová (např. Medium Orchid) */
}

.contact-mini span { margin-right: 15px; }

header {
    position: sticky; top: 0; background: var(--white); z-index: 1000;
    box-shadow: var(--shadow-sm); padding: 15px 0; transition: padding 0.3s;
}
header.scrolled { padding: 10px 0; box-shadow: var(--shadow-md); }

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { margin-top: 0.4em;; font-weight: 700; color: var(--text-main); letter-spacing: -1px; }
.logo-sub { color: var(--brand-green); }

.desktop-nav ul { display: flex; gap: 25px; align-items: center; }
.desktop-nav a { font-weight: 500; font-size: 1rem; position: relative; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--brand-green); }

.btn-nav { background: var(--brand-green); color: var(--white) !important; padding: 8px 20px; border-radius: 4px; }

/* --- 4. HERO SEKCE (PREMIUM) --- */
.hero-premium {
    position: relative; height: 90vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: white;
    background: url('../images/hero.webp?q=80&w=2000&auto=format&fit=crop') no-repeat center center/cover;
    overflow: hidden;
}
.hero-premium .overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 77, 32, 0.85), rgba(0, 150, 64, 0.6)); z-index: 1;
}
.hero-content-center { position: relative; z-index: 2; max-width: 800px; }
.hero-premium span {
    display: block; text-transform: uppercase; letter-spacing: 3px;
    font-size: 0.9rem; font-weight: 600; color: #a5d6a7; margin-bottom: 20px;
}
.hero-premium h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 25px; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.hero-premium p { font-size: 1.25rem; margin-bottom: 40px; opacity: 0.9; font-weight: 300; }
.hero-actions { display: flex; justify-content: center; gap: 15px; }

/* Vlnka dole */
.custom-shape-divider-bottom {
    position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 3;
}
.custom-shape-divider-bottom svg { display: block; width: calc(136% + 1.3px); height: 80px; }
.custom-shape-divider-bottom .shape-fill { fill: #f9f9f9; /* Barva breadcrumbs */ }

/* Animace - Základní stav pro JS (Animate On Scroll) */
.animate-up { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s ease; 
}

/* Animace pro HERO sekci (spustí se okamžitě pomocí @keyframes) */
.hero-premium .animate-up {
    animation: fadeInUp 0.8s ease forwards;
}
.hero-premium .delay-1 { animation-delay: 0.2s; } 
.hero-premium .delay-2 { animation-delay: 0.4s; }
.hero-premium .delay-3 { animation-delay: 0.6s; } 
.hero-premium .delay-4 { animation-delay: 0.8s; }

/* Aktivace animace pro ostatní sekce (spustí se až třída .is-visible je přidána JS) */
.animate-up.is-visible { 
    opacity: 1; 
    transform: translateY(0); 
}
.delay-1 { transition-delay: 0.1s; } 
.delay-2 { transition-delay: 0.2s; } 
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; } 
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* --- 5. BREADCRUMBS --- */
.breadcrumbs-bar { background-color: #f9f9f9; padding: 15px 0; border-bottom: 1px solid #eee; font-size: 0.9rem; color: var(--text-light); }
.breadcrumb { display: flex; align-items: center; }
.breadcrumb .separator { margin: 0 10px; color: #ccc; }
.breadcrumb .current { color: var(--brand-green); font-weight: 500; }

/* --- 6. O MNĚ --- */
.about-section { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; } 
.about-image img { width: 100%; border-radius: 10px; box-shadow: 20px 20px 0 var(--bg-light); }
.experience-badge {
    position: absolute; bottom: -20px; right: -20px; background: var(--brand-green);
    color: white; padding: 20px 30px; border-radius: 10px; text-align: center;
    box-shadow: 0 10px 20px rgba(0, 150, 64, 0.3);
}
.experience-badge .years { display: block; font-size: 2rem; font-weight: 700; line-height: 1; }
.experience-badge .text { font-size: 0.9rem; text-transform: uppercase; }
.sub-heading { display: block; text-transform: uppercase; color: var(--brand-green); font-weight: 600; letter-spacing: 2px; margin-bottom: 10px; font-size: 0.9rem; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
.about-text .lead { font-size: 1.2rem; color: #555; margin-bottom: 20px; font-weight: 500; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; font-weight: 500; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-green); font-weight: bold; }
.signature { font-family: 'Dancing Script', cursive; font-size: 1.8rem; color: var(--brand-green); margin-top: 20px; }

/* --- 7. VLASTNOSTI / BENEFITY (NOVÉ) --- */
.features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
    margin-top: 50px; 
}
.feature-card {
    text-align: center; padding: 40px 20px; border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow-sm); transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-bottom-color: var(--brand-green); }
.feature-icon {
    font-size: 3rem; color: var(--brand-green); margin-bottom: 15px;
    display: inline-block;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; color: var(--text-light); }

/* --- 8. SLUŽBY --- */
.services-detailed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; }
.service-box {
    background: white; padding: 35px; border-radius: 8px; border: 1px solid #eee;
    transition: var(--transition); position: relative; overflow: hidden;
}
.service-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brand-green); }
.service-box::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--brand-green); transform: scaleX(0); transition: 0.3s; }
.service-box:hover::after { transform: scaleX(1); }
.service-icon { font-size: 2.5rem; margin-bottom: 20px; }
.service-box h3 { margin-bottom: 15px; font-size: 1.3rem; }
.service-features { margin-top: 20px; border-top: 1px solid #f0f0f0; padding-top: 20px; }
.service-features li { font-size: 0.9rem; color: var(--text-light); margin-bottom: 8px; display: flex; align-items: center; }
.service-features li::before { content: '•'; color: var(--brand-green); margin-right: 10px; font-size: 1.2rem; }

/* --- 9. NOVINKY / BLOG (NOVÉ) --- */
.news-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 50px; 
}
.news-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-image { height: 200px; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.news-card:hover .news-image img { transform: scale(1.05); }
.news-content { padding: 25px; }
.news-meta { font-size: 0.85rem; color: var(--text-light); margin-bottom: 10px; }
.news-meta span { margin-right: 15px; }
.news-content h4 { font-size: 1.2rem; margin-bottom: 15px; }

/* --- 10. CTA & KONTAKT --- */
.cta-section {
    background: linear-gradient(rgba(0, 77, 32, 0.9), rgba(0, 150, 64, 0.8)), url('../images/pobocka.webp?auto=format&fit=crop&w=1200&q=80');
    background-size: cover; background-attachment: fixed; color: white; text-align: center; padding: 100px 0;
}
.cta-section h2 { font-size: 2.5rem; margin-bottom: 15px; }
.cta-section p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }

/* Upraveno: Odstranění spodního paddingu sekce kontakt pro mapu */
#kontakt { 
    padding-top: 30px;
    padding-bottom: 2px; 
}

.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-info-box h3 { margin-bottom: 20px; color: var(--brand-green); }
.info-item { margin-top: 15px; border-top: 1px solid #eee; padding-top: 15px; }
.modern-form { background: var(--bg-light); padding: 30px; border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
input, textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 4px;
    font-family: inherit; outline: none; transition: 0.3s;
}
input:focus, textarea:focus { border-color: var(--brand-green); box-shadow: 0 0 0 3px rgba(0, 150, 64, 0.1); }
textarea { margin-bottom: 20px; resize: vertical; }

/* NOVÁ SEKCE: MAPA - FULL WIDTH A BEZ MEZER */
.map-container {
    padding: 0;
    margin-top: 50px; /* Mezera mezi formulářem a mapou */
    margin-bottom: 0;
    
    border-radius: 0; /* Odstranění rádiusu pro plnou šířku */
    overflow: hidden;
    box-shadow: none; 
    height: 400px;
    
    /* Vlastnosti pro Full Width */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw; 
    margin-right: -50vw; 
}
.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- 11. PATIČKA --- */
.main-footer { background-color: #1a1a1a; color: #b0b0b0; padding-top: 80px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-bottom: 60px; }
.footer-col h3 { color: white; font-size: 1.2rem; margin-bottom: 25px; display: inline-block; border-bottom: 2px solid var(--brand-green); padding-bottom: 5px; }
.footer-links li, .footer-contact li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--brand-green); padding-left: 5px; }
.opening-hours li { display: flex; justify-content: space-between; margin-bottom: 10px; border-bottom: 1px solid #333; }
.footer-bottom-bar { background-color: #111; padding: 20px 0; text-align: center; border-top: 1px solid #222; }

/* --- MOBILNÍ MENU & RESPONSIVITA --- */
.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; margin: 5px; background: var(--text-main); transition: 0.3s; }
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: var(--white); transition: 0.4s; z-index: 999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.mobile-menu.active { right: 0; }
.mobile-menu a { font-size: 1.5rem; margin: 15px 0; color: var(--text-main); font-weight: 500; }

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-image { margin-bottom: 50px; }
    
    /* Zajištění responsivity pro nové sekce */
    .features-grid, .news-grid { grid-template-columns: 1fr; } 
}
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; }
    .top-bar { display: none; }
    .hero-premium h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; padding: 0 40px; }
    .btn-outline-white { margin-left: 0; }
    .contact-layout, .form-row { grid-template-columns: 1fr; }
    
    /* Úprava výšky mapy pro mobily */
    .map-container {
        height: 300px;
    }
}

/* SEKCE Akce */
.news-section-clean {
    background-color: #fcf7f7; /* Velmi jemný tón pozadí z tvé fotky */
    padding: 40px 0;
}

.news-feed {
    max-width: 800px; /* Užší kontejner vypadá lépe */
    margin: 0 auto;
}

.feed-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid #e8e0e0; /* Jemná dělící linka */
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-img {
    flex: 0 0 220px; /* Pevná šířka náhledu */
    height: 140px;
    overflow: hidden;
}

.feed-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.feed-img img:hover {
    opacity: 0.8;
}

.feed-content {
    flex: 1;
}

.feed-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #222;
}

.feed-title a {
    color: #222;
    text-decoration: none;
}

.feed-title a:hover {
    color: var(--brand-violet); /* Fialový akcent při hoveru */
}

.feed-meta {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feed-sep {
    margin: 0 5px;
    color: #ccc;
}

.feed-author {
    color: #a381a3; /* Jemně fialovo-šedý tón pro autora */
}

/* --- MODERNÍ ÚZKÝ HEADER SEKCE --- */
.section-intro-news {
    max-width: 800px;
    margin: 0 auto 30px auto; /* Mezera pod headerem */
    text-align: left; /* Zarovnání doleva ladí s fotkami pod tím */
}

.intro-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-violet); /* Tvoje fialová barva */
    margin-bottom: 5px;
}

.intro-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #222;
    margin: 0;
    line-height: 1.1;
}

.intro-line {
    width: 40px;
    height: 3px;
    background-color: var(--brand-violet);
    margin-top: 15px;
    border-radius: 2px;
}

/* Úprava odsazení sekce, aby to nebylo moc nalepené */
.news-section-clean {
    padding: 60px 0;
    background-color: #fcf7f7;
}

/* Responzivita akce - na mobilu pod sebe */
@media (max-width: 600px) {
    .feed-item {
        flex-direction: column;
        gap: 15px;
    }
    .feed-img {
        flex: 0 0 auto;
        width: 100%;
        height: 180px;
    }
    .feed-title {
        font-size: 1.2rem;
    }
}

/* --- UNIVERZÁLNÍ BANNER (PAGE HEADER) --- */
.universal-banner {
    position: relative;
    height: 220px; /* Ideální výška pro podstránky */
    background-color: var(--brand-violet); /* Záložní barva */
    /* Použijeme uklidňující, neutrální obrázek přírody nebo interiéru */
    background-image: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Elegantní tmavě fialový přechod */
    background: linear-gradient(135deg, rgba(74, 27, 93, 0.85) 0%, rgba(122, 43, 145, 0.6) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.banner-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

/* Úprava pro mobily */
@media (max-width: 768px) {
    .universal-banner { height: 180px; }
    .banner-title { font-size: 1.8rem; }
}

/* ===========================================
   WYSIWYG CONTENT SECTION - MODERNÍ STYLOVÁNÍ
   =========================================== */

/* Hlavní kontejner pro WYSIWYG obsah */
.wysiwyg-section {
    padding: 80px 0;
    background-color: var(--white);
}

.wysiwyg-section.bg-light {
    background-color: var(--bg-light);
}

/* Wrapper pro obsah s optimální čitelností */
.wysiwyg-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
}

/* Nadpisy uvnitř WYSIWYG */
.wysiwyg-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 1.5em 0 0.6em 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.wysiwyg-content h1:first-child {
    margin-top: 0;
}

.wysiwyg-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 1.8em 0 0.8em 0;
    line-height: 1.3;
    padding-bottom: 0.4em;
    border-bottom: 2px solid var(--brand-green);
}

.wysiwyg-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand-green);
    margin: 1.5em 0 0.7em 0;
    line-height: 1.4;
}

.wysiwyg-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #34495e;
    margin: 1.3em 0 0.6em 0;
}

.wysiwyg-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #34495e;
    margin: 1.2em 0 0.5em 0;
}

.wysiwyg-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    margin: 1em 0 0.5em 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Odstavce */
.wysiwyg-content p {
    margin: 0 0 1.5em 0;
}

.wysiwyg-content p:last-child {
    margin-bottom: 0;
}

/* Zvýrazněný úvodní odstavec */
.wysiwyg-content p.lead,
.wysiwyg-content > p:first-of-type {
    font-size: 1.25rem;
    font-weight: 400;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2em;
}

/* Odkazy */
.wysiwyg-content a {
    color: var(--brand-green);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(158, 66, 193, 0.3);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.wysiwyg-content a:hover {
    color: var(--brand-dark);
    text-decoration-color: var(--brand-dark);
}

/* Seznamy */
.wysiwyg-content ul,
.wysiwyg-content ol {
    margin: 0 0 1.5em 0;
    padding-left: 2em;
}

.wysiwyg-content ul {
    list-style: none;
}

.wysiwyg-content ul li {
    position: relative;
    margin-bottom: 0.8em;
    padding-left: 1.5em;
}

.wysiwyg-content ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--brand-green);
    font-size: 0.8em;
    top: 0.3em;
}

.wysiwyg-content ol {
    counter-reset: item;
    list-style: none;
}

.wysiwyg-content ol li {
    position: relative;
    margin-bottom: 0.8em;
    padding-left: 2em;
    counter-increment: item;
}

.wysiwyg-content ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: var(--brand-green);
    font-weight: 700;
}

/* Vnořené seznamy */
.wysiwyg-content ul ul,
.wysiwyg-content ol ol,
.wysiwyg-content ul ol,
.wysiwyg-content ol ul {
    margin: 0.5em 0 0.5em 0;
}

/* Citace */
.wysiwyg-content blockquote {
    margin: 2em 0;
    padding: 1.5em 2em;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--brand-green);
    font-style: italic;
    color: #555;
    font-size: 1.15rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wysiwyg-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Horizontální čára */
.wysiwyg-content hr {
    margin: 3em 0;
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--brand-green), transparent);
}

/* Tabulky */
.wysiwyg-content table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.wysiwyg-content table thead {
    background: var(--brand-green);
    color: white;
}

.wysiwyg-content table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.wysiwyg-content table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.wysiwyg-content table tbody tr:hover {
    background-color: #f8f9fa;
}

.wysiwyg-content table tbody tr:last-child td {
    border-bottom: none;
}

/* Obrázky */
.wysiwyg-content img {
    max-width: 100%;
    height: auto;
    margin: 2em 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.wysiwyg-content img.alignleft {
    float: left;
    margin: 0.5em 2em 1.5em 0;
    max-width: 45%;
}

.wysiwyg-content img.alignright {
    float: right;
    margin: 0.5em 0 1.5em 2em;
    max-width: 45%;
}

.wysiwyg-content img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Kódové bloky */
.wysiwyg-content code {
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #d63384;
}

.wysiwyg-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5em;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2em 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wysiwyg-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
    font-size: 0.95em;
}

/* Zvýraznění textu */
.wysiwyg-content strong,
.wysiwyg-content b {
    font-weight: 700;
    color: #1a1a1a;
}

.wysiwyg-content em,
.wysiwyg-content i {
    font-style: italic;
}

.wysiwyg-content mark {
    background: linear-gradient(120deg, rgba(158, 66, 193, 0.2) 0%, rgba(158, 66, 193, 0.3) 100%);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Info boxy - pokud je editor podporuje */
.wysiwyg-content .info-box {
    margin: 2em 0;
    padding: 1.5em 2em;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 0 8px 8px 0;
}

.wysiwyg-content .warning-box {
    margin: 2em 0;
    padding: 1.5em 2em;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 0 8px 8px 0;
}

.wysiwyg-content .success-box {
    margin: 2em 0;
    padding: 1.5em 2em;
    background: #d4edda;
    border-left: 4px solid #28a745;
    border-radius: 0 8px 8px 0;
}

/* Responsivita */
@media (max-width: 768px) {
    .wysiwyg-section {
        padding: 50px 0;
    }
    
    .wysiwyg-content {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .wysiwyg-content h1 {
        font-size: 2rem;
    }
    
    .wysiwyg-content h2 {
        font-size: 1.6rem;
    }
    
    .wysiwyg-content h3 {
        font-size: 1.3rem;
    }
    
    .wysiwyg-content p.lead,
    .wysiwyg-content > p:first-of-type {
        font-size: 1.1rem;
    }
    
    .wysiwyg-content img.alignleft,
    .wysiwyg-content img.alignright {
        float: none;
        max-width: 100%;
        margin: 1.5em 0;
    }
    
    .wysiwyg-content table {
        font-size: 0.9rem;
    }
    
    .wysiwyg-content table th,
    .wysiwyg-content table td {
        padding: 10px 12px;
    }
    
    .wysiwyg-content blockquote {
        padding: 1em 1.5em;
        font-size: 1.05rem;
    }
}

/* Animace pro elementy při scrollování (volitelné) */
.wysiwyg-content > * {
    animation: fadeInContent 0.6s ease-out;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    #cookie {
    transition:2s all;-webkit-transition:2s all;-moz-transition:2s all;-o-transition:2s all;-ms-transition:2s all;
    text-align:center;padding:5px;width:100%;height:auto;font-size:12px;color:#fff;background-color:#000;opacity:0.9;position:fixed;bottom:0;
    z-index: 999;
    }

    #cookie input{
        width: auto;
    }
    #cookie a {color:#fff;text-decoration:none;cursor:pointer;display:inline-block;}
    #cookie a.c_vse {padding:5px 10px;background-color:green;border-radius:10px;margin:10px;}
    #cookie a.c_vybrane {padding:5px 10px;background-color:orange;border-radius:10px;margin:10px;}
    #cookie a.c_ne {padding:5px 10px;background-color:red;border-radius:10px;margin:10px;}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
    background-color: #4a1b5d; /* Tmavší fialová pro kontrast */
    color: #ffffff;
    padding: 8px 0;
    font-size: 0.85rem;
    text-align: center;
    position: relative;
    z-index: 1001; /* Aby byla nad fixním menu, pokud ho máš */
}

.announcement-bar p {
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.announcement-bar a {
    color: #fcf7f7;
    text-decoration: underline;
    margin-left: 10px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.announcement-bar a:hover {
    opacity: 0.8;
}

.announcement-bar .badge {
    background-color: #7a2b91; /* Světlejší fialová */
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-right: 8px;
    vertical-align: middle;
}

/* Pro slevy a promo akce (Výrazná, ale ne agresivní) */
.announcement-bar .badge.badge-action { background-color: #e67e22; } 

/* Pro dovolené nebo změny otevírací doby (Informativní modrá) */
.announcement-bar .badge.badge-info { background-color: #3498db; }

/* Pro tipy a bylinky (Přírodní zelená - sedí k Energy) */
.announcement-bar .badge.badge-nature { background-color: #27ae60; }

/* Pro urgentní zprávy a stop-stavy (Varovná červená) */
.announcement-bar .badge.badge-urgent { background-color: #c0392b; }

/* Pro exkluzivní klubové info (Zlatá/Elegantní) */
.announcement-bar .badge.badge-club { background-color: #d4af37; color: #1a1a1a; }


/* Responzivita - na mobilu trochu zmenšíme text */
@media (max-width: 600px) {
    .announcement-bar {
        padding: 10px 15px;
    }
    .announcement-bar p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Galerie přes celou šířku obrazovky */
.gallery-full-width {
    width: 100%;
    overflow: hidden;
    line-height: 0; /* Odstraní drobné mezery pod obrázky */
}

.shop-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 sloupce */
    gap: 0; /* Žádné mezery pro efekt "stěny" z fotek */
}

.gallery-item {
    aspect-ratio: 16 / 9; /* Širokoúhlý formát vypadá na celé šířce lépe */
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
    cursor: pointer;
}

/* Efekt při najetí - jemné přiblížení */
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

/* Přidání ikony lupy při najetí (volitelné) */
.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 2;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Responzivita */
@media (max-width: 1024px) {
    .shop-gallery { grid-template-columns: repeat(2, 1fr); } /* 2 sloupce na tabletu */
}

@media (max-width: 600px) {
    .shop-gallery { grid-template-columns: 1fr; } /* 1 sloupec na mobilu */
}