		body {
  			  background-image: url('images/bg_1.jpeg');
  			  background-size: cover;
  			  background-repeat: no-repeat;
  			  background-position: center;
   			 background-attachment: fixed;
		}

		/* Tmavý overlay přes celé pozadí (zajistí čitelnost textu) */
		body::before {
   			 content: '';
  			  position: fixed;
  			  top: 0;
   			 left: 0;
    			width: 100%;
   			 height: 100%;
  			  background: rgba(0, 0, 0, 0.4);  /* 40% tmavý zákal */
   			 z-index: -1;
		}

		/* Aby obsah nebyl průhledný (menu a footer mají vlastní pozadí) */
		.navbar,
		.footer {
   		 /* Menu a footer zůstanou plně krycí, overlay je neovlivní */
   			 position: relative;
   			 z-index: 1;
		}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f4f4f4;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Hlavní obsah – roztáhne se, aby přitlačil footer dolů */
        .content {
            flex: 1;
            padding: 2rem;
            text-align: center;
        }

        /* ========== NAVIGAČNÍ PANEL ========== */
        .navbar {
            background-color: #8B0000;   /* tmavě červená */
            padding: 0.8rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        .navbar .logo {
            color: #ffffff;
            font-size: 1.6rem;
            font-weight: bold;
            text-decoration: none;
            letter-spacing: 1px;
        }

        .nav-menu {
            list-style: none;
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .nav-menu li a {
            text-decoration: none;
            color: #ffffff;
            font-size: 1.1rem;
            padding: 0.5rem 0.8rem;
            border-radius: 6px;
            transition: background-color 0.3s ease, transform 0.2s ease;
            display: inline-block;
        }

        .nav-menu li a:hover {
            background-color: #a52a2a;
            transform: scale(1.05);
        }

        .nav-menu li a.active {
            background-color: #6b0000;
            font-weight: 600;
        }

        /* ========== FOOTER (stejný styl jako menu) ========== */
        .footer {
            background-color: #8B0000;   /* stejná tmavě červená */
            color: #ffffff;
            padding: 1.5rem 2rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 -4px 8px rgba(0,0,0,0.15);
            text-align: center;
        }

        .footer .footer-links {
            list-style: none;
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .footer .footer-links li a {
            text-decoration: none;
            color: #ffffff;
            font-size: 1rem;
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
            transition: background-color 0.3s ease, transform 0.2s ease;
            display: inline-block;
        }

        .footer .footer-links li a:hover {
            background-color: #a52a2a;
            transform: scale(1.05);
        }

        .footer .copyright {
            font-size: 0.95rem;
            opacity: 0.9;
        }

        .footer .social a {
            color: #ffffff;
            text-decoration: none;
            margin: 0 0.4rem;
            font-size: 1.2rem;
            transition: transform 0.2s ease;
            display: inline-block;
        }

        .footer .social a:hover {
            transform: scale(1.2);
        }

        /* Responzivní úprava pro malé obrazovky */
        @media (max-width: 600px) {
            .navbar {
                flex-direction: column;
                align-items: flex-start;
                padding: 1rem;
            }
            .nav-menu {
                width: 100%;
                flex-direction: column;
                gap: 0.5rem;
                margin-top: 0.8rem;
            }
            .nav-menu li a {
                width: 100%;
                padding: 0.6rem 0.8rem;
            }

            .footer {
                flex-direction: column;
                gap: 1rem;
                padding: 1rem;
            }
            .footer .footer-links {
                flex-direction: column;
                gap: 0.5rem;
            }
            .footer .footer-links li a {
                width: 100%;
                padding: 0.5rem 0.8rem;
            }
        }