

.nav-floating {
  position: fixed;
  top: 0rem;
  left: 0rem;
  right: 0rem;
  z-index: 50;
  background-color: var(--background-color);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: padding 0.3s ease-in-out;
  padding: 1rem 0;
}

.nav-floating.scrolled {
  padding: 0.5rem 0;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.space-x-3 > * + * {
  margin-left: 0.75rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.logo {
  height: 2rem;
  width: 2rem;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.nav-link:hover {
  color: var(--primary);
}

.social-link {
  color: var(--muted-foreground);
  transition: color 0.3s ease-in-out;
}

.social-link:hover {
  color: var(--primary);
}

.social-icon {
  width: 1.25rem;
  height: 1.25rem;
  background-color: currentColor;
  border-radius: 9999px;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--text-on-background);
  color: var(--text-on-primary);
  margin-left: 1rem;
}

.btn-ghost {
  background-color: transparent;
}

.hidden {
  display: none;
}

.lg-flex {
  display: flex;
}

.lg-hidden {
  display: none;
}

/* Mobile Menu Styles */
.mobile-menu-container {
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Replaces space-y-3 */
}

#mobile-menu {
  margin-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--border);
}


.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* Replaces space-x-3 */
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease-in-out;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-nav-icon {
    height: 1rem;
    width: 1rem;
}

.mobile-social-links {
  display: flex;
  align-items: center;
  gap: 1rem; /* Replaces space-x-4 */
  padding-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .lg-flex {
    display: none;
  }
  .lg-hidden {
    display: block;
  }
}