/* Top Navigation Bar */ .navbar { position: relative; top: 0; left: 0; width: 100%; height: 50px; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(5px); display: flex; justify-content: space-between; align-items: center; padding: 0 15px; z-index: 1000; box-shadow: 0 2px 5px rgba(0,0,0,0.1); flex-shrink: 0 } .brand { font-weight: bold; font-size: 1.2rem; color: #333; text-decoration: none; flex: 1; display: flex; justify-content: flex-start; } .nav-links { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 15px; } .nav-links a { text-decoration: none; color: #555; font-size: 0.9rem; transition: color 0.2s; white-space: nowrap; } .nav-links a:hover { color: #000; } /* Search Bar in Navbar */ .nav-search { flex: 0 1 400px; margin: 0 15px; display: flex; justify-content: center; } .nav-search input { width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px 0 0 4px; outline: none; font-size: 16px; /* Prevents zoom on iOS */ min-height: 44px; } .nav-search button { padding: 5px 12px; border: 1px solid #ccc; border-left: none; background: #f8f9fa; border-radius: 0 4px 4px 0; cursor: pointer; min-height: 44px; } .nav-search button:hover { background: #e2e6ea; } .nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #333; padding: 5px; } /* Mobile Navbar */ @media (max-width: 600px) { .navbar { flex-wrap: wrap; height: auto; padding: 10px; gap: 10px; } .brand { flex: 1; order: 1; } .nav-toggle { display: none !important; } .nav-links { display: flex; flex: 1; order: 2; justify-content: flex-end; align-items: center; gap: 10px; background: transparent; padding: 0; } .nav-links a { font-size: 0.9rem; } .nav-search { flex: 1 1 100%; order: 3; margin: 0; max-width: none; } }