/* ═══════════════════════════════
   Navbar — navbar.css  (Miyamin Alizz redesign)
   ═══════════════════════════════ */

:root {
  --charcoal:   #1e1e1e;
  --charcoal-2: #252525;
  --charcoal-3: #2c2c2c;
  --orange:     #f45c25;
  --orange-dim: #c94a1c;
  --white:      #ffffff;
  --muted:      #aaaaaa;
  --top-h:      36px;
  --nav-h:      68px;
  --total-h:    calc(var(--top-h) + var(--nav-h));
  --font:       'Segoe UI', Arial, sans-serif;
}

/* ── Reset header ── */
header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 300;
  font-family: var(--font);
}

/* ── Top contact bar — scrolls away ── */
.top-bar {
  background: var(--charcoal);
  border-bottom: 1px solid #333;
  height: var(--top-h);
}
.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}
.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar-left svg { color: var(--orange); flex-shrink: 0; }

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 2px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--muted);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.social-icon:hover { color: var(--orange); background: rgba(244,92,37,0.1); }

/* ── Main nav bar — stays fixed after top bar scrolls ── */
.main-nav {
  position: sticky;
  top: 0;
  background: var(--charcoal-2);
  height: var(--nav-h);
  border-left: 4px solid var(--orange);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.main-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo__img {
height: 60px;
    width: auto;
    object-fit: cover;
    display: block;
    filter: drop-shadow(0px 0px 1px black);
    transition: opacity 0.2s;
}
.nav-logo:hover .nav-logo__img { opacity: 0.85; }

/* ── Nav links ── */
.nav-links {
  display: flex;
  align-items: stretch;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.nav-links li {
  position: relative;
  display: flex;
  align-items: stretch;
}
.nav-links li a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}
.nav-links li a:hover { color: var(--white); }

/* orange slanted active tab */
.nav-links li.active a {
  color: var(--white);
  background: var(--orange);
  /* skewed parallelogram tab */
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  padding: 0 26px;
}
.nav-links li.active a:hover { background: var(--orange-dim); }

/* hover underline for non-active */
.nav-links li:not(.active) a::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 18px; right: 18px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.2s;
  border-radius: 1px;
}
.nav-links li:not(.active) a:hover::after { transform: scaleX(1); }

/* ── Hamburger (mobile only) ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 6px;
}
.hamburger .bar {
  display: block;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.hamburger .bar:nth-child(1) { width: 100%; }
.hamburger .bar:nth-child(2) { width: 70%; }
.hamburger .bar:nth-child(3) { width: 45%; }
.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 100%; }
.hamburger.open .bar:nth-child(2) { opacity: 0; }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 100%; }

/* ── Mobile drawer ── */
.mobile-drawer {
  display: none;
  position: sticky;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  background: var(--charcoal-3);
  z-index: 299;
  border-top: 2px solid var(--orange);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.mobile-drawer.open {
  display: block;
  animation: drawerIn 0.22s ease forwards;
}
.mobile-drawer ul { list-style: none; margin: 0; padding: 8px 0; }
.mobile-drawer ul li a {
  display: block;
  padding: 13px 28px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-left: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.mobile-drawer ul li a:hover,
.mobile-drawer ul li.active a {
  color: var(--white);
  border-left-color: var(--orange);
  background: rgba(244,92,37,0.08);
}

@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Page offset ── */
body { padding-top: 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .top-bar-left span:last-child { display: none; }
}
@media (max-width: 560px) {
  .top-bar { display: none; }
  .main-nav-inner { padding: 0 16px; }
}
