/* -------------------- TOP BAR -------------------- */
/* Sticky Navigation Bar */
.top-bar {
    background-color: #eeb600;
    color: #fff;
    padding: 0 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 80px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hidden state (used when stationary and not in the video header) */
.top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    /* Makes the navigation bar fade out */
}

/* Sticky in video header */
.top-bar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #eeb600;
    /* Same background color for consistency */
}

/* Left and Right sections */
.top-bar-left,
.top-bar-right {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.top-bar-center {
    display: flex;
    justify-content: center;
}

.logo {
    height: 60px;
    width: auto;
}

.menu {
    display: contents;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li a {
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #ddd;
    /* Subtle hover effect */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-bar {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo {
        height: 50px;
    }

    .menu li a {
        font-size: 14px;
        padding: 8px 10px;
    }
}