/* =========================
   NAV (GLOBAL BASE)
========================= */

/* nav container */
.nav-area {
  flex: 1;
  display: flex;
  height: 100%;
}

.menu {
  display: flex;
  width: 100%;
  height: 100%;
  background: #333;
}

/* equal width items */
.menu > button,
.menu > .dropdown {
  flex: 1;
}

/* buttons */
.menu button {
  font-family: "Georgia", serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.menu button,
.menu-item {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 12px;

  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

.menu button:hover,
.menu-item:hover {
  background: #555;
}

/* =========================
   DROPDOWN
========================= */

.dropdown {
  position: relative;
}

.dropdown .menu-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-content {
  display: none;
  position: absolute;

  top: 100%;
  left: 0;

  width: 100%;
  background: #333;
  z-index: 1000;
  border-top: 2px solid #a88a4a;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content button {
  width: 100%;
  text-align: left;
  padding: 10px;

  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.dropdown-content button:hover {
  background: #555;
}


/* =========================
   MENU TWEAKS
========================= */

.menu button, 
.menu-item {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  font-variant: small-caps;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.menu button:hover,
.menu-item:hover {
  background: #444;
  border-bottom: 2px solid #a88a4a;
}

/* =========================
   BURGER MENU
========================= */

.burger {
  display: none;

  width: 50px;
  height: 100%;

  cursor: pointer;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;

  margin-left: auto;
}

.burger span {
  width: 22px;
  height: 2px;
  background: white;
  display: block;
}

@media (max-width: 700px) {

  .burger {
    display: flex;
  }

  .nav-area {
    position: absolute;
    top: 50px;
    right: 0;

    width: 220px;

    background: #333;

    flex-direction: column;

    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .nav-area.open {
    transform: translateX(0);
  }

  .menu {
    flex-direction: column;
    height: auto;
  }

  .menu > button,
  .menu > .dropdown {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
  }

  .menu button,
  .menu-item {
    height: 45px; 
    justify-content: flex-start;

    padding-left: 16px;

    font-size: 15px;
  }

  .dropdown {
    position: relative;
    display: block;
  }

  .dropdown-content {
    position: absolute;
    top: 0;
    left: auto !important; 
    right: 100%;

    margin-top: 0;
    border-top: none;

    width: 200px;
    background: #333;

    display: none;
  }

  .dropdown-content button {
    height: 45px;
    padding-left: 14px;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }
}