/* Base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Navbar */
.navbar {
  background: #1f5fbf; /* blue */
  color: #fff;
  position: relative;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tsqllogo {
  height: 60px;
  border-radius: 10px;
}

/* Desktop links (right) */
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  opacity: 0.95;
}

.nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Hamburger button (mobile only) */
.hamburger {
  display: none;
  border: 1px solid rgba(255,255,255,0.45);
  background: transparent;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998;
}

/* Mobile menu (slide in from right) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(85vw, 320px);
  background: #ffffff;
  color: #111;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.2s ease;
  box-shadow: -12px 0 30px rgba(0,0,0,0.22);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px;
}

/* Mobile links */
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
}

.mobile-links a {
  color: #111;
  text-decoration: none;
  font-weight: 650;
  padding: 12px 12px;
  border-radius: 10px;
}

.mobile-links a:hover {
  background: #f2f4f8;
}

/* Close option pinned to bottom */
.close-btn {
  margin-top: auto;
  border: 1px solid #d7d7d7;
  background: #f7f7f7;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.close-btn:hover {
  background: #efefef;
}

/* Responsive behavior */
@media (max-width: 800px) {
  .nav-links { display: none; }
  .hamburger { display: inline-block; }
}
