ة
/
fixed-navbar.css


/* =========================================================
   Fixed Navbar
========================================================= */

.navbar-spacer {
    height: 0;
}

.conference-navbar {
    position: relative;
    z-index: 1050;
    width: 100%;
    transition:
        min-height 0.3s ease,
        padding 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.conference-navbar.navbar-fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    min-height: 76px;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 35px rgba(6, 63, 72, 0.14);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: navbarSlideDown 0.28s ease;
}

.conference-navbar.navbar-fixed .conference-brand img {
    width: 50px;
    height: 50px;
    transition: width 0.3s ease, height 0.3s ease;
}

.conference-navbar.navbar-fixed .conference-brand strong {
    font-size: 16px;
}

.conference-navbar.navbar-fixed .conference-brand small {
    font-size: 10px;
}

.conference-navbar.navbar-fixed .nav-link {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

@keyframes navbarSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* يمنع النافبار الثابت من تغطية بداية الأقسام */
section[id] {
    scroll-margin-top: 100px;
}

@media (max-width: 991px) {
    .conference-navbar.navbar-fixed {
        min-height: auto;
        padding: 10px 0;
    }

    .conference-navbar.navbar-fixed .navbar-collapse {
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .conference-navbar.navbar-fixed .navbar-toggler {
        flex-shrink: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .conference-navbar,
    .conference-navbar.navbar-fixed {
        animation: none;
        transition: none;
    }
}
