

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            overflow: hidden;
            height: 100vh;
        }
		
	H1 {
	  font-size: 14px;
		color: #D42027;
	}

        #map {
            height: 100vh;
            width: 100%;
            z-index: 1;
        }

        /* Копче за локација на корисникот */
        #locate-user {
            position: fixed;
            bottom: 50px;
            left: 30px;
            background: #d42027;
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 20px;
            cursor: pointer;
            z-index: 800;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        #locate-user:hover {
            background: #b71c22;
            transform: scale(1.1);
        }

        #locate-user.loading {
            background: #ffc107;
            animation: pulse 1.5s infinite;
        }

        #locate-user.success {
            background: #28a745;
        }

        #locate-user.error {
            background: #dc3545;
        }

        #sidebar {
            position: fixed;
            top: 0;
            right: -300px;
            width: 300px;
            height: 100vh;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            transition: right 0.3s ease;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

	 #sidebar.open {
	            right: 0;
	    }		
	
	.logo-container {
            padding: 15px 20px;
            text-align: center;
            background: linear-gradient(135deg, #d4af37 0%, #f7ef8a 100%);
            border-bottom: 3px solid #1e3c72;
        }
		
		.logo {
            font-size: 14px;
            font-weight: 600;
            color: #1e3c72;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
            letter-spacing: 1px;
        }
		
		.logoimg {
            width: 80%; 
			max-width: 150px;
			min-width: 70px;
        }
		
		.logo span {
            color: #c00;
        }

        	
		
        /* Јазиче за менито - УПРАВУВАНО СО JAVASCRIPT */
        #sidebar-tab {
            position: fixed;
            top: 50%;
            transform: translateY(-50%);
            background: #d42027;
            color: white;
            width: 30px;
            height: 80px;
            border-radius: 10px 0 0 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 1001;
            transition: right 0.3s ease;
            box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
        }

        #sidebar-tab:hover {
            background: #b71c22;
            width: 35px;
        }

        #sidebar-tab span {
            writing-mode: vertical-rl;
            text-orientation: mixed;
            font-weight: bold;
            font-size: 14px;
        }
		
	#sidebar-tab.pulse {
            animation: pulse 2s infinite;
        }

       #sidebar-header {
            padding: 10px;
            background: #d42027;
            color: white;
            text-align: center;
            border-bottom: 1px solid #eee;
        }

        #sidebar-content {
            flex: 1;
            overflow-y: auto;
            padding: 15px;
			
        }

        .menu-item {
            margin-bottom: 5px;
            border-radius: 5px;
            overflow: hidden;
			
        }

        .menu-category, .menu-group, .menu-subgroup, .menu-location {
            padding: 12px 15px;
            cursor: pointer;
            transition: all 0.2s;
            border-left: 3px solid transparent;
            position: relative;
        }

        .menu-category {
            background: #f8f9fa;
            font-weight: bold;
            border-left-color: #d42027;
            padding-right: 40px;
			padding-left: 25px;
			padding-top: 10px;
			height: 35px;
        }

        .menu-group {
            background: #f1f3f5;
            padding-left: 25px;
            border-left-color: #ffc107;
            padding-right: 40px;
			padding-top: 6px;
			height: 35px;
        }

        .menu-subgroup1 {
            background: #e9ecef;
            padding-left: 40px;
            border-left-color: #20c997;
            padding-right: 30px;
        }

		.menu-subgroup2 {
            background: #e9ecef;
            padding-left: 40px;
            border-left-color: #20c997;
            padding-right: 30px;
        }

        .menu-location {
            background: white;
            padding-left: 25px;
            border-left-color: #6c757d;
			height: 30px;
			padding-top: 3px;
			vertical-align: middle;
        }

        .menu-location:hover {
            background: #fff3cd;
            transform: translateX(5px);
        }

        .menu-category:hover, .menu-group:hover, .menu-subgroup:hover {
            background: #e2e6ea;
        }

        .menu-category.active, .menu-group.active, .menu-subgroup.active {
            background: #d42027;
            color: white;
        }

        /* Стрелки за подменија */
        .menu-category::before, .menu-group::before, .menu-subgroup::before {
            content: '▶';
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%) rotate(0deg);
            transition: transform 0.3s ease;
            font-size: 12px;
        }

        .menu-category.active::before, .menu-group.active::before, .menu-subgroup.active::before {
            transform: translateY(-50%) rotate(90deg);
        }

        .submenu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .submenu.open {
            max-height: 1000px;
        }

        #language-selector {
            padding: 15px;
            background: #f8f9fa;
            border-top: 1px solid #dee2e6;
            display: flex;
            justify-content: space-around;
        }

        .language-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 14px;
            padding: 5px 10px;
            border-radius: 3px;
            transition: background 0.2s;
        }

        .language-btn:hover, .language-btn.active {
            background: #d42027;
            color: white;
        }

        .leaflet-popup-content {
            width: 250px;
        }

        .location-popup img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 5px;
            margin-bottom: 10px;
        }

        .location-popup h3 {
            margin-bottom: 10px;
            color: #d42027;
        }

        .location-popup p {
            margin-bottom: 15px;
            font-size: 14px;
            line-height: 1.4;
        }

        .location-popup a {
            display: block;
            text-align: center;
            background: #d42027;
            color: white;
            padding: 8px 15px;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
        }

        .location-popup a:hover {
            background: #b71c22;
        }

        /* Стил за hover popup */
        .hover-popup .leaflet-popup-content-wrapper {
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .hover-popup .leaflet-popup-content {
            width: 280px;
            margin: 15px;
        }

        .hover-popup .leaflet-popup-tip {
            background: white;
        }

        .hover-content img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 5px;
            margin-bottom: 10px;
        }

        .hover-content h4 {
            color: #d42027;
            margin-bottom: 8px;
            font-size: 16px;
        }

        .hover-content p {
            font-size: 13px;
            line-height: 1.4;
            margin-bottom: 10px;
            color: #555;
        }

        .hover-content .hover-link {
            display: inline-block;
            background: #d42027;
            color: white;
            padding: 5px 10px;
            text-decoration: none;
            border-radius: 3px;
            font-size: 12px;
        }

        .hover-content .hover-link:hover {
            background: #b71c22;
        }

       
        /* Стил за маркер на корисникот */
        .user-location-marker {
            background: #d42027;
            border: 3px solid white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }


        .user-location-marker::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 8px;
            height: 8px;
            background: white;
            border-radius: 50%;
        }

   /* Responsive стилови */
        @media (max-width: 1024px) {
            #sidebar {
                width: 350px;
                right: -350px;
            }
            
            #sidebar.open {
                right: 0;
            }
        }

       @media (max-width: 768px) {
            #sidebar {
                width: 85%; /* Не цел екран, остава простор за јазичето */
                right: -85%;
            }
            
            #sidebar.open {
                right: 0;
            }
            
            #sidebar-tab {
                width: 25px;
                height: 70px;
            }
            
            #sidebar-tab span {
                font-size: 12px;
            }
            
            #locate-user {
                bottom: 80px;
                right: 20px;
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
        }

        @media (max-width: 480px) {
            #sidebar {
                width: 85%;
                right: -85%;
            }
            
            #sidebar.open {
                right: 0;
            }
            
            #sidebar-tab {
                width: 22px;
                height: 60px;
            }
            
            #sidebar-tab span {
                font-size: 11px;
            }
            
            #sidebar-header {
                padding: 15px;
            }
            
            #sidebar-header h1 {
                font-size: 18px;
            }
            
            #sidebar-header p {
                font-size: 14px;
            }
            
            #locate-user {
                bottom: 70px;
                right: 15px;
                width: 35px;
                height: 35px;
                font-size: 14px;
            }
        }

          /* Анимации */
        @keyframes pulse {
            0% { transform: translateY(-50%) scale(1); }
            50% { transform: translateY(-50%) scale(1.05); }
            100% { transform: translateY(-50%) scale(1); }
        }

        @keyframes pulse-marker {
            0% { 
                box-shadow: 0 0 0 0 rgba(212, 32, 39, 0.7);
                transform: scale(1);
            }
            70% { 
                box-shadow: 0 0 0 10px rgba(212, 32, 39, 0);
                transform: scale(1.1);
            }
            100% { 
                box-shadow: 0 0 0 0 rgba(212, 32, 39, 0);
                transform: scale(1);
            }
        }

        .user-location-marker.pulse {
            animation: pulse-marker 2s infinite;
        }
    