/* ---------------------------------------------------- */
/* NAVIGATION SYSTEM — FULL EXTRACTED VERSION           */
/* ---------------------------------------------------- */

/* Zen Dots override for navbar elements */
.navbar,
.nav-links a,
.hamburger,
.hamburger span {
  font-family: 'Zen Dots', sans-serif !important;
}

/* NAVBAR WRAPPER */
.navbar {
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.6rem 3rem;
  backdrop-filter: blur(8px);
}

/* NAV CONTAINER */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 !important; /* No gap between logo + hamburger */
}

/* LOGO (Responsive, removes SVG padding) */
.logo img {
  width: 250px;
  height: auto;
  object-fit: cover;
  object-position: left;
}

@media (max-width: 992px) {
  .logo img { max-width: 130px; }
}
@media (max-width: 600px) {
  .logo img { max-width: 110px; }
}
@media (max-width: 400px) {
  .logo img { max-width: 95px; }
}

/* DESKTOP NAV LINKS */
.nav-links ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--color-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--hover-color);
}

/* HAMBURGER BUTTON */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  margin: 0 !important;    /* Fix spacing */
  padding: 0 !important;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3.5px;
  background: var(--color-light);
  border-radius: 6px;       /* Zen Dots style */
  transition: 0.3s ease;
}

/* HAMBURGER ACTIVE (turns into X) */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ---------------------------------------------------- */
/* MOBILE NAVIGATION — FULLSCREEN FIXED MENU            */
/* ---------------------------------------------------- */
@media (max-width: 768px) {

  /* Reduce navbar padding on mobile */
  .navbar {
    padding: 1.6rem 1.2rem;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
  }

  /* FULL-SCREEN DROPDOWN */
  .nav-links {
    position: fixed;        /* <-- THIS FIXES YOUR GAP */
    top: 70px;
    left: 0;
    width: 100vw;
    max-width: none !important;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 9999;
  }

  /* OPEN STATE */
  .nav-links.open {
    max-height: 100vh;     /* Full slide-down height */
  }

  /* Vertical stacked links */
  .nav-links ul {
    flex-direction: column;
    gap: 1.8rem;
    padding: 2rem 0;
    margin: 0;
    list-style: none;
  }

  /* Center links */
  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
  }
}
