/* Reset browser default spacing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navbar {
  background-color: #005f69;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
}

.navbar-container {
  display: flex;
  width: 100%;
  max-width: 1300px;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;

}

.logo img {
  height: 60px;
  max-height: 60px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: white;
  padding: 4px 0;

  font-weight: 500;
  transition: color 0.2s ease;
  font-size: 20px;
  font-weight: 600;
}

.nav-links a:not(#contact-button):after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.nav-links a:not(#contact-button):hover::after {
  width: 100%;
}


#contact-button {
  margin-left: 30px;
  background-color: #1a1a1a; /* dark gray/black */
  color: #ffffff;
  padding: 12px 24px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-button:hover {
  background-color: #333;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

/* Drop down button */

/* Position and hide dropdown by default */
.dropdown {
  position: relative;
}

.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 6px;
  z-index: 1000;
  padding: 0.5rem 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  list-style: none;
}

/* Show menu when parent has class `open` */
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown link styles */
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  list-style: none;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
  color: #000;
}

/* Arrow icon style */
#navbar-arrow {
  font-size: 0.75em;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.dropdown.open #navbar-arrow {
  transform: rotate(180deg);
}