.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
 /* Make dropdown arrow smaller */
.nav-links .arrow {
  font-size: 10px;   /* smaller size than text */
  margin-left: 4px;  /* little space from text */
  vertical-align: middle;
}

.nav-links a {
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--fka-red);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--fka-red); }
.nav-links a:hover::after { width: 100%; }



/* Arrow only */
.arrow {
  font-size: 0.6em;
  margin-left: 4px;
  position: relative;
  top: -1px;
}

/* Dropdown */
.dropdown {
  position: relative;
}


/* Dropdown menu */
/* keep menu flush under parent */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;     /* 👈 directly under parent */
  left: 0;
  min-width: 200px;
  list-style: none;
  padding: 0 0 0 0;   /* 👈 extra top padding creates visual gap */
  margin: 0;               /* no margin gap */
  border-radius: 6px;
  z-index: 1000;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* optional: hide the padding background so it looks like real space */
.dropdown-menu::before {
  content: "";
  display: block;
  height: 8px;   /* 👈 fake gap */
  background: transparent;
}

/* Dropdown menu links */
.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #000;                  /* Black text */
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}

/* Hover effect */
.dropdown-menu li a:hover {
  background: #f2f2f2;          /* Light gray highlight */
  color: var(--fka-red);        /* Optional: red text on hover */
  border-radius: 4px;
}





/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}


/* hide by default (desktop) */
.menu-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border: none;
  background: #d7d5d5;
  border-radius: 6px;
  border: 1px solid #cbcccd;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  /* center the glyph inside the square */
  display: none; /* keep this, will be overridden in media */
  align-items: center;
  justify-content: center;
  line-height: 1;
  user-select: none;
}



/* show on mobile / small screens: use max-width */
@media (max-width: 420px) {
  .menu-toggle {
    display: inline-flex;   /* use flex so ☰ is centered */
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
  }
}
 
@media (max-width: 600px) {
  .menu-toggle {
    display: inline-flex;   /* use flex so ☰ is centered */
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
  }
}

/* Show dropdown on hover (desktop) */
@media (min-width: 901px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }

 

}

/* ✅ Mobile Responsive Dropdown */
@media (max-width: 900px) {
 
     /* Hide desktop nav links by default */
  .nav-links {
    display: none;
  }

    .menu-toggle {
    display: inline-flex;   /* use flex so ☰ is centered */
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
  }
   


  /* Show when active (mobile menu open) */
  .nav-links.active {
    display: flex;
    position: absolute;   /* instead of fixed */
    top: 100%;            /* place it below the header */
    right: 0;
    flex-direction: column;
    background: #fff;
    width: 220px;
    height: auto;         /* only take needed height */
    padding: 20px;
    gap: 20px;
    box-shadow: -2px 0 6px rgba(0,0,0,0.1);
    z-index: 999;         /* keep above content but below toggle */
  }



  .dropdown-menu {
    position: static;    /* not absolute */
    box-shadow: none;
    border-radius: 0;
    background:  #ffffff;
    padding-left: 16px;  /* indent */
  }

  .dropdown-menu li a {
    color: #374151;      /* match nav text */
    padding: 6px 0;
  }

  .dropdown-menu li a:hover {
    background: none;
    color: var(--fka-red);
  }

  /* Show menu when user taps the parent */
  .dropdown.active .dropdown-menu {
    display: block;
  }
}

