/*========================
   RESET & BASE
=========================*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Cairo", sans-serif;
    background: #f5f5f5; /* رمادي فاتح */
    color: #333;         /* رمادي غامق */
    direction: rtl;
}

/*================ NAVBAR FLOATING STYLE ================*/

.navbar{
    width: 90%;
    max-width: 1200px;
    position: fixed;
    top: 20px; /* يرفع النافبار قليلاً عن أعلى الصفحة */
    left: 50%;
    transform: translateX(-50%); /* يضعه في المنتصف تمامًا */
    z-index: 1000;

    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* ظل خفيف يعطي إحساس الطفو */

    transition: all 0.3s ease;
}

.nav-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
}

.icon-circle, .logo-circle{
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

body.scrolled .navbar{
    background: rgba(255,255,255,0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}



/*========================
   ICON CIRCLES (GLASS)
=========================*/

.icon-circle{
    width: 46px;
    height: 46px;
    border-radius: 50%;

    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: .3s;
}

.icon-circle:hover{
    background: rgba(255,255,255,0.35);
}

/*========================
   ICON COLORS
=========================*/

.icon-user,
.icon-menu,
.icon-search{
    font-size: 22px;
    color: #ff6b00; /* البرتقالي */
}

/*========================
   NAV ITEMS
=========================*/

.nav-item{
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

/*========================
   DROPDOWN MENUS
=========================*/

.dropdown{
    position: absolute;
    top: 60px;
    right: 0;

    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 20px;
    padding: 12px 0;
    width: 180px;

    display: none;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

    animation: dropdownFade .25s ease;
}

.dropdown a{
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: .2s;
}

.dropdown a:hover{
    background: rgba(255,255,255,0.4);
}

@keyframes dropdownFade{
    from{ opacity: 0; transform: translateY(-10px); }
    to{ opacity: 1; transform: translateY(0); }
}

/*========================
   SEARCH BAR (iOS STYLE)
=========================*/

.nav-search{
    flex: 1;
    max-width: 450px;

    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 40px;
    padding: 10px 20px;

    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-search input{
    border: none;
    background: transparent;
    outline: none;

    font-size: 16px;
    color: #333;
    width: 100%;
}

/*========================
   LOGO
=========================*/

.logo-circle img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


.nav-logo{
    display: flex;
    align-items: center;
    gap: 12px;
	max-width: 100%;
}

.logo-circle{
    width: 50px;
    height: 50px;
}

.nav-brand{
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.fa-user, .fa-bars, .fa-magnifying-glass{
    font-size: 20px;
    color: #ff6b00;
}
