/* navbar.css - Navigation bar styles */

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 30px; background: linear-gradient(90deg, #d1a018 0%, #b8901e 100%); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); height: 70px; position: fixed; top: 0; left: 0; right: 0; z-index: 3000; }

.logo { color: #fff; font-size: 28px; font-weight: bold; font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; display: flex; align-items: center; text-decoration: none; cursor: pointer; }

.logo-image { height: 55px; width: auto; }

.logo-text { display: inline; }

.nav-container { display: flex; align-items: center; gap: 20px; }

.nav-links { display: flex; gap: 20px; }

.nav-link { color: #fff; text-decoration: none; font-weight: 500; font-size: 16px; transition: all 0.3s; padding: 8px 16px; border-radius: 6px; }

.nav-link:hover { background: rgba(255, 255, 255, 0.1); }

.nav-link.active { background: rgba(255, 255, 255, 0.2); font-weight: 600; }

/* View Mode Toggle Button */

.view-mode-btn { background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; border-radius: 6px; padding: 8px 16px; cursor: pointer; font-size: 16px; font-weight: 500; transition: all 0.3s; }

.view-mode-btn:hover { background: rgba(255, 255, 255, 0.25); }

/* Hamburger button */

.menu-btn { display: none; border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #fff; border-radius: 8px; padding: 0.45rem 0.55rem; cursor: pointer; font-size: 20px; }

.menu-btn:focus { outline: 2px solid #e9e9e9; outline-offset: 2px; }

/* Mobile dropdown menu */

.mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: #ffffff; border-top: 1px solid #e9eef5; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); max-height: 0; overflow: hidden; transition: max-height 0.25s ease; z-index: 999; }

.mobile-menu.show { display: block; max-height: 300px; }

.mobile-link { display: block; padding: 12px 18px; color: #0a2952; text-decoration: none; font-weight: 600; border-bottom: 1px solid #f2f4f7; }

.mobile-link:last-child { border-bottom: none; }

.mobile-link:hover { background: #f7f9fc; }

.mobile-link.active { background: rgba(209, 160, 24, 0.1); color: #0a2952; border-left: 3px solid #d1a018; }

/* Responsive */

@media (max-width: 900px) {
    .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .nav-links { display: none; }
    .admin-mode-toggle { display: none !important; }
}

@media (max-width: 480px) {
    .navbar { padding: 12px 16px; height: 64px; }
    .logo { font-size: 24px; }
    .logo-image { height: 48px; }
    .mobile-link { padding: 11px 16px; }
    /* Page-mode toggle is non-essential on tiny screens; hide to declutter the bar. */
    .view-mode-btn { display: none; }
}
