.embedded-video-container {
    margin-bottom: 1rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    border-radius: 8px;
    display: block;
}

.video-source {
    text-align: center;
    margin: 10px 0 0 0;
    font-size: 0.9rem;
    color: #666;
}

/* Facebook thumbnail styles */
.facebook-thumbnail {
    background: linear-gradient(135deg, #1877f2 0%, #0d5cb6 100%);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 8px;
    position: relative;
}

.video-thumbnail-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.thumbnail-content {
    text-align: center;
    position: relative;
}

.thumbnail-content i.bi-facebook {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.thumbnail-content span {
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 2.5rem;
    margin-left: 5px;
}

.video-thumbnail-link:hover .play-button {
    background: rgba(0,0,0,0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-thumbnail-link:hover .facebook-thumbnail {
    opacity: 0.95;
}

/* Video thumbnail styles pro news karty */
.video-thumbnail-container {
    position: relative;
    overflow: hidden;
}

.facebook-video-thumbnail {
    background: linear-gradient(135deg, #1877f2 0%, #0d5cb6 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.facebook-video-thumbnail i {
    font-size: 0.9rem;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-play-icon {
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-icon i {
    color: white;
    font-size: 1.5rem;
    margin-left: 2px;
}

.video-thumbnail-container:hover .video-play-overlay {
    background: rgba(0,0,0,0.2);
}

.video-thumbnail-container:hover .video-play-icon {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    z-index: 2;
}


.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Poměr 16:9 */
    overflow: hidden;
}
.ceskalipa .class-velkaci {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('../images/slider-1.jpg');
    background-repeat: repeat, repeat;
    background-size: auto, auto;
  background-size: auto, auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-size: cover;
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.harmonogram-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}
.ceskalipa .class-malacci {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('../images/slider-2.jpg');
    background-size: auto, auto;
  background-size: cover;
  background-repeat: no-repeat;
}
.harmonogram-title {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
}

.harmonogram-activity {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    font-weight: 500;
    width: 70%;
}

.harmonogram-time {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-weight: bold;
    color: var(--color-primary);
    width: 30%;
}

.harmonogram-table tr:last-child td {
    border-bottom: none;
}

.harmonogram-table tr:hover {
    background-color: #f5f5f5;
}

.gallery-item {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.article-body h2 {
  background: none;
  box-shadow: none;
  color: black !important;
  text-align: left;
}
.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: white;
    font-size: 1.5rem;
}

/* Responsivní design */
@media (max-width: 768px) {
    .gallery-item {
        height: 150px;
    }
}







.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: white;
    font-size: 2rem;
}

.empty-gallery {
    padding: 3rem 0;
}

/* Responsivní design */
@media (max-width: 768px) {
    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .gallery-item img {
        height: 150px;
    }
}




/* Header sekce */
.section.parallax {
    background-attachment: fixed;
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    min-height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.row.align-items-center.justify-content-center {
  margin-top: 50px;
}
.ceskalipa .benefits-section {
  background: linear-gradient(135deg, var(--color-light) 0%, #fff 100%);
}
.ceskalipa {
  color: #222;
}
.page-heading {
    padding: 100px 0;
    position: relative;
}

.mask.bg-dark.opacity-8 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1;
	--bs-bg-opacity: 0.4;
}

.container.position-relative {
    position: relative;
    z-index: 2;
}

.display-4 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.breadcrumb.light {
    background: transparent;
}

.breadcrumb.light .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb.light .breadcrumb-item.active {
    color: white;
}

/* Hlavní obsah článku */
.section {
    padding: 30px 0;
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
}

.article-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 60px;
}

/* Levá strana - fotografie */
.article-media {
    position: sticky;
    top: 30px;
}

.hlavnifotod {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.gallery-link:hover .hlavnifotod {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

/* Pravá strana - obsah */
.article-content {
    padding: 10px 0;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--secondary);
}

.vyrazne {
    font-weight: 600;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

/* Galerie */
.article-gallery-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.gallery-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 30px;
    text-align: center;
}

.lightbox-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-link {
    display: block;
    text-decoration: none;
    transition: var(--transition);
    border-radius: 12px;
    overflow: hidden;
}

.galerie {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.gallery-link:hover .galerie {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Tlačítka */
.article-footer {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
   
   }
   
   
   
   
   
/* --- Definice Barev --- */
:root {
--color-primary: #FF6B8B;
--color-secondary: #4D96FF;
--color-accent: #FFD166;
--color-light: #FFF5F7;
--color-dark: #5A2A4A;
--color-green: #06D6A0;

    --color-header-bg: var(--color-primary);
    --color-content-bg: var(--color-light);
    
    --color-primary-text: var(--color-dark);
    --font-family-base: 'Balsamiq Sans', cursive;
}

.document-section {
    border-left: 4px solid #0d6efd;
    padding-left: 20px;
    margin-left: 10px;
}
.document-item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.document-item:last-child {
    border-bottom: none;
}


.ceskalipa {
    --color-primary: #FF9800;
    --color-secondary: #FFB74D;
    --color-accent: #FF5722;
    /*! --color-light: #FFF3E0; */
    /*! --color-dark: #E65100; */
    --color-green: #FFA726;

    --color-header-bg: linear-gradient(135deg, #FF9800, #FFB74D);
    --color-content-bg: var(--color-light);
    
    --color-primary-text: var(--color-dark);
}

.ceskalipa .back-to-top {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}
.ceskalipa footer h5 {
  color: var(--color-primary) !important;
}
.ceskalipa .btn-custom {
  background: crimson;
}
.ceskalipa .header-section {
  background-image: url("../images/sky.png"), linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
}
/* --- ZÁKLADNÍ A NAVIGAČNÍ STYLY --- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Stejná hodnota jako NAVBAR_OFFSET */
}
section[id], footer[id] {
    /* Nastaví odsazení nad cílovým elementem při skrolování na ID */
    scroll-margin-top: 40px;
}
* {
    border-radius: 0.5rem !important;
    font-family: var(--font-family-base);
}

html, body { 
    height: 100%; 
    margin: 0; 
	  min-height: 150vh !important; /* Umožní scrollování */
    padding: 0; 

    background-color: var(--color-content-bg);
    color: var(--color-primary-text);
}

.novy-bor-badge {
    /* Absolutní pozicování pro umístění v pravo dole vzhledem k .navbar-brand */
    /*! position: absolute; */
    /*! bottom: -10px; */      /* Posun dolů od spodní hrany odkazu */
    /*! left: 192px; */       /* Posun doprava od pravé hrany odkazu */
    
    /* Vzhled a ohraničení */
    background-color: var(--color-primary) !important; /* Červené pozadí pro zvýraznění (můžete změnit) */
    color: white;           /* Bílý text */
    padding: 2px 15px;       /* Vnitřní odsazení kolem textu */
    font-size: 22px;      /* Menší písmo */
    font-weight: bold;      /* Tučné písmo */
    
    /* Ostré hrany - "kvádrový obdélník" */
     /* Tenká tmavší ohraničující čára */
    white-space: nowrap;    /* Zabraňuje zalomení textu, aby se držel obdélníkový tvar */
    width: min-content;
    margin: 0 auto;
    margin-top: -10px;
}

.dropdown-item.active, .dropdown-item:active {
  background: antiquewhite;
}
.deti {
    position: absolute;
    left: 20px;
    top: 120px;
    width: 590px;
}

/* Styl pro Navigaci (Fixed-top) */
.navbar-custom {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0 !important;
    position: fixed !important; 
    top: 0; 
    left: 0; 
    z-index: 1050;
    border-radius: 0 !important;
    width: 100%;
}

.navbar-nav .nav-link, .dropdown-item {
    color: var(--color-dark) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover, .dropdown-item:hover {
    color: var(--color-primary) !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}



/* --- STYLY PRO SUBMENU NA HOVER --- */
/* Důležité: Skryje výchozí chování Bootstrapu pro dropdown, aby fungoval hover */
.dropdown-menu {
    display: none;
    margin-top: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

/* Zobrazí submenu po najetí myší */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
    }
    /* Otevření dropdownu při hoveru pro tlačítko (pro případ, že by bylo potřeba) */
    .navbar-nav .dropdown > .dropdown-toggle:active { 
        pointer-events: none;
    }
}
/* --- KONEC STYLŮ PRO SUBMENU NA HOVER --- */


/* 1. Nastavení výchozího stavu headeru */

.header-section .logo-container.logo-3d-wrapper{ 
margin-top:80px;
}

.header-section {

    overflow: hidden; 

    

    /* Vlastnost background-image nyní obsahuje DVA obrazy: 
        1. Obláčky (nahoře) 
        2. Gradient (dole)
    */

    background-image: 

        url("../images/sky.png"), 

        linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);

    
    /* Vlastnost background-repeat se vztahuje pouze na první obrázek (obláčky) */

    background-repeat: repeat-x, no-repeat; 

    
    /* Vlastnost background-position se vztahuje na oba obrazy. 
        První hodnota: Počáteční pozice obláčků.
        Druhá hodnota: Pozice gradientu (který se nerozšiřuje, takže je irelevantní).
    */

    background-position: 0 0, 0 0; 

    
    /* Doba trvání a název animace */

    animation: moveClouds 120s linear infinite; 

    
    position: relative; 


    height: 540px;
    /*! margin-top: 10px; */
    margin-bottom: 0px;
}


/* 2. Definice klíčových snímků (keyframes) animace */

@keyframes moveClouds {

    from {

        /* Animujeme pouze pozici obláčků. Druhý gradient zůstává na 0 0. */

        background-position: 0 0, 0 0;

    }

    to {

        /* Posuneme obláčky doleva, gradient zůstává. */

        background-position: -1000% 0, 0 0; 

    }

}

      
.logo-container h1 { 
    font-size: 3.5rem; 
    margin-top: 1rem; 
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Hlavní nadpisy (H2) */
main h2 {
    color: white !important;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    padding: 1rem 1.5rem;
    font-weight: 700;
    text-align: center;
    /* ! border-radius: 1.5rem !important; */
    margin-bottom: 2rem !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    /* ! margin-top: 40px; */
}

main h2:before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    z-index: -1;
}

/* Styly pro obsahové karty */
.content-card {
    background: white;
    border-radius: 1rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--color-accent);
}

.content-card-header {
    border-bottom: 2px dashed var(--color-accent);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.content-card-header h3 {
    color: var(--color-primary);
    font-weight: 700;
}

/* --- STYLY PRO SLIDER (CAROUSEL) PŘES CELOU ŠÍŘKU --- */
.carousel-full-width {
    margin-top: -2rem;
    position: relative;
    z-index: 5;
}

.carousel-full-width .carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 0 !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-caption {
    background-color: rgba(255, 255, 255, 0.85); 
    padding: 2rem;
    border-radius: 1rem !important;
    bottom: 20%; 
    top: auto;
    max-width: 60%;
    color: var(--color-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-caption h3 {
    color: var(--color-primary);
    font-weight: 700;
}

/* Zástupné obrázky/barvy pro Hero slider */
.carousel-bg-1 { 
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1516627145497-ae69578cfc06?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
}

.carousel-bg-2 { 
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1541692641319-981cc79ee10a?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
}

.carousel-bg-3 { 
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1544830287-5a585af060ce?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
}

/* Vlastní barva tlačítka ve slajderech */
.btn-custom {
    background: linear-gradient(135deg, var(--color-dark) 0%, #3a1a2d 100%);
    color: white !important;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.material-icons {
    font-size: 70px;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: white !important;
}

.btn-outline-custom {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    font-weight: 700;
}

.btn-outline-custom:hover {
    background: var(--color-primary);
    color: white;
}
/* --- KONEC STYLŮ PRO SLIDER --- */

/* --- STYLY PRO KARTY AKTUALIT --- */
/* --- STYLY PRO KARTY AKTUALIT --- */
.news-card {
    min-height: 250px;
    background: white;
    position: relative;
    overflow: hidden;
    color: #333;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-shadow: none;
}

.news-image {
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    /*! height: 100%; */
    object-fit: cover;
}
.badge {
  width: min-content;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-content h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Odstranění gradientního přechodu */
.news-card::before {
    display: none;
}

/* --- KONEC STYLŮ PRO KARTY AKTUALIT --- */

.deti2 {
    position: absolute;
    right: 50px;
    width: 620px;
    bottom: -80px;
}

/* Definice klíčových snímků (keyframes) animace obláčků (stejné pro PC i mobil) */
@keyframes moveClouds {
    from {
        /* Animujeme pouze pozici obláčků. Druhý gradient zůstává na 0 0. */
        background-position: 0 0, 0 0;
    }
    to {
        /* Posuneme obláčky doleva, gradient zůstává. */
        background-position: -1000% 0, 0 0; 
    }
}




/* Styly pro sekci výhod */
.benefits-section {
    background: linear-gradient(135deg, var(--color-light) 0%, #f0f8ff 100%);
    /* ! padding: 4rem 0; */
    border-radius: 2rem !important;
    /* ! margin: 3rem 0; */
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Styly pro třídy */
.class-card {
    background: white;
    border-radius: 1rem !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.class-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.class-malacci {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('../images/malacci.jpg');
    background-size: auto, auto;
  background-size: cover;
}



.class-velkaci {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('../images/velkacci.jpg');
    background-size: auto, auto;
  background-size: cover;
  background-position: center;
}

.class-content {
    padding: 1.5rem;
}

.class-content h4 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}


/* Styly pro patičku */
footer {
    background: linear-gradient(135deg, var(--color-dark) 0%, #3a1a2d 100%);
    border-radius: 0 !important;
}

footer h5 {
    color: var(--color-accent);
}

/* OPRAVENÉ STYLY PRO BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #FF6B8B 0%, #4D96FF 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: bold;
    text-align: center;
    z-index: 9999;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    
    /* ZAČÍNÁ SKRYTÉ */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.back-to-top.visible {
    /* ZOBRAZÍ SE */
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}
.btn-primary {
  background: var(--color-primary) !important;
  border: none;
  color: white;
  padding: 10px 20px;
}
.ceskalipa .benefit-item h4 {
  color: black;
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #4D96FF 0%, #FF6B8B 100%);
}

.back-to-top .material-icons {
    font-size: 1.2rem;
    margin-bottom: -5px;
}

.back-to-top span:first-child {
    margin-bottom: -2px;
    font-weight: bold;
}

/* Pro starší prohlížeče */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}