:root {
  --nav-h: 90px;
}

/* Ayelinklux - Header (Top Bar + Navbar + Mobile Menu)
   Page-transition / fade-in animation now lives in shared.css. */
/* =========================================================
   TOP BAR
========================================================= */
#top-bar {
  display: block;
  background: var(--navy);
  padding: 7px 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 3;
  border-bottom: 1px solid rgba(244,123,32,0.2);
}
.top-bar-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.top-bar-left {
  display: flex;
  gap: 22px;
  align-items: center;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  font-size: 13px;
}
.top-bar-item:hover { color: var(--orange); }
.top-bar-item i { 
  color: var(--orange); 
  font-size: 12px;
  min-width: 12px;
}
.top-bar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.top-bar-social {
  display: flex;
  gap: 9px;
  align-items: center;
}
.top-bar-social a {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244,123,32,0.15);
  border-radius: 4px;
  color: var(--orange);
  text-decoration: none;
  font-size: 11px;
  transition: all 0.2s;
}
.top-bar-social a:hover {
  background: var(--orange);
  color: var(--white);
}
.top-bar-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.15);
}
@media (max-width: 1200px) {
  #top-bar { padding: 7px 32px; }
  .top-bar-inner { gap: 20px; }
  .top-bar-left { gap: 18px; }
  .top-bar-item { font-size: 12px; gap: 5px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 72px; }
  #top-bar { padding: 7px 20px; }
  .top-bar-inner { gap: 16px; }
  .top-bar-left { gap: 12px; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  #top-bar { padding: 6px 16px; font-size: 11px; }
  .top-bar-inner { gap: 12px; }
  .top-bar-left { gap: 10px; width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .top-bar-right { gap: 8px; }
  .top-bar-item { font-size: 11px; gap: 4px; }
  .top-bar-social { gap: 5px; }
  .top-bar-social a { width: 22px; height: 22px; font-size: 9px; }
  .top-bar-divider { height: 16px; }
  .top-bar-slogan,
  .top-bar-slogan-divider,
  .top-bar-right { display: none; }
}

/* =========================================================
   NAVBAR
========================================================= */
#navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#navbar-wrap.scrolled { box-shadow: 0 4px 24px rgba(27,46,94,0.1); }

.nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-self: start;
}
.nav-logo img { height: 48px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  justify-self: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
  /* font-family: 'Quicksand', sans-serif; */
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.active {
  color: var(--orange);
  background: rgba(255, 168, 0, 0.15);
  padding: 8px 16px;
  border-radius: 10px;
}

.nav-cta-wrap {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 11px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
  border: 1px solid var(--navy);
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.btn-nav-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
  border: 1px solid var(--border, #e5e7eb);
  white-space: nowrap;
}
.btn-nav-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--white);
  flex-direction: column;
  padding: 20px;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu a:hover { background: var(--off-white); }
.mobile-menu a.active {
  color: var(--orange);
  background: rgba(255, 168, 0, 0.15);
}
.mobile-menu .mobile-cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  margin-top: 8px;
}
.mobile-menu .mobile-cta:hover { background: var(--orange); }

@media (max-width: 1000px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
}
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta-wrap { display: none; }
  .nav-logo img { height: 44px; }
}
@media (max-width: 480px) {
  :root { --nav-h: 62px; }
  .nav-inner { padding: 0 16px; }
  .nav-logo img { height: 40px; }
}