/* آیکن منو */
.menu-icone-index {
    position: fixed;
    top: 30px;
    right: 25px;
    font-size: 25px;
    color: #196889;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
    padding-left: 30px;
    padding-bottom: 30px;
}

.menu-icone-index:hover {
    color: darkred;
}

/* منوی کشویی */
.menu-index {
    position: fixed;
    top: 0;
    right: 0;
    width: 20%;
    min-width: 220px;
    height: 100vh;
    background: rgba(210, 226, 252, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform 0.5s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px;
    /* اضافه شده برای اسکرول */
    overflow-y: auto;
    padding-bottom: 20px;
    /* برای اینکه لینک‌های آخر به راحتی دیده شوند */
}

/* حالت باز */
.menu-index.open {
    transform: translateX(0);
}

/* لینک‌ها */
.menu-index a {
    display: block;
    width: 80%;
    text-align: center;
    color: #2cb3ed;
    /* رنگ آبی برند */
    text-decoration: none;
    font-size: 18px;
    margin: 8px 0;
    padding: 10px 0;
    border-radius: 2px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
}

.menu-index.open a {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

/* افکت هاور روشن‌تر */
.menu-index a:hover {
    background-color: rgba(255, 180, 0, 0.35);
    /* نارنجی روشن‌تر و شفاف */
    color: #cfddfa;
    /* سفید برای کنتراست */
}

/* آیکن ضربدر هنگام باز بودن */
.menu-icone-index.active .fa-bars {
    display: none;
}

.menu-icone-index.active::after {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* برای موبایل */
@media (max-width: 768px) {
.menu-index {
        width: 60%;
        overflow-y: auto;
        padding-bottom: 50px;
    }

        .menu-index a {
        font-size: 17px;
        width: 90%;
    }
}