  /* ==========================
     Header & Navigation
     ========================== */

.app-bar, .mobile-app-bar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

.app-bar-left, .app-bar-right {
    display: flex;
    align-items: center;
}

.app-bar a, .mobile-app-bar a, .mobile-app-bar-title {
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.app-bar a:hover {
    transform: scale(1.1);
}

.app-bar a.active, .mobile-app-bar a.active {
    color: #ffffff;
    font-weight: bold;
}

.app-bar-left a {
    margin-right: 40px;
}

.app-bar-right a {
    margin-left: 40px;
}

.mobile-app-bar-left a {
    margin-left: 10px;
}

.mobile-app-bar-title {
    color: #ffffff;
    font-weight: bold;
}

.hamburger {
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0); 
    border: none;
    color: white;
    cursor: pointer;
    margin-right: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.hamburger:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}
.hamburger:active {
    transform: scale(1);
}

/* Specific styles for desktop app-bar */
@media (min-width: 768px) {
    .mobile-app-bar {
        display: none;
    }
}

/* Specific styles for mobile app-bar */
@media (max-width: 768px) {
    .app-bar {
        display: none;
    }

    .mobile-app-bar {
        display: flex; /* Enable mobile app bar only on small screens */
        padding: 5px 5px;
    }

    .mobile-menu a {
        padding: 10px; /* Larger hit areas for links */
    }

    .mobile-menu {
        display: none; /* Start with the menu hidden */
        width: 100%;
        background-color: #202020;
        position: absolute;
        top: 100%; /* Position directly below the app bar */
        left: 0;
        padding: 10px;
    }
}