<nav id="mainNav">
  <div class="nav-inner">
    <?php include __DIR__ . '/../assets/logo.php'; ?>
    <ul class="nav-links">
      <li><a href="#home">Home</a></li>
      <li><a href="#about-intro">About</a></li>
      <li><a href="#services">Services</a></li>
      <li><a href="#projects">Projects</a></li>
      <li><a href="#portfolio">Portfolio</a></li>
      <li><a href="#contact" class="nav-cta">Request a Quote</a></li>
    </ul>
    <button class="hamburger" id="hamburger" aria-label="Open menu">
      <span></span><span></span><span></span>
    </button>
  </div>
</nav>

<div class="mobile-nav" id="mobileNav">
  <button class="mobile-nav-close" id="mobileClose">✕</button>
  <a href="#home" onclick="closeMobileNav()">Home</a>
  <a href="#about-intro" onclick="closeMobileNav()">About</a>
  <a href="#services" onclick="closeMobileNav()">Services</a>
  <a href="#projects" onclick="closeMobileNav()">Projects</a>
  <a href="#portfolio" onclick="closeMobileNav()">Portfolio</a>
  <a href="#contact" onclick="closeMobileNav()">Contact</a>
</div>

<style>
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}
nav.scrolled {
  background: rgba(26,26,24,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(200,169,110,0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-image {
  height: 48px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--stone-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gold);
  color: var(--charcoal) !important;
  padding: 10px 24px;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light); color: var(--charcoal) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 40px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0;
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .logo-image { height: 40px; }
}
</style>