﻿.navbar {
            background-color: #2c3e50;
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
        }

        /* دکمه همبرگری */
        .hamburger {
            cursor: pointer;
            width: 30px;
            height: 25px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            z-index: 1001;
            position: relative;
        }

        .hamburger span {
            width: 100%;
            height: 3px;
            background-color: white;
            transition: 0.3s;
            border-radius: 3px;
        }

        /* تغییر شکل دکمه همبرگری هنگام باز بودن منو */
        .hamburger.open span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }
        .hamburger.open span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.open span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }

        /* منوی کناری (از راست باز می‌شود) */
        .side-menu {
            position: fixed;
            top: 0;
            right: -300px; /* ابتدا خارج از صفحه */
            width: 280px;
            height: 100%;
            background-color: #fff;
            box-shadow: -2px 0 8px rgba(0,0,0,0.2);
            z-index: 1000;
            transition: right 0.3s ease-in-out;
            overflow-y: auto;
            padding-top: 70px;
        }

        .side-menu.open {
            right: 0;
        }

        /* استایل لیست منو */
        .side-menu ul {
            list-style: none;
            padding: 0 20px;
        }

        .side-menu li {
            margin: 15px 0;
        }

        .side-menu a {
            text-decoration: none;
            color: #333;
            font-size: 1.1rem;
            display: block;
            padding: 8px 12px;
            transition: 0.2s;
            border-radius: 8px;
        }

        .side-menu a:hover {
            background-color: #ecf0f1;
            color: #000;
        }

        /* آیتم‌هایی که زیرمنو دارند */
        .has-submenu > a {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .has-submenu > a::after {
            content: "▼";
            font-size: 0.7rem;
            transition: transform 0.3s;
        }

        .has-submenu.open > a::after {
            transform: rotate(180deg);
        }

        /* زیرمنو */
        .submenu1 {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out;
            padding-right: 20px;
            list-style: none;
        }

        .has-submenu.open .submenu1 {
            max-height: 300px; /* به اندازه کافی بزرگ برای نمایش آیتم‌ها */
            transition: max-height 0.5s ease-in;
        }

        .submenu1 li {
            margin: 8px 0;
        }

        .submenu1 a {
            font-size: 0.95rem;
            padding: 6px 12px;
            color: #555;
        }

        /* لایه تاریک پشت منو */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 999;
            display: none;
        }

        .overlay.show {
            display: block;
        }

        /* محتوای اصلی */
        .content {
            padding: 40px 20px;
            text-align: center;
        }

       